Skip to content
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

Buggy Discovery behavior #4914

Closed
johnskopis opened this Issue Nov 26, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@johnskopis
Copy link

johnskopis commented Nov 26, 2018

Sorry for the terrible bug report. I don't have more time to spend on this and it's not incredibly critical.

  1. Seems the Discovery instance (at least for marathon) does not close response so underlying transport leaks sockets. This was observed on a server trying to scrape an endpoint returning 5xx errors. After some period of time you can observe many sockets in CLOSE_WAIT state

  2. After removing the faulty Discoverer from config and reloading the leaked sockets are not cleaned up (why?)

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Nov 26, 2018

Which version of Prometheus is it?

@xjewer

This comment has been minimized.

Copy link
Contributor

xjewer commented Nov 26, 2018

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Nov 26, 2018

Yep I see the bug now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.