LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /tmp full - but not full ? (https://www.linuxquestions.org/questions/linux-newbie-8/tmp-full-but-not-full-839249/)

turbo_acura 10-20-2010 07:13 AM

/tmp full - but not full ?
 
My server is showing as 95% full, but when I check any folders underneath and files, they add up to about only a few percentage of the space.

- /tmp - 2GB LUN
- currently using 1.8GB of the 2GB
- files in the directory add up to only 50MB (I've checked for hidden files as well.. 'ls -lah'


Anyway else of telling how /tmp can have so much usage when there appears there is hardly anything in it?

what will happen to the server if /tmp is full?

AlucardZero 10-20-2010 08:11 AM

What does
Code:

du -skx /tmp
return?

And there may be deleted files in there that are still in use. The disk space is not freed until the files are closed.

turbo_acura 10-20-2010 08:20 AM

i figured it out...

the command 'lsof |grep /tmp' showed me open files, some of which had been deleted, but still had orphan processes running. I deleted the processes and the disk space freed up to just 2% usage!

appreciate your quick reply and assistance though..


All times are GMT -5. The time now is 06:33 AM.