Created
December 13, 2013 08:19
-
-
Save ijin/7941262 to your computer and use it in GitHub Desktop.
Server Festa 2013 Autumn base kernel tuning
This file contains hidden or 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
fs.file-max = 1048576 | |
net.ipv4.ip_local_port_range = 1024 65535 | |
net.core.wmem_max = 16777216 | |
net.core.rmem_max = 16777216 | |
net.ipv4.tcp_wmem = 4096 65536 16777216 | |
net.ipv4.tcp_rmem = 4096 87380 16777216 | |
net.core.somaxconn = 8192 | |
net.core.netdev_max_backlog = 8000 | |
net.ipv4.tcp_max_syn_backlog = 8192 | |
net.ipv4.tcp_synack_retries = 3 | |
net.ipv4.tcp_retries2 = 5 | |
net.ipv4.tcp_keepalive_time = 900 | |
net.ipv4.tcp_keepalive_probes = 3 | |
net.ipv4.tcp_keepalive_intvl = 15 | |
net.nf_conntrack_max = 1000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment