Drive Critical: /dev/loop0 (/var/tmp)

Discussion in 'Site & Server Administration' started by Divvy, Mar 24, 2011.

  1. #1
    hi friends,

    Can someone please help me?
    All day Im received this email from my dedicated server:
    Drive Critical: /dev/loop0 (/var/tmp) is 91% full
    Drive Critical: /dev/loop0 (/var/tmp) is 100% full
    etc...

    Some months ago I increased the /tmp partition from 512MB to 2GB, but I think that wasnt enough, because recently I am receiving the notifications again, and when that happens, my cpu load goes to 40/50, very high...

    I did a:
    cd /var/tmp
    ls > list.txt

    this is the content of list.txt file:
    http://paste2.org/p/1323560

    can you please suggest me what to do? Im very newbie in this things
    and Im afraid to do something wrong...

    Thank you :)
     
    Divvy, Mar 24, 2011 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    You should delete some stuff in your tmp folder. Is there anything in particular that's big?
     
    digitalpoint, Apr 2, 2011 IP
  3. mitgib

    mitgib Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Since this is a cPanel server, do the following to free up space
    
    find /tmp -type f -name sess_* | xargs rm -f;
    find /tmp -type f -name cache* | xargs rm -f;
    service mysqld restart;
    
    Code (markup):
    That should clear up your temp space so you can tehn go in an look for other things that you can delete.
     
    mitgib, Apr 3, 2011 IP
  4. VinCme

    VinCme Well-Known Member

    Messages:
    325
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    125
    #4
    Can you re-extract the tmp folder using this command:

    And let us know the output?
     
    VinCme, Apr 10, 2011 IP