Guest User!

You are not Sophos Staff.

[8.164][BUG][FIXED] root is almost filled up!

Hi ALL

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
Parents
  • Hi Andreas

    I have checked the logs today and the root is keep increasing. Now it around 67% . The syslog files keep increasing as well

    **:/opt/syslog-ng/var # ls -ls
    
    total 1748352
         4 drwxr-xr-x 2 root root      4096 2011-06-11 23:17 run
    137076 -rw------- 1 root root 140220844 2011-05-28 20:24 syslog-ng-00000.qf
     16452 -rw------- 1 root root  16823575 2011-05-28 20:40 syslog-ng-00001.qf
    318728 -rw------- 1 root root 326051473 2011-06-06 02:02 syslog-ng-00002.qf
    391016 -rw------- 1 root root 400000072 2011-06-09 15:38 syslog-ng-00003.qf
    308260 -rw------- 1 root root 315339395 2011-06-11 23:15 syslog-ng-00004.qf
    251692 -rw------- 1 root root 257470619 2011-06-12 14:39 syslog-ng-00005.qf
    123644 -rw------- 1 root root 126476730 2011-05-24 21:28 syslog-ng-00010.qf
    201476 -rw------- 1 root root 206099018 2011-05-27 22:18 syslog-ng-00011.qf
         4 -rw-r--r-- 1 root root       119 2011-05-31 19:28 syslog-ng.persist


    Do you know if the bug will be fixed as part of 8.170?
Reply
  • Hi Andreas

    I have checked the logs today and the root is keep increasing. Now it around 67% . The syslog files keep increasing as well

    **:/opt/syslog-ng/var # ls -ls
    
    total 1748352
         4 drwxr-xr-x 2 root root      4096 2011-06-11 23:17 run
    137076 -rw------- 1 root root 140220844 2011-05-28 20:24 syslog-ng-00000.qf
     16452 -rw------- 1 root root  16823575 2011-05-28 20:40 syslog-ng-00001.qf
    318728 -rw------- 1 root root 326051473 2011-06-06 02:02 syslog-ng-00002.qf
    391016 -rw------- 1 root root 400000072 2011-06-09 15:38 syslog-ng-00003.qf
    308260 -rw------- 1 root root 315339395 2011-06-11 23:15 syslog-ng-00004.qf
    251692 -rw------- 1 root root 257470619 2011-06-12 14:39 syslog-ng-00005.qf
    123644 -rw------- 1 root root 126476730 2011-05-24 21:28 syslog-ng-00010.qf
    201476 -rw------- 1 root root 206099018 2011-05-27 22:18 syslog-ng-00011.qf
         4 -rw-r--r-- 1 root root       119 2011-05-31 19:28 syslog-ng.persist


    Do you know if the bug will be fixed as part of 8.170?
Children
No Data