-
Notifications
You must be signed in to change notification settings - Fork 64
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
tmp directory not being cleared #179
Comments
@caleb15 Any chance that container has been crashing and restarting multiple times? (there is a condition when the collector crashes that can leave behind files) |
Maybe? Status says the image has only been up for 35 minutes. Is there someplace where I can see how many times / when the image has crashed? 🤔 |
@caleb15 You could look in "docker ps -a" and then run "docker logs" on any instances that have run recently but have been stopped. Also, in case it's an out of memory condition, review any memory limit settings you have on the container, or memory limits on the system overall. For some systems with high log volume we've seen issues with high memory usage during log parsing. |
nvm, I found it: https://serverfault.com/a/909267/512362 You're exactly right, looks like the container has been repeatedly dying from oom:
We only have so much memory :( I suppose we will need to buy more memory for our ec2 instance. I might suggest changing pganalyze to clear /tmp at start to avoid disk space piling up. Not sure if it's worth it to do that considering the root problem but maybe? Up to you. Feel free to close this. |
One of our containers has been a naughty naughty boy:
The /tmp directory has been growing steadily in size ever since march 18th, when we set a 2 gig memory limit on the container. Oddly it's just pganalyze-mirror-heavy that ran into the issue. The other mirrors are normal:
I'll leave the container alone for a bit in case you want to look into it. I'll have to delete the container soon so it doesn't take up all the space on the server.
The text was updated successfully, but these errors were encountered: