-
Notifications
You must be signed in to change notification settings - Fork 485
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
Socket closed but sends SYN_SENT after a few seconds #993
Comments
@ttcds Thank you for the test case but we'll need more information about the where the server and client is running on. What version of Linux and the kernel are you running? |
@trevorbernard I am using a Yocto build (dunfell) and using kernel 5.4.147. The situation is as follows:
|
What version of the Java SDK? |
Openjdk 17.0.10 |
@ttcds is the issue that there are extraneous |
I worked with the Teletask team and wasn't able to recreate this issue reliably but we did identify a Socket leak using the built in monitor API. Closing and will create a new issue. |
After closing a ZMQ.Socket like below (simplified code) a few seconds later a SYN_SENT is send which causes an underlying tcp socket to connect again. And when starting a new thread with a new ZMQ.Socket there are 2 tcp sockets open to the endpoint while the first one should have never reconnected again by itself.
Code
After a few disconnects and reconnects the output of netstat looks like this:
The text was updated successfully, but these errors were encountered: