Skip to content

Instantly share code, notes, and snippets.

Created August 13, 2010 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/522344 to your computer and use it in GitHub Desktop.
Save anonymous/522344 to your computer and use it in GitHub Desktop.
$ /sbin/sysctl fs.file-max net.core.somaxconn net.core.rmem_max net.core.wmem_max net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_fin_timeout
fs.file-max = 2336262
net.core.somaxconn = 16384
net.core.rmem_max = 8388608
net.core.wmem_max = 6553600
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 65536 6553600
net.ipv4.tcp_fin_timeout = 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment