Created
May 25, 2016 16:13
-
-
Save sorz/2c9dc3b2233255b97e2d0b102254f2d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vm.panic_on_oom=1 | |
kernel.panic=10 | |
# protect against tcp time-wait assassination hazards | |
net.ipv4.tcp_rfc1337 = 1 | |
net.ipv4.conf.all.accept_redirects = 0 | |
net.ipv4.ip_forward = 1 | |
net.ipv4.tcp_fastopen = 3 | |
net.core.wmem_max = 12582912 | |
net.core.rmem_max = 12582912 | |
net.ipv4.tcp_rmem = 10240 87380 12582912 | |
net.ipv4.tcp_wmem = 10240 87380 12582912 | |
net.ipv4.tcp_mtu_probing = 1 | |
net.ipv4.tcp_base_mss = 1024 | |
net.ipv4.tcp_congestion_control = westwood |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment