Skip to content

Instantly share code, notes, and snippets.

@shiv19
Created December 16, 2017 15:23
Show Gist options
  • Save shiv19/00cb28ad2db1405c9e9d0db7062fa11d to your computer and use it in GitHub Desktop.
Save shiv19/00cb28ad2db1405c9e9d0db7062fa11d to your computer and use it in GitHub Desktop.
ENFILE file table overflow error mac os
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment