Drive Critical: /dev/loop0 (/var/tmp) is 100% full

If you receive this message and are running linux, cpanel:
Drive Critical: /dev/loop0 (/var/tmp) is 100% full
don’t panic, run this at the command prompt:
df -m

Here is my output:

/dev/sda3 459804 8836 427235 3% /
/dev/sda1 99 17 78 18% /boot
tmpfs 2026 0 2026 0% /dev/shm
/usr/tmpDSK 485 13 447 3% /tmp

Note: du -s -h -x /* may work better for you…

Use the -x option with du to prevent searching mounted filesystems while examining the root partition

As you can see, I’m only at 3%, but there was something that chewed up a lot of space and was then removed. Most of the hosting companies will tell you to ignore it, just make sure that the tmp folder does have space…

You can use this command to find large deleted files that a process still has open by running the following command:
lsof | grep “deleted”

Look for the files that end with deleted and notice the process id – restart that process and disk space should return.

df simply checks the superblock but du will scan and add up all files it knows about.

Speak Your Mind