Too Many Open Files?

Hi all,

We have a system that tanked last night, reporting:

14-Aug-2016 19:13:57.440 SEVERE [http-nio-8080-Acceptor-0] org.apache.tomcat.util.net.NioEndpoint$Acceptor.run Socket accept failed

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.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:687)

at java.lang.Thread.run(Thread.java:745)

Any ideas what the cause might be? The environment is Ubuntu 14.04, Tomcat 8, Java 8.

A cat /proc/sys/fs/file-maxreturns6556412 – and that system was physically restarted within the last week. I find it hard to believe that the web server would have 6,5 million files open in such a short period of time.

War is 2.23

OS is Ubuntu 14.04 LTS

Tomcat 8

Java 8

Kind Regards,

Jason Phillips

hisp

Information Systems / Infrastructure**
Health Information Systems Program