Skip to content

Instantly share code, notes, and snippets.

@komly
Forked from ry/fix_macintosh_portrange.sh
Created January 4, 2017 02:52
Show Gist options
  • Save komly/82db031d41f8677fbeb77e2f1d913601 to your computer and use it in GitHub Desktop.
Save komly/82db031d41f8677fbeb77e2f1d913601 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