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.

/usr 96% Full - Please Help

Discussion in 'General Discussion' started by djblamire, Nov 30, 2008.

  1. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    I have noticed that my /usr partition seems to be filling up quite quickly, and is currently 96% full.

    I have had to clear this out a few times over the last week or so, but it seems to be filling back up.

    Anyone know what else I can do/check to stop this filling up completely ??

    Code:
    [root@server local]# df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sda5              2030736    559704   1366212  30% /
    /dev/sda1               101086     36273     59594  38% /boot
    /dev/shm                512160         0    512160   0% /dev/shm
    /dev/sda8            211111964  52342152 147872928  27% /home
    /dev/sda6              1019208     36404    930196   4% /tmp
    /dev/sda3             10154020   9153176    476724  96% /usr
    /dev/sda2             10154020   1690076   7939824  18% /var
    /tmp                   1019208     36404    930196   4% /tmp
    Code:
    /usr
    12K     aquota.user
    118M    bin
    76K     doc
    12K     etc
    8.0K    games
    103M    include
    1.4M    kerberos
    430M    lib
    15M     libexec
    1.3G    local
    16K     lost+found
    4.5M    mailscanner
    116K    man
    40K     mscpanel
    4.0K    quota.user
    34M     sbin
    557M    share
    96M     src
    4.0K    tmp
    29M     X11R6
    2.6G    total
    
    Code:
    /usr/local
    165M    apache
    35M     apache.backup
    8.0K    apache.backup_archive
    108K    bandmin
    14M     bin
    974M    cpanel
    1.4M    cpanel-rollback
    12K     etc
    31M     frontpage
    8.0K    games
    2.8M    include
    4.1M    lib
    8.0K    libexec
    28K     man
    20K     sbin
    108K    share
    8.0K    src
    0       ssl
    9.2M    tt2
    1.3G    total
    
    Any help would really be appreciated.

    Thanks
    Daniel
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    Kind of hard to help without access to try and determine what is using up the space.

    df doesn't jive- it lists 96% capacity and what, 9 GB used. but obviously when doing a du on /usr you aren't seeing anything near that being used... 2.6 GB or something like that. Where's te other 6+ GB at ? (I know, that's your question as well).

    I don't know which figure to believe - You just need to delve deeper into those directories.

    I can't think of anything in /usr that should continuously and consistently be using up more space over a short period of time. Hmm, i take that back - obviously /usr/local/apache/domlogs will accumulate log data over time as well as /usr/local/apache/logs. Although that should show up in your du.

    Mike
     
  3. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    I've cleared my logs down, but they keep building up - obviously there is something else somewhere not showing... :(

    Anyone have any other ideas ??

    Thanks
    Daniel
     
  4. stdout

    stdout Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    189
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Nelspruit, Mpumalanga, South Africa
    cPanel Access Level:
    Root Administrator
    Something is definitely fishy there. Perhaps "du" is not catching a 'hidden' directory?
    This clearly needs closer investigating. PM me and I'll help you figure it out.
     
  5. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    Not sure why it wasn't showing up, my my data center informed me it was rollbacks for cpanel.

    Deleted these, and now seems fine.

    Thanks for your help (and offer of help).

    Daniel
     
  6. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    try ls -la to see which directories are starting from dot (.) to check if any hacker has created some directory with name starting with dot and using your server as file server.
     
  7. theBassTender

    theBassTender Active Member

    Joined:
    Jan 2, 2005
    Messages:
    26
    Likes Received:
    1
    Trophy Points:
    3
    rollbacks?

    @ djblamire

    I'm running into the same issue. What steps did you take to remove the cpanel rollbacks?
     
  8. karlos

    karlos Member

    Joined:
    Oct 1, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    Just open a SSH console or SFTP with root user and delete the most old folders at /usr/local/cpanel-rollback

    Karlos
     
Loading...

Share This Page