Squid Hangs

From: Thomas, Larry <lothomas@dont-contact.us>
Date: Thu, 3 Aug 2000 08:47:33 -0500

I have a weird problem with squid. I runs fine for a while and will then
hang for no apparent reason. I have looked in the cache.log and access.log
and don't see any errors that stick out. There are also no errors in the
syslog or messages file.
The resources on the box seem to be ok, plenty of disk, memory, and cpu.
This is running on a P2300 with 384MB of memory. Running Linux 6.2 and squid
2.3 STABLE2

When Squid hangs it doesn't log anything, and the squid process starts
eating up all the cpu cycles, and cpu idle goes to 0%. I do a ptrace on the
squid process and it doesn't return anything.

The only odd thing I see in the cache log is when I restart it shows my
cache dirty, but looks like it cleans it ok.
Here is some of my cache.log file

2000/08/03 08:43:17| Starting Squid Cache version 2.3.STABLE2 for
i686-pc-linux-gnu...
2000/08/03 08:43:17| Process ID 8314
2000/08/03 08:43:17| With 1024 file descriptors available
2000/08/03 08:43:17| Performing DNS Tests...
2000/08/03 08:43:17| Successful DNS name lookup tests...
2000/08/03 08:43:17| DNS Socket created on FD 1
2000/08/03 08:43:17| Adding nameserver 128.1.4.253 from /etc/resolv.conf
2000/08/03 08:43:17| Adding nameserver 128.1.1.4 from /etc/resolv.conf
2000/08/03 08:43:17| helperOpenServers: Starting 20 'ncsa_auth' processes
2000/08/03 08:43:17| Unlinkd pipe opened on FD 26
2000/08/03 08:43:17| Swap maxSize 2048000 KB, estimated 157538 objects
2000/08/03 08:43:17| Target number of buckets: 3150
2000/08/03 08:43:17| Using 8192 Store buckets
2000/08/03 08:43:17| Max Mem size: 153600 KB
2000/08/03 08:43:17| Max Swap size: 2048000 KB
2000/08/03 08:43:17| Rebuilding storage in /cache (DIRTY)
2000/08/03 08:43:17| Rebuilding storage in /usr/cache (DIRTY)
2000/08/03 08:43:17| Rebuilding storage in /home/cache (DIRTY)
2000/08/03 08:43:17| Set Current Directory to /cache2000/08/03 08:43:17|
Loaded Icons.
2000/08/03 08:43:17| Accepting HTTP connections at 0.0.0.0, port 3128, FD
32.
2000/08/03 08:43:17| Accepting ICP messages at 0.0.0.0, port 3130, FD 33.
2000/08/03 08:43:17| WCCP Disabled.
2000/08/03 08:43:17| Ready to serve requests.
2000/08/03 08:43:17| Configuring Parent pigpen.sbec.com/80/0
2000/08/03 08:43:20| Done reading /usr/cache swaplog (27368 entries)
2000/08/03 08:43:20| Done reading /home/cache swaplog (27801 entries)
2000/08/03 08:43:21| Done reading /cache swaplog (64411 entries)
2000/08/03 08:43:21| Finished rebuilding storage from disk.
2000/08/03 08:43:21| 119532 Entries scanned
2000/08/03 08:43:21| 0 Invalid entries.
2000/08/03 08:43:21| 0 With invalid flags.
2000/08/03 08:43:21| 119487 Objects loaded.
2000/08/03 08:43:21| 0 Objects expired.
2000/08/03 08:43:21| 45 Objects cancelled.
2000/08/03 08:43:21| 0 Duplicate URLs purged.
2000/08/03 08:43:21| 0 Swapfile clashes avoided.
2000/08/03 08:43:21| Took 4.1 seconds (28836.3 objects/sec).
2000/08/03 08:43:21| Beginning Validation Procedure
2000/08/03 08:43:21| Completed Validation Procedure
2000/08/03 08:43:21| Validated 119487 Entries
2000/08/03 08:43:21| store_swap_size = 1089779k
2000/08/03 08:43:22| storeLateRelease: released 0 objects
Received on Thu Aug 03 2000 - 07:49:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:42 MST