Mindful Technology
Published in

Mindful Technology

“Too many open files” limit/ulimit on Mac OS X

Ran into this often enough that I just wanted to summarize the steps I took based on this post to permanently increase the limit of number of open files on my Mac.

Before I started (and after getting the error):

Steps To Fix

  • Become root (let’s not argue right now …): $ sudo su — root
  • Create /Library/LaunchDaemons/limit.maxfiles.plist with this content; file will (must) be owned by root, which is important:
  • If you also want the number of allowed processes increased, create
    /Library/LaunchDaemons/limit.maxproc.plist with content:
  • Restart your computer!

After:

--

--

Thoughts on building delightful applications that add meaningful value to people’s lives.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store