in time TMP directory cleared it self but USR not... right now it is on 98%, that is
CODE
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 7.8G 7.2G 198M 98% /usr
So i digged and this is what I found (I don't know what, I am just copy-pasteing

)).
First dig:CODE
root@server2 [/usr]# du -ah --max-depth=1
28M ./include
124K ./man
614M ./lib
76K ./doc
4.0K ./tmp
88M ./src
8.0K ./games
1.6M ./kerberos
20K ./aquota.user
47M ./sbin
12K ./etc
257M ./bin
20K ./quota.user
24K ./X11R6
5.1G ./local
942M ./share
21M ./libexec
16K ./lost+found
7.1G .
root@server2 [/usr]#
Obviously "local" is using the most of the space. "Share" is also big, but when I looked there, I couldn't find anything what would stand out. So I digged in "local".
Second dig:CODE
root@server2 [/usr/local]# du -ah --max-depth=1
2.9M ./include
28K ./man
33M ./frontpage
15M ./Zend
8.0K ./clamav
4.7M ./lib
64K ./les
1.3G ./cpanel
296K ./sim
6.0M ./src
8.0K ./games
351M ./apache.backup_archive
108K ./bandmin
1.7M ./cpanel-rollback
36M ./apache.backup
0 ./ssl
24K ./sbin
12K ./etc
16M ./bin
40K ./spri
152K ./bfd
2.0M ./IonCube
344K ./share
8.0K ./libexec
3.3G ./apache
136M ./BUAgent
5.1G .
root@server2 [/usr/local]#
However, here also all seems to be ok. Apache is using 3.3gb and Cpanel 1.3G.
So i went in Apache and found out that error log is using most of the space (2.8Gb):
CODE
root@server2 [/usr/local/apache/logs]# du -ah --max-depth=1
0 ./ssl_scache.dir
12K ./suphp_log
2.8G ./error_log
4.0K ./httpd.pid
0 ./fpcgisock
0 ./ssl_scache.pag
0 ./modsec_debug_log
0 ./audit_log
108M ./suexec_log
4.0K ./suexec_log.offset
144K ./modsec_audit.log
258M ./access_log
3.2G .
root@server2 [/usr/local/apache/logs]#
What should I do? Can I save existing error log somewhere else and then purge this one? How do I set up a limit for it's size?