Too many open files



We are currently using Couchbase 1.8 with the version 1.2.2 of the Java client library. Occasionally, we have noticed that the the process that uses the Java client library complains of having too many open files. Using lsof on the running process, I can see 32000+ TCP connections from a random port ()e.g. 26355, 60057, 56180) to 11210 on the local host or to port 8091 on a different server in the cluster. It looks as though the Couchbase connections are not being closed correctly. Has anyone else seen this? Is it a known issue?



Can you check with netstat in which state they are? Can you also put more infos in here what happened to the cluster? failover, rebalance…?

You can also raise an issue here so we can follow up in a more structured manner: