Web Hosting Talk







View Full Version : need help with Cpanel(Disk hda1 (/) is 89% full)


kami
05-21-2003, 04:01 PM
Hello,
I need help on the following problem.

I keep getting a warning message from my cpanel/whm of
my box that (Disk hda1 (/) is 89% full). I used to get this message before everytime it reached over 80% and cpanel somehow used to delete some of the log files to open up more space by itself automatically.

Az of last week which I upgraded my server kernel and php and also upgraded cpanel to latest version, it has stoped deleting the old log files and my hda1 disk is getting fuller every day.

My question is if Cpanel is supposed to keep this under control or I need to do that manually and is there an option somewhere in whm to activate this.

Thanks

Netrilli
05-21-2003, 04:10 PM
Did you enable backups by any chance?

kami
05-21-2003, 04:16 PM
Thanks for the reply.

No, I am not using the backup feature in whm.

By the way the hd1 drive is where all the log files reside or atleast that is what I was told by my data center.

trustedurl.com
05-21-2003, 04:29 PM
Originally posted by kami
Thanks for the reply.

No, I am not using the backup feature in whm.

By the way the hd1 drive is where all the log files reside or atleast that is what I was told by my data center.

A lot of junk in your /tmp ?
Cut down on your logs as well (/var/log, /etc/httpd/logs).

Netrilli
05-21-2003, 04:35 PM
If that is where your log files are, then it might be the domlogs piling up.

centrahost
05-22-2003, 09:28 AM
Your problem needs to be fixed ASAP.

Using your WHM GUI, click Server Status. Scroll down to the bottom(right side window) look for 'Current Disk Usage' and paste it in here.

It looks like this:

Current Disk Usage
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 1.4G 241M 1.1G 18% /
/dev/hda3 60G 8.6G 48G 16% /home
none 236M 0 235M 0% /dev/shm
/dev/hda2 7.7G 2.0G 5.3G 27% /usr
/dev/hda5 3.8G 1.5G 2.2G 40% /var

-------------------------------------------------------
You can PM me direct if you want some more help or call at 877 CALL NOC (ask for Ken)

This is not an advertisement. We will help you for free.

Choppy
05-22-2003, 06:06 PM
aquavelvaman,

Thats nice of you..

We have a few kernel updates that need to be done can you do it for free too ;)

Regards
Phillip

torwill
05-23-2003, 11:29 PM
if your /etc, /tmp, /usr are all within the same partitions, check these folders

/etc/httpd/ (see if there are any core dump files)
/etc/httpd/logs (see if any large log files you can delete)
/usr/local/cpanel/logs (check for stats_log, it can occupy lots of space, delete it and restart cpanel, and then disable logging in WHM->tweak settings)
/tmp (check if you have too many junk files)

also, check if you have any un-used/un-necessary rpms installed, you can remove them as well. my provider somehow installed X-Windows (Gnome/KDE/... etc) on my server :( took me sometime to delete them...


these are what i normally do when my root partition reached 80%

hope it helps