Github user nickva commented on the issue:
https://github.com/apache/couchdb-couch/pull/236
@davisp python has a way to check file descriptor limits, I am not sure
erlang has it:
```
In [9]: resource.getrlimit(resource.RLIMIT_NOFILE)
Out[9]: (65536, 65536)
In [10]:
```
But could do a sys command perhaps
```
os:cmd("ulimit -Hn").
"65536\n"
```
It would be interesting to be able to detect it and then make it a bit less
to allow for sockets. Or at least if set too low to warn user with a log
message or some similar thing.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---