I'm getting the error message "Too many open files" and would like to look into ways on how we could increase the max open files limit( ulimit)
Unfortunately, there isn't a way to increase the max file descriptor limit. The limit is defined based upon the size of the dyno and is not something that can be adjusted. Current limits are as follows (please note that Heroku may change the values at any time without notice)
- Eco, Hobby, Standard-1X, Standard-2X, Private-S: 10000
- Performance-M, Performance-L, Private-M, Private-L, Shield-M, Shield-L: 1048576
The only way to get a higher limit is to use a larger dyno type.