java.io.IOException: Duplicate accept detected errors in Apache Tomcat logs
Issue
-
Apache/Tomcat drops new connections and records "duplication accept detected" in log (example):
java.io.IOException: Duplicate accept detected. This is a known OS bug. Please consider reporting that you are affected: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1924298 at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:545) ~[tomcat-embed-core-9.0.56.jar!/:?] at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:78) ~[tomcat-embed-core-9.0.56.jar!/:?] at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:129) [tomcat-embed-core-9.0.56.jar!/:?] at java.lang.Thread.run(Thread.java:750) [?:1.8.0_402]
Environment
- Red Hat Enterprise Linux (RHEL)
- Red Hat JBoss Web Server (JWS)
- Apache Tomcat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.