in my experiments with Zookeeper I have tried to have 1024 clients
connected simultaneously to a single server. When that happens i get a
"Too many open files" exception on the server side. It is my
understanding that this is the NR_OPEN limit imposed by the kernel.
Although it is possible to increase this limit, this is only a static
solution, that could fail under a spike in the load.
Is there a dynamic workaround for this problem? Given that sessions are
statically linked to the open sockets, it seems to me that there is no
way we can manipulate the existing sockets (e.g. by closing them in a
- NIO: too many open files Manos Kapritsos