Skip to content

Instantly share code, notes, and snippets.

@sdogruyol
Created November 13, 2016 11:58
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 sdogruyol/a52c4492aab9fdccfb0b3e337e4688bc to your computer and use it in GitHub Desktop.
Save sdogruyol/a52c4492aab9fdccfb0b3e337e4688bc to your computer and use it in GitHub Desktop.
sysctl -w fs.file-max=12000500
sysctl -w fs.nr_open=20000500
ulimit -n 20000000
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
sysctl -w net.ipv4.tcp_rmem='1024 4096 16384'
sysctl -w net.ipv4.tcp_wmem='1024 4096 16384'
sysctl -w net.core.rmem_max=16384
sysctl -w net.core.wmem_max=16384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment