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.

Ze space, Eet eez disappearing....

Discussion in 'General Discussion' started by schwim, May 12, 2009.

  1. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Hi there everyone,

    I've got a client on a VPS. That VPS has 10gig of disk space allotted to it. I got a notice this morning that the disk was coming close to capacity(81%). It surprised me because there is only one client on this server and she's using up under 1 gig. I've got to find out where the space is being used.

    Running df -h shows only one mounted filesystem /dev/vzfs is using 6.5 of 10 Gig. The backup is swelling the size up past the threshold, but I feel that even 5.5 gig might be excessive for the OS(CentOS 5) and server.

    This client has no mail accounts, only forwards. The backups are stored remotely, so all things considered, it should not be swelling the drive at all over a long period of time.

    Where should I begin? Thoughts on your course of actions for something like this would be greatly appreciated.

    thanks,
    json
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    How about logs? If they aren't being rotated, they can grow to consume gigabytes of space.

    Common log file locations include /var/logs and /usr/local/cpanel/logs
     
  3. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Hi there David and thanks very much for your reply.

    The largest file in /var/log is chksrvd.log at 28mb

    The largest file in /usr/local/cpanel/logs is access_log at 13mb

    I've continued looking and still haven't found anything to account for the increased space. I'd greatly appreciate any further suggestions.

    thanks,
    json
     
  4. thobarn

    thobarn Well-Known Member

    Joined:
    Apr 25, 2008
    Messages:
    153
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    sanctum sanctorum
    something like
    Code:
    find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $NF ": " $5 }'
    to find files over 100000k? (may take a little while to complete)

    Also, maybe apache logs? or session state from a web application where ever it may be stored?
     
    #4 thobarn, May 12, 2009
    Last edited: May 12, 2009
Loading...

Share This Page