-
Notifications
You must be signed in to change notification settings - Fork 154
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
Memory (and Handle) leak on Windows Server 2016 #140
Comments
Yes, If you cannot compile |
Thanks, I'd like to do it so I can help fix any future issues. I'm guessing it's only an issue on Windows as it's a handle leak, how do I build the Windows exe from source? There's only details for Mac or Linux on the README. |
I'm building the Windows release on a Linux machine using Alternatively, you could try to run the Docker command directly, like this:
|
Hi, I can't pull the docker image:
I've tried for three days now :( Usually this limit is reset after 6 hours. Do you have an automated process that is using it up every day? |
Oh, sorry, copy-and-paste error. The latest image is |
Same issue unfortunately:
|
When I saw an error related to I've never hit this limit, it's actually the first time I'm seeing this. My understanding is that this is a limit per client, so if you hit that limit there must be something pulling more than 100 images every 6 hours on your machine, not on my machine. I just removed the image locally and pulled it again with Meanwhile I'm working on a long running load test for |
Hi, here's a couple of heap snapshots (run |
Ok, I've taken another look and it seems that the memory leak may not be in your code, it could be in the prometheus client library for go: https://github.com/prometheus/client_golang/releases (according to pprof) So it could be this issue: prometheus/client_golang#784 You're using version 1.7.1 (pre the above issue) so I'm going to try rebuilding the code with version 1.9.0 and see if the leak goes away. UPDATE: Nope, no joy. |
Thanks a lot for your work on this. I took a look at the heap snapshots, but as you said there's nothing pointing to a memory leak there. I'll take a deeper look into this as well and keep you updated. |
I'm running grok exporter on Windows Server 2016 and seeing a memory leak:
It's leaking 75MB a day, which is about 1 GB every two weeks.
Here's my config (sanitized):
Please can you let me know if there's anything I can do to investigate this memory leak further and pinpoint the cause of it? Would pprof help...? https://github.com/google/pprof
The text was updated successfully, but these errors were encountered: