-
Notifications
You must be signed in to change notification settings - Fork 6
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
SpectatorD Does Not Clean Up Sockets After Timeouts #68
Comments
I cannot reproduce this condition on an Ubuntu Jammy system with a secondary
|
We had another two instances demonstrate this problem again, even if we cannot recreate it locally. The error pair log lines look like, as reported by
The slight difference here versus the repro attempt is that the actual connect duration is longer than the timeout, versus... not. In one of the cases, the Some commentary on cleaning up half-closed connections in libcurl:
|
A few attempts to dig into this further:
|
The solution for this is to implement proper curl-multi in #51. |
We saw an issue where one node had thousands of sockets in a
CLOSE_WAIT
state, created by the latest release version ofspectatord
. This particular node was in a state where networking reliability was affected - SSH connections were flaky and there were many timeouts whenspectatord
was attempting toPOST
to the Atlas backend.It looks like
spectatord
is not cleaning up sockets after a timeout is reached.This bug has probably been around for awhile.
The text was updated successfully, but these errors were encountered: