Small blog about system administration.

HOWTO: Clearing /tmp in cPanel based servers.

You should be very careful what you delete out of the /tmp partition. I would recommend having someone knowledgable have a look for you so that they can advise you on what is filling it up, and more importantly, why.

Attention! Do not delete mysql.sock and horde.log. They are much in need.

cd /tmp

ls -al sess_*

this is what takes up most of it in case you do not clear up the same regularly.

rm -f sess_*

ls -al *.wrk

This comes up in case you use mod_gzip

rm -f *.wrk

now check what other stuff lies there.

No comments :

Post a Comment