Created
September 1, 2015 20:49
-
-
Save mhupman/64f893c9b578f59b24eb to your computer and use it in GitHub Desktop.
Increase ulimit on Yosemite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: http://blog.mact.me/2014/10/22/yosemite-upgrade-changes-open-file-limit | |
# Add the following to your to ~/.bash_profile | |
ulimit -n 65536 65536 | |
# Run the following commands in the terminal | |
$ echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf | |
$ echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf | |
$ sudo sysctl -w kern.maxfiles=65536 | |
$ sudo sysctl -w kern.maxfilesperproc=65536 | |
$ ulimit -n 65536 65536 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment