Blog
Fixing 'Too many open files' while trying to run an intensive shell script
All I wanted to do was run a shell script that traversed a list of ~25,000 Elasticsearch indexes and operated on them. Terminal would not allow it.
Here's how to temporarily figure that one out...
`ulimit -n 2048` will set the open files count for the current Terminal session. This will reset once the session is exited.
Awesome!