Hi, same error here on multiple VMs with different kernels:
# uname -r
5.15.0-82-generic
5.15.0-60-generic
# lsb_release -a
Distributor ID: Ubuntu
Description:Ubuntu 22.04.1 LTS
Release:22.04
Codename: jammy
# Tomcat ver
9.0.58
I found it in tomcat9's catalina.out logs:
Ran into this today on one of our pods running on Intel NUC, app was running
camunda-run engine on k3s pod
2023-06-17 12:42:18
at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
2023-06-17 12:42:18
at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:129)
In Tomcat versions 9.0.56 to 9.0.58, this message was sometimes emitted
in error; this was fixed in 9.0.59. Since 9.0.63, the log message also
explicitly recommends to use Kernel 5.10 or later, but I am not seeing
that in any of the logs reported here, so these Tomcat versions must be
older than
FWIW, the fix mentioned earlier is indeed in Kernel 5.10-RC6 and later:
https://github.com/torvalds/linux/commit/01770a166165738a6e05c3d911fb4609cc4eb416
But if people are hitting it with e.g. a 5.15 Kernel, then... that fix
didn't fix it ;)
--
You received this bug notification because you are
Issued occured at 2023-02-26 on a fully patched Ubuntu Jammy (22.04).
System #1:
2023-02-26 15:35:56.996ZInfotomcat9 java.io.IOException: Duplicate
accept detected. This is a known OS bug. Please consider reporting that you are
affected:
The issue has been reproduced on fully patched versions of Ubuntu 22.04
as well.
nov. 30 06:42:04 sd-170774 tomcat9[395629]: java.io.IOException: Duplicate
accept detected. This is a known OS bug. Please consider reporting that you are
affected:
I have the same bug on AWS Ubuntu fully patched. The error was reported
once by a Java EE application under load, ~250 requests/min.
java -version
openjdk version "17.0.4" 2022-07-19
OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-120.04,
Hi Christopher,
I came across this bug on 5.10.124 ( Amazon Linux 2 on AWS ECS ).
Perhaps it was fixed on a later version?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1924298
Title:
The same bug is reproducible on AWS EKS 1.23
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1924298
Title:
accept returns duplicate endpoints under load
Status in Linux:
New
Status
Hello,
I'm having same issue on CentOS7 host with Dockerized Ubuntu 20.04.4
LTS. The container is running a tomcat application Liferay.
20-Jun-2022 05:46:35.598 SEVERE [http-nio-8080-Acceptor]
org.apache.tomcat.util.net.Acceptor.run Socket accept failed
java.io.IOException: Duplicate
I wrote to Ricardo Diaz & Eric Dumazet to ask if the patch for this bug
would be backported and it looks like the fix was made for the Linux
stable kernels very recently: https://www.spinics.net/lists/stable-
commits/msg244651.html
Eric Dumazet also mentioned that:
"the bug only happens if
I wrote to Ricardo Diaz & Eric Dumazet to ask if the patch for this bug
would be backported and it looks like the fix was made for the Linux
stable kernels very recently: https://www.spinics.net/lists/stable-
commits/msg244651.html
Eric Dumazet also mentioned that:
"the bug only happens if
Hi Mark,
Thanks for the reply and confirmation.
I was talking to a co-worker today about this bug and they pointed out
that even though it is fixed in the newer Linux kernel versions, Ubuntu
20.04 and 16.04 are under LTS until April 2025 and April 2023
respectively.
It might be good to leave
Christopher,
Thank-you for the work you have put into researching this. It is really
appreciated.
The system I originally used to reproduce this bug has since been updated to:
linux-image-5.13.0-40-generic 5.13.0-40.45~20.04.1
I have just attempted to reproduce the issue and I have been unable
After spending some time I think I have narrowed down the bug fix to
Linux kernel 5.10-rc6.
The bug reproed on Ubuntu with kernel 5.10-rc4 but not on 5.10-rc6.
Here is a diff of the kernel sources between those two versions:
We have been hitting this bug quite often while running Tomcat 8.5 on
Amazon AWS Linux 2 with a kernel of 4.14.268-205.500.amzn2.x86_64
I wanted to see if the bug could be reproduced using an updated kernel
so I attempted to repro it using the server code and methodology
provided by Mark Thomas
I am impacted by this bug as well, as reported in my Tomcat 9-based
application logs:
[2022-04-18 21:45:44.764] ERROR [http-nio-9083-Acceptor ]
org.apache.tomcat.util.net.Acceptor Socket accept failed
java.io.IOException: Duplicate accept detected. This is a known OS bug.
Please
Ohhh ... this was not intelligent at all, what I just wrote.
(This reads like Spring has the issue and not the OS in my case ... although I
believe the OS has the issue)
Sorry for the confusion. If I can reproduce it I will.
(Note: Editing/Deleting my prev. comment is not possible although at
Hi,
I am pretty sure that this bug also effects me.
Im running a Spring application on Ubuntu 20.04
It is not easy for me to execute the reproduce steps, because I only have
limited access to the OS.
The reason why I am pretty sure is because I have the same situation as
described here for the
Not sure if this is useful, but running the test with WSL and Ubuntu
20.04.3 LTS
2 "console windows" running the wrk at the same time.
This is how the server failed
Listening on port
pthread_create: Cannot allocate memory
I realize this is WSL and not native Windows. We have spent about
Thanks for taking the time to report this bug and helping to make Ubuntu
better. We appreciate the difficulties you are facing, but this appears
to be a "regular" (non-security) bug. I have unmarked it as a security
issue since this bug does not show evidence of allowing attackers to
cross
We are seeing this error on Windows Server 2019
Jan 21, 2022 10:30:21 AM org.apache.tomcat.util.net.AprEndpoint setSocketOptions
SEVERE: Error allocating socket processor
java.io.IOException: Duplicate accept detected. This is a known OS bug. Please
consider reporting that you are affected:
Amazon Linux is affected as well.
Operating System: Amazon Linux 2
Kernel: Linux 4.14.256-197.484.amzn2.aarch64
Architecture: arm64
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment Temurin-17+35 (build 17+35)
OpenJDK 64-Bit Server VM Temurin-17+35 (build 17+35, mixed mode, sharing)
** Also affects: linux
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1924298
Title:
accept returns duplicate endpoints under load
Status in
** Information type changed from Public to Public Security
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1924298
Title:
accept returns duplicate endpoints under load
Status in linux
Arch Linux is also affected.
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
Memory: 14,6 GiB of RAM
Graphics
CentOS version of this bug report:
https://bugs.centos.org/view.php?id=18383
** Bug watch added: bugs.centos.org/ #18383
https://bugs.centos.org/view.php?id=18383
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
I get the same issue on "CentOS Linux 7.9.2009 (Core)". My Spring
(embedded tomcat application) throws the following message.
2021-12-25 08:38:31,250 ERROR | https-jsse-nio-18443-Acceptor |
org.apache.tomcat.util.net.Acceptor | Socket accept failed
The issue has been reproduced on fully patched versions of Ubuntu 21.10
as well.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1924298
Title:
accept returns duplicate endpoints under
29 matches
Mail list logo