tank

Well-Known Member
Apr 12, 2011
255
5
68
Chicago, IL
cPanel Access Level
Root Administrator
/tmp cleanup

Hey all,

I have searched and read lots of things on how to properly clean up the /tmp directory. They all say different things.

My temp directory is 92 percent full

The tmp directory is 15 gigs big. How should I go about cleaning this up?

It looks like I have some .zip files and even a few .avi files???

Whats the best way to go about this?
 
Last edited:

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Well at least you can delete the zip files and avi files.
 

tank

Well-Known Member
Apr 12, 2011
255
5
68
Chicago, IL
cPanel Access Level
Root Administrator
I have read those, I am just a noob at this.

What command should I run. It is now 100 percent full.

--
So i manually deleted the files that looked likes this

b881b40712c5e9091965785eb01075f0avi

I saw a couple of them and they are each 1.5 gig big. So I think someone has a home video or something. Its with Owncloud, any ideas
 
Last edited:

simonas

Well-Known Member
Apr 21, 2013
141
0
16
Lithuania
cPanel Access Level
Root Administrator
That's the files being uploaded probably. If you do not see their size increase, you can delete them.
Do not delete PHP session files (32 character filename, small files).
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
I recommend implementing the tmpwatch cron job that's mentioned in the threads referenced from my last reply. This will ensure files are removed from the /tmp partition automatically at set intervals.

Thank you.