Disk space Critical in "/" and "/var/tmp"
Hello,
Often I'm getting two emails like the ones below:
45055
45059
However, when I check the server I do not find anything abnormal.
And I suspect it might be something creating a large file and erasing soon then, but I do not know how to check this out.
Is there anything I can do to check this?
-
Below are some Munin statistics (I marked with an arrow the exact moment I received the email): 45083 45071 45075 45079 45087 Remembering that munin updates every 5 minutes, so the "disk usage" should not have noticed the problem. 0 -
Hello, You'd need to access the /var/tmp partition when the usage is actually high in order to use the "du" utility to determine what's taking up the space. Or, setup a cron job that checks the /var/tmp partition every few minutes and sends you the results until you are able to determine the source of the usage. Here's an example of a command to check the space: du --max-depth=1 /var/tmp | sort -n | awk 'BEGIN {OFMT = "%.0f"} {print $1/1024,"MB", $2}'
Thank you.0 -
Thank you Michael! I'm going to run this script every minute and save it to a log file. I post here as soon as I find out what this is. 0
Please sign in to leave a comment.
Comments
3 comments