Skip to main content

Disk space Critical in "/" and "/var/tmp"

Comments

3 comments

  • Rodrigo Gomes
    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
  • cPanelMichael
    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
  • Rodrigo Gomes
    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.