Skip to content

Instantly share code, notes, and snippets.

@monolithed
Created June 14, 2014 08:43
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 monolithed/a49df7a53ab1b714028f to your computer and use it in GitHub Desktop.
Save monolithed/a49df7a53ab1b714028f to your computer and use it in GitHub Desktop.
# 256 file limit on Mac OS X:
# http://superuser.com/a/514049
echo 'kern.maxfiles=20480' | sudo tee -a /etc/sysctl.conf
echo -e 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf
echo 'ulimit -n 4096' | sudo tee -a /etc/profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment