What could this error mean?

Discussion in 'Site & Server Administration' started by lsams48, Dec 14, 2006.

  1. #1
    what is the /hda6 file, and how is it 91% full


    Got this email from cpanel

    Drive Critical: /hda6 (/tmp) is 91% full
     
    lsams48, Dec 14, 2006 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    login to shell,

    
    rm -rf tmp/*
    
    Code (markup):
     
    krakjoe, Dec 14, 2006 IP
  3. lsams48

    lsams48 Active Member

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    so i have to clear my tmp files
     
    lsams48, Dec 14, 2006 IP
  4. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #4
    yep, that's exactly right .....

    also, I made a mistake, it's /tmp/* not tmp/*
     
    krakjoe, Dec 14, 2006 IP
  5. ub3r

    ub3r Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You could also track down the space hogs with the "du" program. Just do..

    cd /tmp
    du -sh * | less

    and go through each of them, clearing out the unnecessary files.
     
    ub3r, Dec 17, 2006 IP
  6. WiredTree Zac

    WiredTree Zac Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It is usually a good idea to not just remove everything in /tmp as it can remove PHP sessions (if they are stored there) and other things like mod_gzip cache files that are in use. I would second ub3r's recommendation to see what is taking up space.
     
    WiredTree Zac, Dec 19, 2006 IP
  7. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Maybe you can check why your tmp is taking up space so fast too. :D
     
    tanfwc, Dec 19, 2006 IP
  8. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #8
    Any session data that is being used can be recreated by whatever created it, it's true that you should probably look into it however deleting all the crap in tmp to restore service is also a good idea......
     
    krakjoe, Dec 19, 2006 IP
  9. Meads

    Meads Well-Known Member

    Messages:
    547
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    123
    #9
    /hda6 isnt a file it is your hard drive on your server.
     
    Meads, Dec 20, 2006 IP