Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: groutley on July 12, 2010, 01:29:32 PM

Title: Something is filling my Hard Disk !
Post by: groutley on July 12, 2010, 01:29:32 PM
Hi,
 I am hoping someone might have an ide as to what is filling my SME Server 7.5.1 Hard drive..
Earlier this evening my daughter complained about bad internet access..
I thought I'll reboot SME and see if that helps, Now the VM's never start, and the
/var/log/messages shows :
Code: [Select]
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD
This continues..
I did delete some large files and freed up around 5G of space, but it was soon filled !!
Quote
[root@l1nuxsvr spool]# df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/main-root
              ext3    292G  278G     0 100% /
/dev/md1      ext3     99M   43M   52M  45% /boot
none         tmpfs    2.0G     0  2.0G   0% /dev/shm
I cleared up /tmp  but still have the issue..
appreciate any help.
Title: Re: Something is filling my Hard Disk !
Post by: cactus on July 12, 2010, 01:51:20 PM
Try and investigate where the bulk of the data is using the du command. Start at the root (/):

And then use something like:

Code: [Select]
du --max-detph 1
Above command will look one directory deep and sum all data in it, that way you can easily pinpoint what is eating up your harddrive.
Title: Re: Something is filling my Hard Disk !
Post by: groutley on July 12, 2010, 04:01:14 PM
Try and investigate where the bulk of the data is using the du command. Start at the root (/):

And then use something like:

Code: [Select]
du --max-depth 1
Above command will look one directory deep and sum all data in it, that way you can easily pinpoint what is eating up your harddrive.

Thanks for the tip,  I found my asterisk messages log was 17GB due to a rogue device causing it to log a failure multiple times a second.
I deleted the message log, and sorted out the problem device, now all is looking good again.
 Thank you cactus !
Title: Re: Something is filling my Hard Disk !
Post by: cactus on July 12, 2010, 05:50:40 PM
Thanks for the tip,  I found my asterisk messages log was 17GB due to a rogue device causing it to log a failure multiple times a second.
I deleted the message log, and sorted out the problem device, now all is looking good again.
 Thank you cactus !
You're welcome.