Skip to content

Tomcat IOException: Duplicate accept detected. This is a known OS bug. Please consider reporting that you are affected: #29609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elmodeer opened this issue Feb 1, 2022 · 2 comments
Labels
for: stackoverflow A question that's better suited to stackoverflow.com

Comments

@elmodeer
Copy link

elmodeer commented Feb 1, 2022

Version

spring boot v2.6.2 and spring cloud v2021.0.0

Environment
Linux alpine image on a pod.
JDK 11

Problem
I get this exception on some of my services and I want to know what is this and how harmful it is ?

23:27:45.148 [main] INFO  o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (https) with context path ''
  | 23:27:47.046 [main] INFO  o.a.c.i.engine.AbstractCamelContext - Routes startup (total:1 started:1)
  | 23:27:47.048 [main] INFO  o.a.c.i.engine.AbstractCamelContext -     Started route1 (jms://queue:inp.contentextractor.entry)
  | 23:27:47.049 [main] INFO  o.a.c.i.engine.AbstractCamelContext - Apache Camel 3.14.0 (camel-1) started in 2s228ms (build:622ms init:1s32ms start:574ms)
  | 23:27:47.061 [main] INFO  eu.hermes.esb.cloud.Application - Started Application in 25.305 seconds (JVM running for 27.737)
  | 23:28:20.356 [https-jsse-nio-8080-exec-4] INFO  o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
  | 23:28:20.357 [https-jsse-nio-8080-exec-4] INFO  o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
  | 23:28:20.359 [https-jsse-nio-8080-exec-4] INFO  o.s.web.servlet.DispatcherServlet - Completed initialization in 2 ms
  | 00:05:19.986 [https-jsse-nio-8080-Acceptor] ERROR org.apache.tomcat.util.net.Acceptor - Socket accept failed
  | 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)
  | at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:78)
  | at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:129)
  | at java.base/java.lang.Thread.run(Thread.java:834)
  | 05:20:49.981 [https-jsse-nio-8080-Acceptor] ERROR org.apache.tomcat.util.net.Acceptor - Socket accept failed
  | 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)
  | at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:78)
  | at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:129)
  | at java.base/java.lang.Thread.run(Thread.java:834)
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 1, 2022
@snicoll
Copy link
Member

snicoll commented Feb 1, 2022

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.

@snicoll snicoll closed this as completed Feb 1, 2022
@snicoll snicoll added for: stackoverflow A question that's better suited to stackoverflow.com and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 1, 2022
@bclozel
Copy link
Member

bclozel commented Feb 1, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com
Projects
None yet
Development

No branches or pull requests

4 participants