Skip to content

Instantly share code, notes, and snippets.

@carlos8f
Last active December 19, 2018 12:34
Show Gist options
  • Save carlos8f/3557993 to your computer and use it in GitHub Desktop.
Save carlos8f/3557993 to your computer and use it in GitHub Desktop.
how to raise file descriptor limits on mac os x
$ ulimit -n
2560
$ sudo su
$ echo "limit maxfiles 10000000 10000000" >> /etc/launchd.conf
(now restart mac os)
$ ulimit -n
10000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment