Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-20-2010, 08:13 AM   #1
Registered: Sep 2004
Location: London, UK
Posts: 95

Rep: Reputation: 15
/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?
Old 10-20-2010, 09:11 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What does
du -skx /tmp

And there may be deleted files in there that are still in use. The disk space is not freed until the files are closed.
Old 10-20-2010, 09:20 AM   #3
Registered: Sep 2004
Location: London, UK
Posts: 95

Original Poster
Rep: Reputation: 15
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..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't login, says tmp directory full but tmp file is empty! Could be linked to MySQL? bethanlowder Fedora 7 09-25-2009 08:17 AM
/tmp directory is full? Moses420ca Linux - Newbie 13 01-21-2005 08:48 PM
/tmp is full... benny Linux - Newbie 4 12-10-2003 05:59 AM
/tmp/ is full (so it sayz) the Linux - Newbie 5 04-03-2003 09:15 AM
My /tmp is full FNC Linux - General 3 06-05-2001 04:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration