Last active
March 12, 2018 09:50
-
-
Save adsl99801/c08222e4346385562ad93064fad37c94 to your computer and use it in GitHub Desktop.
etc/sysctl.conf
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 =9999999 | |
fs.nr_open =9999999 | |
net.core.netdev_max_backlog =4096 | |
net.core.rmem_max =16777216 | |
net.core.somaxconn =65535 | |
net.core.wmem_max =16777216 | |
net.ipv4.ip_forward =0 | |
net.ipv4.ip_local_port_range =1025 65535 | |
net.ipv4.tcp_fin_timeout =30 | |
net.ipv4.tcp_keepalive_time =30 | |
net.ipv4.tcp_max_syn_backlog =20480 | |
net.ipv4.tcp_max_tw_buckets =400000 | |
net.ipv4.tcp_no_metrics_save =1 | |
net.ipv4.tcp_syn_retries =2 | |
net.ipv4.tcp_synack_retries =2 | |
#net.ipv4.tcp_tw_recycle =1 | |
net.ipv4.tcp_tw_reuse =1 | |
vm.min_free_kbytes =65536 | |
vm.overcommit_memory =1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment