Pick a workload and hardware. Get a commented /etc/sysctl.d file with values sized to your machine.

Workload
/etc/sysctl.d/99-sysctl-si.conf

  

Before you apply

    Apply and verify

    • Save the file, then run sudo sysctl --system
    • Check a value: sysctl net.core.somaxconn
    • Test on a staging machine first. Defaults vary by kernel version.

    A free sysctl.conf generator and Linux kernel tuning reference

    Linux ships with cautious kernel defaults. A busy web server, database or Kubernetes node usually needs different TCP buffers, connection queues, memory and file limits. sysctl.si turns your RAM, network speed and expected connections into a commented /etc/sysctl.d file, so you start from sensible values instead of copying random snippets.

    Who it is for

    Sysadmins and SREs

    Set up new servers fast. Tune TCP, net.core.somaxconn and file limits for high-traffic Linux hosts.

    DevOps and platform engineers

    Prepare Docker and Kubernetes nodes: ip_forward, conntrack size, vm.max_map_count and inotify limits.

    Database administrators

    Tune vm.swappiness, dirty page ratios and PostgreSQL huge pages. Fix the Redis overcommit warning.

    Security engineers

    Apply a Linux server hardening baseline: kernel pointer restrictions, ptrace scope, BPF limits and network redirects.

    Developers and home labbers

    Fix inotify watch limit errors, run self-hosted services, and learn what each kernel parameter does.

    What you can do here

    Generate a tuned config for web servers, databases, caches and container hosts. Look up kernel parameters with defaults and typical values. Audit your existing sysctl -a output against a suggested profile to spot missing or unusual settings. Everything runs in your browser, and nothing you paste is sent anywhere.

    Frequently asked questions

    Where do I put sysctl settings on Linux?

    Save them in a file such as /etc/sysctl.d/99-custom.conf and run sudo sysctl --system. Files in that folder are loaded at every boot.

    What is a good vm.swappiness value for a database server?

    Many database servers use 1 to 10 so the kernel keeps data in RAM. The Linux default is 60. Test with your own workload.

    How do I fix the inotify watch limit reached error?

    Raise fs.inotify.max_user_watches, for example to 524288, then reload with sudo sysctl --system.

    How do I enable BBR congestion control?

    Set net.core.default_qdisc = fq and net.ipv4.tcp_congestion_control = bbr. You need kernel 4.9 or newer with the tcp_bbr module.

    Are the generated values safe for production?

    They are starting points based on common practice. Test on a staging machine, measure before and after, and read the notes shown with your config.