-
Notifications
You must be signed in to change notification settings - Fork 15
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
Possible memory leak #176
Comments
I just checked my machine and after turning it off and on its now stable at: 5fd5f000593a crate-prometheus-exporter 0.00% 43.88MiB / 15.51GiB 0.28% 72.1MB / 154MB 0B / 0B 11 |
Hello! I had it running for 12 hours, and the memory usage right now is at 11.6% of system memory:
I have the |
I have to shutdown everything to continue with my work, so I'm dumping all hoping it will help. I stopped prometheus-server, and after a while memory usage decreased a bit but then stayed there:
And 20+ minutes later:
I'm also attaching the metrics on different moments:
-- Noticed that memory usage is going down, but very slowly.. maybe we need a more aggressive GC? each command run manually over some minutes span:
|
Note that prometheus-server is stopped, nothing is connecting to the adapter, and the CPU usage is still a bit high (with some peaks, maybe GC?). I need to stop everything and move along, I'm sharing here the last metrics output before shutting it down. Hope it helps!! |
Updating all dependencies and go version made it so I could no longer quickly reproduce the memleak, but let's be careful, you never know with this things. I released 0.5.2 and will deploy it on a couple of long running machines that I have and let it be for a few days, let's see if it manifests. |
User at https://community.cratedb.com/t/disk-space-issues-on-prometheus-integration/1848/3 reports 85% memory usage, I checked out my own long running container and it was:
35%
Some other long running container was at 1.6/6GB ~25%
These last two findings are less than the users's 85% but still too much in my opinion and makes me think something is going on.
The text was updated successfully, but these errors were encountered: