In our cluster, Divolte crashed with the error message "Too many open files".
[XNIO-1 Accept] ERROR [server]: Exception accepting request, closing server channel TCP server (NIO) <6a29ab6e>
java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
at org.xnio.nio.QueuedNioTcpServer.handleReady(QueuedNioTcpServer.java:467)
at org.xnio.nio.QueuedNioTcpServerHandle.handleReady(QueuedNioTcpServerHandle.java:38)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:561)
The user under which divolte runs has a userlimit of 1048576.
This number is equal to divolte.global.mapper.buffer_size inside the Divolte configuration. Is this value set by Divolte or is it better to modify this value in /etc/security/limits.conf?
I'm looking forward to your reaction...
Kind regards,
Peter