
Originally Posted by
cpanelkevin
What size is your /usr partition?
df -h
It is recommended to create a /boot, /tmp partitions then balance on /
Appears your /usr partition is only 6GB and will continue to have problems as domlogs, apache and cPanel logs are all stored there.
cPanel can normally grow to 3GB and Apache can also grow to 3GB, these 2 alone will continue to cause disk space issues for you.
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.8G 426M 7.0G 6% /
/dev/sda8 198G 58G 130G 31% /home
/dev/sda6 996M 713M 232M 76% /tmp
/dev/sda3 7.8G 6.7G 723M 91% /usr
/dev/sda2 9.7G 4.4G 4.9G 48% /var
/dev/sda1 122M 16M 100M 14% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
Thank you for your reply.
I am still having problems with this.
I have noticed that Apache logs are taking a lot of space.
Code:
root@server2 [/usr/local/apache]# du -h --max-depth=1
12K ./cgi-bin
1.7M ./include
52K ./htdocs
208K ./error
96K ./man
944K ./icons
288K ./build
520M ./domlogs
2.0G ./logs
13M ./manual
24M ./modules
892K ./lib
2.7M ./conf
404K ./conf_pre_ea3
1.5M ./bin
2.6G .
root@server2 [/usr/local/apache]#
... hmmm ... while replying my partition usage decreased.
now it's like
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.8G 426M 7.0G 6% /
/dev/sda8 198G 58G 130G 31% /home
/dev/sda6 996M 713M 232M 76% /tmp
/dev/sda3 7.8G 5.3G 2.1G 72% /usr
/dev/sda2 9.7G 4.4G 4.9G 48% /var
/dev/sda1 122M 16M 100M 14% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
Moment ago I have activated log rotation for Apache logs, could that have anything to do with it?