Skip to content

Instantly share code, notes, and snippets.

@joseche
Created October 1, 2015 22:17
Show Gist options
  • Select an option

  • Save joseche/61eefe9f60dbaee7f4ac to your computer and use it in GitHub Desktop.

Select an option

Save joseche/61eefe9f60dbaee7f4ac to your computer and use it in GitHub Desktop.
Mac OS fix ulimit open files
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