-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
error encoding and sending metric family - write: broken pipe #2387
Comments
Debug logs |
I found similar problem #1066 , but root cause of problem was losing connection because of collector scrape time was above scrape_timeout. |
This still looks generally like the Prometheus side of the scrape timing out and being closed from the that side. A number of the collectors look slower than I expect, is this system very heavily loaded?
You can try disabling some of these if you don't need them. Review the |
Hi @ventifus , thanks for answer. Yep, it's good idea to check and disable some of collectors, I'll try find out slowest and disabled them. p.s. |
Find out that was a network problem. 🫣 |
How did you determine that it was a network problem, where are there obvious logs that show it? |
Having the same issue now on two servers. Reasons are absolutely obscure to me. @bocmanpy how did you find out that was a network problem? |
That update after which the scraping changed so much included: update of linux kernel: linux-image-virtual (5.4.0.132.132) over (5.4.0.131.131) prometheus-node-exporter 1.4.0 - that night update did not touch this |
We have the same problem after an update only with a different k8s version:
One of our node exporter pods randomly loses connection with the message |
Host operating system: output of
uname -a
The problem is reproduced on several versions.
Linux 4.15.0-171-generic #180-Ubuntu SMP Wed Mar 2 17:25:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux 5.4.0-107-generic #121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version: output of
node_exporter --version
node_exporter command line flags
Are you running node_exporter in Docker?
No.
What did you do that produced an error?
Nothing, node-exporter working in normal mode.
What did you expect to see?
Stable working without broken-pipe errors.
What did you see instead?
The text was updated successfully, but these errors were encountered: