https://bz.apache.org/bugzilla/show_bug.cgi?id=60035

            Bug ID: 60035
           Summary: java.io.IOException: Too many open files
           Product: Tomcat 8
           Version: 8.5.4
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: joe.stepow...@gmail.com

Upgraded from Spring Boot v1.3.6 to v.1.4.0, which in turn upgraded the
embedded tomcat container from 8.0.36 to 8.5.4.

We are now seeing a bunch of the following exceptions after the app has been
running for a number of hours:

2016-08-24 00:00:03.129 ERROR 15154 ---
[https-jsse-nio-172.30.72.54-30020-Acceptor-0] []
org.apache.tomcat.util.net.NioEndpoint   : 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:457)
        at java.lang.Thread.run(Thread.java:745)

Running lsof for the Spring Boot pid shows thousands of entries like the
following:

java    9694 xxx 1251u  sock                0,6       0t0 6636870 can't
identify protocol

Downgrading to embedded tomcat 8.0.36 (whilst remaining on Spring Boot 1.4.0)
fixes the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to