Suddently today I've noticed that root is 85% full! (pic attached)
checking the logs
*****:/ # df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 5542276 4449128 811612 85% /
tmpfs 2024424 80 2024344 1% /dev
tmpfs 2024424 0 2024424 0% /dev/shm
/dev/sda1 350018 19294 312653 6% /boot
/dev/sda5 58137528 5059464 49977120 10% /var/storage
/dev/sda7 76179708 472772 71643700 1% /var/log
/dev/sda8 3391744 79392 3140060 3% /tmp
tmpfs 2024424 36 2024388 1% /var/storage/chroot-smtp/tmp/ram
I think that I've found the cause
***** :/var # du -sh * | sort
....
11M lib
128K run
148K notification
16M confd
2.5M geoip
284M log
324K cache
400M sec
4.0K crash
4.0K opt
4.0K X11R6
452K spool
4.7G storage
480M pattern
508K aua
696K mdw
72K adm
76K up2date
8.0K lock
8.0K tmp
***** :/var # cd storage
***** :/var/storage # storage
-bash: storage: command not found
***** :/var/storage # du -sh * | sort
...
16K agent
16K lost+found
29M chroot-reverseproxy
34M chroot-smtp
4.0G cores
4.0M chroot-ftp
493M chroot-http
64M pgsql
84M chroot-pop3
***** :/var/storage # cd cores
***** :/var/storage/cores # du -sh * | sort
1.1M syslog-ng.6035
18M pluto.20271
18M pluto.4379
18M pluto.7279
18M pluto.7297
18M pluto.7324
2.0M httpd.17050
2.0M httpd.9066
2.0M httpd.9123
2.1M httpd.3003
2.2M httpd.14064
5.0M ctasd.6099
5.0M ctasd.6106
5.0M ctasd.6130
5.0M ctasd.6143
5.0M ctasd.6171
664K syslog-ng.24400
672K syslog-ng.5986
676K syslog-ng.7947
748M httpproxy.25113
758M httpproxy.24807
800M httpproxy.6197
803M httpproxy.6179
821M httpproxy.9225
848K sockd.1724
848K sockd.2107
848K sockd.2828
848K sockd.32210
848K sockd.949
***** :/var/storage/cores #
I've removed ("rm" ) the relevant files ( sockd.2107 etc) but it's still 85%. Strange enough /dev has a lot of new files created on the 24th(attached)
it doesn't seem to be the log directory
cd /var/log
du -k -s *|sort -n
biggest file is :
106808 (kilobytes)
Thanks