Created
October 11, 2018 14:00
-
-
Save dimorphic/e4469844e19448b05811169767e55d63 to your computer and use it in GitHub Desktop.
OSX increase file limit
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=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 | |
echo "ulimit -n 65536 65536" >> .bashrc | |
source .bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment