Drive Space Critical on ...

Status
Not open for further replies.

Divvy

Active Member
806
2009
18
0
Hello my friends,

Can someone help me please?
All mornings I received this email from my dedicated server:

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

What this mean and how can I add more space?
That partition have 500MB

Thank you :)
 
11 comments
means you used up all the space.

either ask host to add more space (you will probably have to pay for this)

or delete useless shit that doesnt need to be there.
 
Thank you for your reply!

But I only have 13MB in there.
I think that I the backup system that is causing this... What do you think guys?
 
Hmmmm I was wrong, this is a different partition

I entered in that directory and saw many this:
sess xxxxxxxxxxxxxxxxxxxx...
sess xxxxxxxxxxxxxxxxxxxx...
sess xxxxxxxxxxxxxxxxxxxx...
sess xxxxxxxxxxxxxxxxxxxx...

can I delete them?
 
Go ahead . It will kick some running tasks but stop the errors for a little while.

You need to determine how much space is allocated to everything and reallocate some of the excess to the tmp folder.
 
Thank you guys!
Are you sure that is safe deleting all files right?
Can I run that command as root? What will do? Remove all folder files?

Thank you
 
its safe if its /tmp folder

yes you ca run it as root!!

will remove all files and folders of /var/tmp

yes

Best Regards
 
Correction, rm -rf /var/tmp/*

But yeah, clearing your temp will help.

lol that's what he said.

Also If you just want to delete the session files do this:

rm -rf /var/tmp/sess*

////////////////////

Also I suggest making your /tmp partition bigger. Try making it 1g. There are tons of tutorials :

http://www.webhostgear.com/34.html

This shows you increase ur tmp to 1 gig and also to secure your /tmp directory from malicious programs that could run there.
 
Status
Not open for further replies.
Back
Top