Created
June 19, 2014 19:42
-
-
Save cflynn07/07eecec890dfbc939a67 to your computer and use it in GitHub Desktop.
ulimit increase
This file contains 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
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 | |
sudo shutdown -r now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment