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 full ....

Discussion in 'General Discussion' started by burachat, Jan 8, 2005.

  1. burachat

    burachat Active Member

    Joined:
    Jun 9, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Thailand
    Hi Team ,

    Right now my /usr is full , i don't know which is safe to delete ....
    Doesn't Cpanel will take care of the disk space when it's full for us

    This is the screen

    root@host [~]# df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda6 1019864 689464 278592 72% /
    /dev/hda1 101086 24414 71453 26% /boot
    none 516992 2676 514316 1% /dev/shm
    /dev/hdb1 76920416 18204316 54808692 25% /home
    /dev/hda7 60688800 29063424 28542508 51% /opt
    /dev/hda8 3020112 51880 2814816 2% /tmp
    /dev/hda2 5036316 4803296 0 100% /usr
    /dev/hda3 5036316 3333104 1447380 70% /var
    root@host [~]# cd /usr
    root@host [/usr]# ls
    ./ aquota.user* doc/ games/ kerberos/ libexec/ lost+found/ man/ ports/ sbin/ src/ usr@
    ../ bin/ etc/ include/ lib/ local/ mailscanner/ mscpanel/ quota.user* share/ tmp@ X11R6/


    Please advise how to fix this , i don' tknow that there is more problem or not , if /usr is 100% full.

    George
     
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    do a ls -ltr /usr to list the contents in a sort order.
    the newest files/directories will be on the bottom of the list.

    see if anything obvious there.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    In particular, I'd suggest checking:

    /usr/local/apache/logs
    /usr/local/cpanel/logs/


    You most likely have logs in there that haven't been cleared down. There's a tutorial over here on how to clear down those logs:
    http://www.webhostgear.com/144.html
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    It probably is your log files. Check my log files scripts, 2nd link in sig. You might like them.
     
Loading...

Share This Page