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
  • You are right Barry

    The dates do match. Have a look at the last reboots and the relevant times from post 3

    ****** :/dev # last -x|grep reboot
    reboot   system boot  2.6.32.31-37.g36 Thu May 26 10:24         (1+10:44)
    reboot   system boot  2.6.32.31-37.g36 Wed May 25 20:27         (2+00:40)
    reboot   system boot  2.6.32.31-37.g36 Tue May 24 21:29          (22:56)
    reboot   system boot  2.6.32.31-37.g36 Tue May 24 01:15         (1+19:10)
    reboot   system boot  2.6.32.31-37.g36 Mon May 23 07:11         (2+13:15)
    reboot   system boot  2.6.32.31-37.g36 Sat May 21 23:20         (3+21:06)
    reboot   system boot  2.6.32.31-37.g36 Thu May 19 22:33         (5+21:53)
    reboot   system boot  2.6.32.31-37.g36 Tue May 17 21:21         (7+23:05)
    reboot   system boot  2.6.32.31-37.g36 Sat May 14 22:37         (10+21:48)
    reboot   system boot  2.6.32.31-37.g36 Thu May 12 15:33         (13+04:53)
    reboot   system boot  2.6.32.31-37.g36 Sun May  8 17:34         (17+02:52)
    reboot   system boot  2.6.32.31-37.g36 Fri May  6 12:21         (19+08:05)
    reboot   system boot  2.6.32.31-37.g36 Fri May  6 08:13         (19+12:13)
    reboot   system boot  2.6.32.31-37.g36 Fri May  6 08:04         (19+12:22)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 22:26         (20+22:00)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 17:32          (04:53)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 04:55          (17:29)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 00:19          (22:05)
    reboot   system boot  2.6.32.31-37.g36 Mon May  2 08:00         (1+16:18)
    reboot   system boot  2.6.32.31-37.g36 Sun May  1 18:40         (2+05:37)
    reboot   system boot  2.6.32.31-14.gcc Sun Apr 24 22:52         (6+19:47)
    reboot   system boot  2.6.32.31-14.gcc Sun Apr 24 22:38          (00:10)
    reboot   system boot  2.6.32.31-14.gcc Sun Apr 24 22:19          (00:29)
    reboot   system boot  2.6.32.31-14.gcc Fri Apr 22 20:16         (2+02:33)
    reboot   system boot  2.6.32.28-33.g18 Fri Apr 22 19:25          (00:49)
    reboot   system boot  2.6.32.28-33.g18 Fri Apr 22 19:14          (01:00)
Reply
  • You are right Barry

    The dates do match. Have a look at the last reboots and the relevant times from post 3

    ****** :/dev # last -x|grep reboot
    reboot   system boot  2.6.32.31-37.g36 Thu May 26 10:24         (1+10:44)
    reboot   system boot  2.6.32.31-37.g36 Wed May 25 20:27         (2+00:40)
    reboot   system boot  2.6.32.31-37.g36 Tue May 24 21:29          (22:56)
    reboot   system boot  2.6.32.31-37.g36 Tue May 24 01:15         (1+19:10)
    reboot   system boot  2.6.32.31-37.g36 Mon May 23 07:11         (2+13:15)
    reboot   system boot  2.6.32.31-37.g36 Sat May 21 23:20         (3+21:06)
    reboot   system boot  2.6.32.31-37.g36 Thu May 19 22:33         (5+21:53)
    reboot   system boot  2.6.32.31-37.g36 Tue May 17 21:21         (7+23:05)
    reboot   system boot  2.6.32.31-37.g36 Sat May 14 22:37         (10+21:48)
    reboot   system boot  2.6.32.31-37.g36 Thu May 12 15:33         (13+04:53)
    reboot   system boot  2.6.32.31-37.g36 Sun May  8 17:34         (17+02:52)
    reboot   system boot  2.6.32.31-37.g36 Fri May  6 12:21         (19+08:05)
    reboot   system boot  2.6.32.31-37.g36 Fri May  6 08:13         (19+12:13)
    reboot   system boot  2.6.32.31-37.g36 Fri May  6 08:04         (19+12:22)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 22:26         (20+22:00)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 17:32          (04:53)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 04:55          (17:29)
    reboot   system boot  2.6.32.31-37.g36 Wed May  4 00:19          (22:05)
    reboot   system boot  2.6.32.31-37.g36 Mon May  2 08:00         (1+16:18)
    reboot   system boot  2.6.32.31-37.g36 Sun May  1 18:40         (2+05:37)
    reboot   system boot  2.6.32.31-14.gcc Sun Apr 24 22:52         (6+19:47)
    reboot   system boot  2.6.32.31-14.gcc Sun Apr 24 22:38          (00:10)
    reboot   system boot  2.6.32.31-14.gcc Sun Apr 24 22:19          (00:29)
    reboot   system boot  2.6.32.31-14.gcc Fri Apr 22 20:16         (2+02:33)
    reboot   system boot  2.6.32.28-33.g18 Fri Apr 22 19:25          (00:49)
    reboot   system boot  2.6.32.28-33.g18 Fri Apr 22 19:14          (01:00)
Children
No Data