tutt

Well-Known Member
PartnerNOC
Apr 16, 2003
46
0
156
On 2 of my WHM servers now, I am seeing the /tmp partition fill up to 100% according to "df". However, when I take a look and use the "du" utility, I am seeing a tiny amount of space used. I even resized one of the partitions to over 4GB and it still fills up but shows no signs of actually being full. I can go through the files in it and see not one file over maybe 100K and a total of only 10 or 20 files. I AM using the /usr/tmpDSK securetmp script from cPanel. When I reboot the server, all is OK, but how can I see what is taking up the space???
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Two possibilities:

1. The virtual partition created with securetmp is corrupt and you need to delete and recreate it

2. Deleted files are still open in /tmp and will count against the disk space. You can check for those with:

lsof | grep /tmp
 

tutt

Well-Known Member
PartnerNOC
Apr 16, 2003
46
0
156
Is there a way to forcibly removed the open but deleted files?