Skip to content

Instantly share code, notes, and snippets.

@stanaka
Created August 13, 2010 04:57
Show Gist options
  • Save stanaka/522314 to your computer and use it in GitHub Desktop.
Save stanaka/522314 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 = 303065
net.core.somaxconn = 128
net.core.rmem_max = 131071
net.core.wmem_max = 131071
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
net.ipv4.tcp_fin_timeout = 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment