#1 (permalink)  
Old 07-06-2009, 02:34 PM
Registered User
 
Join Date: Feb 2008
Posts: 14
tictic is on a distinguished road
/dev/sda3 (/usr) is 89% full

Hi,

I have server but /usr partition is full

Quote:
root@host [~]# cd /usr
root@host [/usr]# du -h --max-depth=1
32M ./include
24K ./X11R6
153M ./src
812M ./share
1.7G ./local
16K ./lost+found
76K ./doc
8.0K ./games
50M ./sbin
16M ./openssh-5.1p1
141M ./bin
1.6M ./kerberos
2.9M ./zlib-1.2.3
587M ./lib
148K ./man
12K ./etc
19M ./libexec
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-06-2009, 05:33 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,898
Infopro is on a distinguished road
Lightbulb

These may help:


Drive Warning: /dev/sda3 (/var) is 82% full !!!
http://forums.cpanel.net/f5/drive-wa...lp-105333.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-08-2009, 06:20 AM
Registered User
 
Join Date: Feb 2008
Posts: 14
tictic is on a distinguished road
up ...........

look thise

Quote:
1.7G ./local
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2009, 06:23 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,898
Infopro is on a distinguished road
Lightbulb

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-09-2009, 10:59 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by Infopro View Post
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.
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.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-23-2009, 10:40 AM
Registered User
 
Join Date: Feb 2008
Posts: 14
tictic is on a distinguished road
Quote:
Originally Posted by cPanelDavidG View Post
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.
u want do that

PHP Code:
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 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-23-2009, 10:57 AM
Registered User
 
Join Date: Feb 2008
Posts: 14
tictic is on a distinguished road
Disk /dev/sda3 (/usr) 60 %

Disk /dev/sda3 (/usr) 60 %

i removd all logs

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

du -h --max-depth=1

PHP Code:
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 Code:
1.8G    /usr/local
1.8G    total 

du -csh /usr/src

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

PHP Code:
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 Code:
161M    kernels
1.9G    linux
-2.6.26
104K    redhat
2.0G    total 

files in /usr/local

PHP Code:
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 Code:
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 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-25-2009, 01:07 PM
Registered User
 
Join Date: Feb 2008
Posts: 14
tictic is on a distinguished road
up.........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-25-2009, 03:43 PM
xml xml is offline
Registered User
 
Join Date: Jan 2004
Posts: 66
xml
http://peoplecnc.com/whitepapers/art...60719080255970
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-27-2009, 11:26 AM
Registered User
 
Join Date: Feb 2008
Posts: 14
tictic is on a distinguished road
The same thing i removd all logs

Disk /dev/sda3 (/usr) 64 %
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-27-2009, 01:25 PM
PPNSteve's Avatar
Registered User
 
Join Date: Mar 2003
Location: Somewhere in Ilex Forest
Posts: 257
PPNSteve
Arrow 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?
__________________
Steve H.
--------------
1-GB.NET
Domain Names

Last edited by PPNSteve; 11-27-2009 at 11:44 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive Warning: /dev/sda3 (/usr) is 86% full - please help ns1 cPanel and WHM Optimization 19 03-15-2010 06:31 PM
Drive Warning: /dev/sda3 (/var) is 82% full !!! bgqs cPanel and WHM Discussions 9 03-01-2010 01:37 PM
Disk /dev/sda3 (/usr) 90% tangowebs cPanel Newbies 4 02-02-2008 12:59 PM
/dev is full? jackie46 cPanel and WHM Discussions 1 06-14-2006 12:29 AM
Drive Warning: /sda3 (/) is 84% full devellion cPanel and WHM Discussions 22 03-13-2005 05:47 PM


All times are GMT -5. The time now is 04:50 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc