Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save drconopoima/fff3813e8afb2384943d942b71419b3d to your computer and use it in GitHub Desktop.
Save drconopoima/fff3813e8afb2384943d942b71419b3d to your computer and use it in GitHub Desktop.
fs.file-max = 9223372036854775807
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 8192
fs.inotify.max_user_watches = 195047
fs.protected_fifos = 2
fs.protected_hardlinks = 1
fs.protected_regular = 2
fs.protected_symlinks = 1
fs.suid_dumpable = 2
fs.xfs.xfssyncd_centisecs = 3000
kernel.core_pattern = |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h
kernel.core_pipe_limit = 16
kernel.dmesg_restrict = 0
kernel.kexec_load_disabled = 0
kernel.kptr_restrict = 1
kernel.nmi_watchdog = 0
kernel.printk = 4 4 1 7
kernel.sched_rt_runtime_us = 950000
kernel.sysrq = 184
net.core.default_qdisc = pfifo_fast
net.core.netdev_max_backlog = 1000
net.core.optmem_max = 20480
net.core.rmem_default = 212992
net.core.rmem_max = 212992
net.core.somaxconn = 4096
net.core.wmem_default = 212992
net.core.wmem_max = 212992
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.send_redirects = 1
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.default.secure_redirects = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.tcp_adv_win_scale = 1
net.ipv4.tcp_congestion_control = cubic
net.ipv4.tcp_fastopen = 1
net.ipv4.tcp_notsent_lowat = 4294967295
net.ipv4.tcp_rfc1337 = 0
net.ipv4.tcp_rmem = 4096 131072 6291456
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_wmem = 4096 16384 4194304
net.ipv4.udp_rmem_min = 4096
net.ipv4.udp_wmem_min = 4096
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
net.ipv6.conf.default.use_tempaddr = 1
vm.dirty_background_ratio = 10
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500
vm.max_map_count = 65530
vm.page-cluster = 3
vm.swappiness = 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment