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.

HD Space 71% used

Discussion in 'General Discussion' started by Punkluis, Jan 19, 2005.

  1. Punkluis

    Punkluis Member

    Joined:
    Dec 27, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I have an 80GB HD on my dedicated server and now I find that the server keeps losing GBs by the day, I used to have more than 60GB free and now I only have 21GB free, I checked all the accounts and I summed them, all of them together dont make 1GB so I don't know where is all my HD space going.
     
  2. Punkluis

    Punkluis Member

    Joined:
    Dec 27, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I used to have 70% used 5 minutes ago while I was talking to one of my resellers and now it ate 1 more GB
    /dev/hda2 74G 49G 22G 70% < 5 mins ago
    /dev/hda2 74G 49G 21G 71% < now
     
  3. Punkluis

    Punkluis Member

    Joined:
    Dec 27, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Ok so /var/log is taking up 44287324 KBs, obviously that would be like 43.3 GB(If my math is correct, I might be wrong) how do I get rid of the logs?
     
  4. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    Well for one thing, find out what is casuing so many errors in /var/log/messages. Then you may want to restart and see if the logs rotate, if not you have a problem with log rotation, too.
     
  5. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Squirrel on this forum has free scripts that are very helpful with checking log file sizes and also emptying them. Some of the enhancements to the basic scripts are not free but he only requests a small one time fee to access them. Would agree with Blue|Fusion that you need to find the cause of the problem first.
    http://www.premierwebsitesolutions.com/scripts/
     
  6. Punkluis

    Punkluis Member

    Joined:
    Dec 27, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    its actually this: 43G /var/log/bandwidth that file is 43GB, what should I do!?
     
  7. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    Find out what's causing it... ;-D
    Obviously the sooner the better too. heh.

    I don't see, off the top of my head, what could be growing so fast in /var/log/bandwidth though. That's kinda weird.

    It's highly recommended that you hire an experienced administrator to find out what's goin gon and fix it. Perhaps your server has been compromised.
     
  8. Punkluis

    Punkluis Member

    Joined:
    Dec 27, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    What does it mean "perhaps your server has been compromised"?
     
  9. Punkluis

    Punkluis Member

    Joined:
    Dec 27, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    what is really strange though today I just checked the size of the file and its only 4 KB and not growing while yesterday it got up to 44GB, I took shell access away from somebody last night so I dont know if he had anything to do with it.
     
  10. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    oooo... not good to have users with shell access on a shared hosting server.
     
  11. Punkluis

    Punkluis Member

    Joined:
    Dec 27, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    He's a reseller, but Im not giving him shell access anyways just to keep things secure.
     
Loading...

Share This Page