The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/tmp

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

  1. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    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:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Well at least you can delete the zip files and avi files.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  7. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page