Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/tmp

Discussion in 'General Discussion' started by tank, Sep 16, 2013.

  1. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    254
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    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?
     
    #1 tank, Sep 16, 2013
    Last edited: Sep 16, 2013
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Well at least you can delete the zip files and avi files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    254
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    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
     
    #4 tank, Sep 16, 2013
    Last edited: Sep 16, 2013
  5. simonas

    simonas Well-Known Member

    Joined:
    Apr 21, 2013
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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).
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    254
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Thanks yea, I have tmp watch already enabled at the default 10 days. I will keep an eye on it and see what it does.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice