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.

/dev/sda3 (/usr) is 89% full

Discussion in 'General Discussion' started by tictic, Jul 6, 2009.

  1. tictic

    tictic Member

    Joined:
    Feb 23, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have server but /usr partition is full

    i use cPanel 11.24.4-R36167 - WHM 11.24.2 - X 3.9
    CENTOS 5.3 i686 standard on host


    any reason? or how to fix that?

    I think the installed lots of lib for me

    Thanks in advance.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. tictic

    tictic Member

    Joined:
    Feb 23, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    up ...........

    look thise

     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Quite possibly that could be the ./cpanel-rollback directory. I checked one here and it's 924MB. You'd have to check the directory itself to be sure.

    This is cPanel's recommended partitioning setup.
     
  5. 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
    We now have a second partitioning recommendation for novice system administrators which is posted at:

    Quick Start Installation Guide

    However, this simpler recommendation will result in lower system performance than the advanced scheme Infopro linked to.
     
  6. tictic

    tictic Member

    Joined:
    Feb 23, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    u want do that

    PHP:
    To begin your installation, use the following commands


    cd /home — Opens the directory /home
    wget -N http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers. 
    sh latest — Opens and runs the installation files
    /
    usr/local/cpanel/cpkeyclt — Activates your license after installation
     
  7. tictic

    tictic Member

    Joined:
    Feb 23, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Disk /dev/sda3 (/usr) 60 %

    Disk /dev/sda3 (/usr) 60 %

    i removd all logs

    PHP:
    rm -rf /usr/local/apache/domlogs/*
    rm -rf /usr/local/apache/logs/*

    du -h --max-depth=1

    PHP:
    29M     ./include
    4.0K    ./certs
    24K     
    ./X11R6
    2.0G    
    ./src
    835M    
    ./share
    32K     
    ./misc
    1.8G    
    ./local
    16K     
    ./lost+found
    76K     
    ./doc
    16M     
    ./openssh-5.3p1
    8.0K    
    ./games
    48M     
    ./sbin
    145M    
    ./bin
    4.0K    
    ./private
    1.7M    ./kerberos
    2.9M    
    ./zlib-1.2.3
    581M    
    ./lib
    3.0M    
    ./man
    172K    
    ./etc
    19M     
    ./libexec
    127M    
    ./StorMan
    5.5G    
    .
    du -csh /usr/local

    PHP:
    1.8G    /usr/local
    1.8G    total

    du -csh /usr/src

    PHP:
    2.0G    /usr/src
    2.0G    total
    files in /usr/src

    PHP:
    drwxr-xr-x  5 root root 4096 Nov 23 19:18 ./
    drwxr-xr-x 23 root root 4096 Nov 23 19:11 ../
    drwxr-xr-x  7 root root 4096 Nov  6 03:40 kernels/
    drwxr-xr-x 22 root root 4096 Nov  9 22:24 linux-2.6.26/
    drwxr-xr-x  7 root root 4096 Sep  4 03:26 redhat/

    root@host [/usr/src]# du -csh *
    PHP:
    161M    kernels
    1.9G    linux
    -2.6.26
    104K    redhat
    2.0G    total

    files in /usr/local

    PHP:
    total 164
    drwxr
    -xr-x 30 root   root   4096 Nov 21 17:08 ./
    drwxr-xr-x 23 root   root   4096 Nov 23 19:11 ../
    drwxr-xr-x  2 root   root   4096 Nov 20 17:45 IonCube/
    drwxr-xr-x  7 root   root   4096 May 13  2009 Zend/
    drwxr-xr-x 17 root   root   4096 Nov 20 17:46 apache/
    drwxr-xr-x 14 root   root   4096 Nov 20 17:32 apache.backup/
    drwxr-xr-x  3 root   root   4096 Nov 20 17:24 apache.backup_archive/
    drwxr-xr-x  4 root   root   4096 May 19  2009 bandmin/
    drwxr-xr-x  2 root   root   4096 Nov 23 19:16 bin/
    drwxr-xr-x  2 root   root   4096 Oct  3  2007 burnintest/
    drwxr-xr-x  2 root   root   4096 May 14  2009 chkrootkit/
    drwxr-xr-x  4 root   root   4096 Nov 21 17:10 clamav/
    drwx--x--x 41 root   wheel  4096 Nov 20 16:54 cpanel/
    drwx------  3 root   root   4096 May 13  2009 cpanel-rollback/
    drwxr-xr-x  2 root   root   4096 Nov 23 10:00 ddos/
    drwx------  4 root   root   4096 May 19  2009 els/
    drwxr-xr-x  3 root   root   4096 Nov 23 18:40 etc/
    drwxrwxr-x  3 bin    bin    4096 May 18  2009 frontpage/
    drwxr-xr-x  2 root   root   4096 Mar 10  2009 games/
    drwxr-xr-x 10 root   root   4096 Nov 21 16:50 include/
    drwxr-xr-x  3 tomcat nobody 4096 May 19  2009 jakarta/
    lrwxrwxrwx  1 root   root     22 May 13  2009 jdk -> /usr/local/jdk1.6.0_02/
    drwxr-xr-x  9 root   root   4096 Jun 15  2007 jdk1.6.0_02/
    lrwxrwxrwx  1 root   root     18 May 13  2009 jre -> /usr/local/jdk/jre/
    drwxr-xr-x  5 root   root   4096 Nov 23 19:16 lib/
    drwxr-xr-x  2 root   root   4096 Nov 21 18:57 libexec/
    drwxr-xr-x  3 root   root   4096 May 13  2009 man/
    drwxr-xr-x  7 root   wheel  4096 May 13  2009 rvsubversion/
    drwxr-xr-x  2 root   root   4096 Nov 23 19:16 sbin/
    drwxr-xr-x  7 root   root   4096 Nov 21 18:57 share/
    drwxr-xr-x  3 root   root   4096 Nov 23 19:45 spri/
    drwxr-xr-x  5 root   root   4096 Jul 12 14:34 src/
    lrwxrwxrwx  1 root   root      2 May 13  2009 ssl -> ../
    root@host [/usr/local]# du -csh *

    PHP:
    2.0M    IonCube
    16M     Zend
    56M     apache
    37M     apache
    .backup
    37M     apache
    .backup_archive
    108K    bandmin
    35M     bin
    1.7M    burnintest
    736K    chkrootkit
    32K     clamav
    1.2G    cpanel
    1.5M    cpanel
    -rollback
    28K     ddos
    308K    els
    220K    etc
    31M     frontpage
    8.0K    games
    4.6M    
    include
    19M     jakarta
    0       jdk
    166M    jdk1.6.0_02
    0       jre
    19M     lib
    240K    libexec
    28K     man
    84K     rvsubversion
    33M     sbin
    24M     share
    40K     spri
    109M    src
    0       ssl
    1.8G    total
     
  8. tictic

    tictic Member

    Joined:
    Feb 23, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    up.........:confused:
     
  9. xml

    xml Well-Known Member

    Joined:
    Jan 15, 2004
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    8
  10. tictic

    tictic Member

    Joined:
    Feb 23, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    The same thing i removd all logs

    Disk /dev/sda3 (/usr) 64 %
     
  11. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have this problem now too

    Over the last few weeks or so, it appears the apache (dom)logs are no longer being rotated or are failing to rotate.. This is a new issue that we haven't had before.

    We have a few high traffic sites and have set stats to run 2 times a day and we are still getting 3 to 4 GB apache domlog files.. like its not being rotated out after each stats run.

    is there any solution, aside from manually clearing the logs, to ensure these logs get rotated so we can maintain a decent /usr disk usage level and proper apache heatlth?
     
    #11 PPNSteve, Nov 27, 2009
    Last edited: Nov 27, 2009
Loading...

Share This Page