Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hollychen503/74c001b15bf9cf8636bc9c2e7a0b883d to your computer and use it in GitHub Desktop.
Save hollychen503/74c001b15bf9cf8636bc9c2e7a0b883d 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