RE: [squid-users] squid tries to rebuild cache but fails...

From: Angela Burrell <[email protected]>
Date: Tue, 27 Apr 2004 12:15:38 -0400

Check your log files.

I was surprised that my /var/log/messages and /var/log/syslog, also
/var/log/kernel/info were several hundreds of MB and were taking all the
space on my 3.3 GB partition.

try this command

du -s /var/log

to see how much space is /var/log using up.

-----Original Message-----
From: unixware [mailto:datareactor@yahoo.com]
Sent: Tuesday, April 27, 2004 8:01 AM
To: Hanno.Wagner@boerse-stuttgart.de; squid-users@squid-cache.org
Subject: Re: [squid-users] squid tries to rebuild cache but fails...

 diskHandleWrite: FD 8: disk write error: (28) No
space
left on device

what is location of swap.state file

i think your patition or hard drive is getting full

Regards

> I have here a Netra-machine with Solaris 8 and 1GB
> RAM. This machine is
> serving as mailhost/mailscan-machine and Webproxy.
> Today,squid stopped
> because it claimed not to have enough storage space
> to store and it tried
> to rebuild the store database. But even when there
> is enough storage space
> and inodes available, it still crashes:
>
> [..]
> root@host# tail -f /opt/sfw/squid/var/logs/cache.log
>
> 2004/04/27 12:30:59| Starting Squid Cache version
> 2.5.STABLE2-20030411 for
> sparc-sun-solaris2.9...
> 2004/04/27 12:30:59| Process ID 11178
> 2004/04/27 12:30:59| With 1024 file descriptors
> available
> 2004/04/27 12:30:59| DNS Socket created at 0.0.0.0,
> port 59790, FD 5
> 2004/04/27 12:30:59| Adding nameserver
> 212.121.128.10 from /etc/resolv.conf
> 2004/04/27 12:30:59| Adding nameserver
> 212.121.128.11 from /etc/resolv.conf
> 2004/04/27 12:30:59| Unlinkd pipe opened on FD 10
> 2004/04/27 12:30:59| Swap maxSize 18432000 KB,
> estimated 1417846 objects
> 2004/04/27 12:30:59| Target number of buckets: 70892
> 2004/04/27 12:30:59| Using 131072 Store buckets
> 2004/04/27 12:30:59| Max Mem size: 131072 KB
> 2004/04/27 12:30:59| Max Swap size: 18432000 KB
> 2004/04/27 12:30:59| Store logging disabled
> 2004/04/27 12:30:59| Rebuilding storage in /cache
> (DIRTY)
> 2004/04/27 12:30:59| Using Least Load store dir
> selection
> 2004/04/27 12:30:59| Set Current Directory to
> /opt/sfw/squid/var/logs
> 2004/04/27 12:30:59| Loaded Icons.
> 2004/04/27 12:30:59| Accepting HTTP connections at
> 0.0.0.0, port 8080, FD
> 11.
> 2004/04/27 12:30:59| Accepting ICP messages at
> 0.0.0.0, port 3130, FD 12.
> 2004/04/27 12:30:59| WCCP Disabled.
> 2004/04/27 12:30:59| Ready to serve requests.
> 2004/04/27 12:31:00| Store rebuilding is 0.2%
> complete
> 2004/04/27 12:31:15| Store rebuilding is 17.4%
> complete
> 2004/04/27 12:31:32| Store rebuilding is 22.0%
> complete
> 2004/04/27 12:31:48| Store rebuilding is 23.2%
> complete
> 2004/04/27 12:32:03| Store rebuilding is 38.1%
> complete
> Apr 27 12:32:16 boe-stvw-p2 squid[11178]: [ID 702911
> local4.alert] Write
> failure -- check your disk space and cache.log
> 2004/04/27 12:32:16| diskHandleWrite: FD 8: disk
> write error: (28) No space
> left on device
> FATAL: Write failure -- check your disk space and
> cache.log
> Squid Cache (Version 2.5.STABLE2-20030411):
> Terminated abnormally.
> CPU Usage: 38.110 seconds = 20.550 user + 17.560 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> 2004/04/27 12:32:19| Starting Squid Cache version
> 2.5.STABLE2-20030411 for
> sparc-sun-solaris2.9...
> 2004/04/27 12:32:19| Process ID 11194
> 2004/04/27 12:32:19| With 1024 file descriptors
> available
> 2004/04/27 12:32:19| DNS Socket created at 0.0.0.0,
> port 59791, FD 5
> 2004/04/27 12:32:19| Adding nameserver
> 212.121.128.10 from /etc/resolv.conf
> 2004/04/27 12:32:19| Adding nameserver
> 212.121.128.11 from /etc/resolv.conf
> 2004/04/27 12:32:19| Unlinkd pipe opened on FD 10
> 2004/04/27 12:32:19| Swap maxSize 18432000 KB,
> estimated 1417846 objects
> 2004/04/27 12:32:19| Target number of buckets: 70892
> 2004/04/27 12:32:19| Using 131072 Store buckets
> 2004/04/27 12:32:19| Max Mem size: 131072 KB
> 2004/04/27 12:32:19| Max Swap size: 18432000 KB
> 2004/04/27 12:32:19| Store logging disabled
> 2004/04/27 12:32:19| Rebuilding storage in /cache
> (DIRTY)
> 2004/04/27 12:32:19| Using Least Load store dir
> selection
> 2004/04/27 12:32:19| Set Current Directory to
> /opt/sfw/squid/var/logs
> 2004/04/27 12:32:19| Loaded Icons.
> 2004/04/27 12:32:19| Accepting HTTP connections at
> 0.0.0.0, port 8080, FD
> 11.
> 2004/04/27 12:32:19| Accepting ICP messages at
> 0.0.0.0, port 3130, FD 12.
> 2004/04/27 12:32:19| WCCP Disabled.
> 2004/04/27 12:32:19| Ready to serve requests.
> 2004/04/27 12:32:20| Store rebuilding is 0.2%
> complete
> 2004/04/27 12:32:35| Store rebuilding is 19.1%
> complete
> 2004/04/27 12:32:39| Preparing for shutdown after
> 109 requests
> 2004/04/27 12:32:39| Waiting 30 seconds for active
> connections to finish
> 2004/04/27 12:32:39| FD 11 Closing HTTP connection
> 2004/04/27 12:32:50| Store rebuilding is 36.2%
> complete
> Apr 27 12:32:56 boe-stvw-p2 squid[11194]: [ID 702911
> local4.alert] Write
> failure -- check your disk space and cache.log
> 2004/04/27 12:32:56| diskHandleWrite: FD 8: disk
> write error: (28) No space
> left on device
> FATAL: Write failure -- check your disk space and
> cache.log
> Squid Cache (Version 2.5.STABLE2-20030411):
> Terminated abnormally.
> CPU Usage: 33.610 seconds = 18.620 user + 14.990 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> 2004/04/27 12:33:27| Starting Squid Cache version
> 2.5.STABLE2-20030411 for
> sparc-sun-solaris2.9...
> 2004/04/27 12:33:27| Process ID 11239
> 2004/04/27 12:33:27| With 1024 file descriptors
> available
> 2004/04/27 12:33:27| DNS Socket created at 0.0.0.0,
> port 59792, FD 5
> 2004/04/27 12:33:27| Adding nameserver
> 212.121.128.10 from /etc/resolv.conf
> 2004/04/27 12:33:27| Adding nameserver
> 212.121.128.11 from /etc/resolv.conf
> 2004/04/27 12:33:27| Unlinkd pipe opened on FD 10
> 2004/04/27 12:33:27| Swap maxSize 18432000 KB,
> estimated 1417846 objects
> 2004/04/27 12:33:27| Target number of buckets: 70892
> 2004/04/27 12:33:27| Using 131072 Store buckets
> 2004/04/27 12:33:27| Max Mem size: 131072 KB
> 2004/04/27 12:33:27| Max Swap size: 18432000 KB
> 2004/04/27 12:33:27| Store logging disabled
> 2004/04/27 12:33:27| Rebuilding storage in /cache
> (DIRTY)
> 2004/04/27 12:33:27| Using Least Load store dir
> selection
> 2004/04/27 12:33:27| Set Current Directory to
> /opt/sfw/squid/var/logs
> 2004/04/27 12:33:27| Loaded Icons.
> 2004/04/27 12:33:27| Accepting HTTP connections at
> 0.0.0.0, port 8080, FD
> 11.
> 2004/04/27 12:33:27| Accepting ICP messages at
> 0.0.0.0, port 3130, FD 12.
> 2004/04/27 12:33:27| WCCP Disabled.
> [..]
>
> as you can see, it tries to restart everytime.
>
>
> [..]
> root@host# uname -a
> SunOS boe-stvw-p2 5.8 Generic_108528-27 sun4u sparc
> SUNW,UltraAX-i2
>
> root@host# df -o i
> df: operation not applicable for FSType fd
> df: operation not applicable for FSType mntfs
> df: operation not applicable for FSType nfs
> df: operation not applicable for FSType proc
> df: operation not applicable for FSType tmpfs
> Filesystem iused ifree %iused
> Mounted on
> /dev/md/dsk/d10 4568 367144 1% /
> /dev/md/dsk/d30 45367 466633 9% /usr
> /dev/md/dsk/d40 19357 460643 4% /var
> /dev/md/dsk/d60 1592287 935713 63% /cache
> /dev/md/dsk/d50 25493 318571 7% /opt
>
>
> root@host# df -k
> Filesystem kbytes used avail
> capacity Mounted on
> /dev/md/dsk/d10 1487071 1421933 5656 100%
> /
> /dev/md/dsk/d30 4130982 1009143 3080530 25%
> /usr
> /proc 0 0 0 0%
> /proc
> fd 0 0 0 0%
> /dev/fd
> mnttab 0 0 0 0%
> /etc/mnttab
>
=== message truncated ===

__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
Received on Tue Apr 27 2004 - 10:16:54 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT