LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-20-2010, 07:13 AM   #1
turbo_acura
Member
 
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, 08:11 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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.
 
Old 10-20-2010, 08:20 AM   #3
turbo_acura
Member
 
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..
 
  


Reply



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 07:17 AM
/tmp directory is full? Moses420ca Linux - Newbie 13 01-21-2005 07:48 PM
/tmp is full... benny Linux - Newbie 4 12-10-2003 04:59 AM
/tmp/ is full (so it sayz) the Linux - Newbie 5 04-03-2003 08:15 AM
My /tmp is full FNC Linux - General 3 06-05-2001 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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