Skip to content

Instantly share code, notes, and snippets.

@ry
Created July 20, 2011 21:05
Show Gist options
  • Save ry/1095933 to your computer and use it in GitHub Desktop.
Save ry/1095933 to your computer and use it in GitHub Desktop.
#sudo sysctl -w net.inet.ip.portrange.first=32768
sudo sysctl -w net.inet.ip.portrange.first=12000
sudo sysctl -w net.inet.tcp.msl=1000
sudo sysctl -w kern.maxfiles=1000000 kern.maxfilesperproc=1000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment