Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/usr capacity full with no reason to that!

Discussion in 'General Discussion' started by asturmas, Jul 14, 2008.

  1. asturmas

    asturmas Well-Known Member
    PartnerNOC

    Joined:
    Jun 19, 2006
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Portugal
    cPanel Access Level:
    DataCenter Provider
    Hello,

    One of my servers has /usr partition full:

    /dev/sda3 9.7G 8.4G 837M 92% /usr

    And I cannot see any reason to that. MySQL is at /var. And the rest ist at /home. I don't have anything in /usr ate least the default CentOS.

    Regards,
    Francisco
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,569
    Likes Received:
    45
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    10 GB is too small for the /usr partition. Check what is consuming the most space by using the du command:

    Code:
    dtest ~ # du -hs /usr
    3.6G	/usr
    dtest ~ # du -hs /usr/*
    12K	/usr/X11R6
    61M	/usr/bin
    76K	/usr/doc
    8.0K	/usr/etc
    4.0K	/usr/games
    197M	/usr/home
    28M	/usr/include
    0	/usr/java
    132K	/usr/kerberos
    543M	/usr/lib
    12M	/usr/libexec
    1.9G	/usr/local
    116K	/usr/man
    28M	/usr/sbin
    327M	/usr/share
    52K	/usr/src
    0	/usr/tmp
    501M	/usr/tmpDSK
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. asturmas

    asturmas Well-Known Member
    PartnerNOC

    Joined:
    Jun 19, 2006
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Portugal
    cPanel Access Level:
    DataCenter Provider
    Is there any log going to /usr??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. asturmas

    asturmas Well-Known Member
    PartnerNOC

    Joined:
    Jun 19, 2006
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Portugal
    cPanel Access Level:
    DataCenter Provider
    root@servidor [/usr/local/apache]# du -hs *
    3.3M bin
    288K build
    12K cgi-bin
    1.1M conf
    364K conf_pre_ea3
    6.6G domlogs
    208K error
    68K htdocs
    944K icons
    1.4M include
    2.3M lib
    88M logs
    96K man
    12M manual
    16M modules

    Can I delete all files on domlogs?

    Regards,
    asturmas
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    It contains log information of users. Rather deleting it, I would suggest to configure something like logwatch to archive of your domlogs on regular basis. It will help you a bit.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. asturmas

    asturmas Well-Known Member
    PartnerNOC

    Joined:
    Jun 19, 2006
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Portugal
    cPanel Access Level:
    DataCenter Provider
    Do you have any tutorial or somethin like that?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Hello,

    Sorry I thought :

    dtest ~ # du -hs /usr
    3.6G /usr
    dtest ~ # du -hs /usr/*
    12K /usr/X11R6
    61M /usr/bin
    76K /usr/doc
    8.0K /usr/etc
    4.0K /usr/games
    197M /usr/home
    28M /usr/include
    0 /usr/java
    132K /usr/kerberos
    543M /usr/lib
    12M /usr/libexec
    1.9G /usr/local
    116K /usr/man
    28M /usr/sbin
    327M /usr/share
    52K /usr/src
    0 /usr/tmp
    501M /usr/tmpDSK

    was your output. You need to empty those big domlogs in your case.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #7 shashank, Jul 16, 2008
    Last edited: Jul 16, 2008
  8. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice