[squid-users] Squid keeps restarting ?

From: Ian Clancy <ClancyIan@dont-contact.us>
Date: Wed, 7 Apr 2004 21:16:52 +0100

Hello Squid Users,
I've been successfully running squid2.5 stable3 on RH9 for about 9 months.
However, last week i patched to stable5 and rebuilt squid. At first
everything seemed to be working fine but then i noticed a lot of activity in
the cache.log file. Squid is stoping and starting every hour or two. Here
are the relevent entries in cache.log :

--------------------cache.log-----------------------------------------

2004/04/07 10:03:17| WARNING: 1 swapin MD5 mismatches
2004/04/07 10:03:52| WARNING: 10 swapin MD5 mismatches
2004/04/07 10:04:44| assertion failed: helper.c:323: "srv->flags.reserved"
2004/04/07 10:04:54| Starting Squid Cache version 2.5.STABLE5 for
i686-pc-linux-gnu...
2004/04/07 10:04:54| Process ID 20771
2004/04/07 10:04:54| With 1024 file descriptors available
2004/04/07 10:04:54| Performing DNS Tests...
2004/04/07 10:04:54| Successful DNS name lookup tests...
2004/04/07 10:04:54| DNS Socket created at 0.0.0.0, port 40151, FD 5
2004/04/07 10:04:54| Adding nameserver 192.1.2.4 from /etc/resolv.conf
2004/04/07 10:04:54| Adding nameserver 192.1.2.5 from /etc/resolv.conf
2004/04/07 10:04:54| Adding nameserver 192.111.39.1 from /etc/resolv.conf
2004/04/07 10:04:54| helperStatefulOpenServers: Starting 10 'wb_ntlmauth'
processes
(wb_ntlmauth)[20773](wb_ntlm_auth.c:352): target domain is CEL
(wb_ntlmauth)[20780](wb_ntlm_auth.c:352): target domain is CEL
(wb_ntlmauth)[20781](wb_ntlm_auth.c:352): target domain is CEL
2004/04/07 10:04:54| helperOpenServers: Starting 5 'wb_auth' processes
2004/04/07 10:04:54| helperOpenServers: Starting 5 'wb_group' processes
2004/04/07 10:04:54| Unlinkd pipe opened on FD 30
2004/04/07 10:04:54| Swap maxSize 122880 KB, estimated 9452 objects
2004/04/07 10:04:54| Target number of buckets: 472
2004/04/07 10:04:54| Using 8192 Store buckets
2004/04/07 10:04:54| Max Mem size: 8192 KB
2004/04/07 10:04:54| Max Swap size: 122880 KB
2004/04/07 10:04:54| Store logging disabled
2004/04/07 10:04:54| Rebuilding storage in /usr/local/squid/var/cache
(DIRTY)
2004/04/07 10:04:54| Using Least Load store dir selection
2004/04/07 10:04:54| Set Current Directory to /usr/local/squid/var/cache
2004/04/07 10:04:54| Loaded Icons.
2004/04/07 10:04:54| Accepting HTTP connections at 0.0.0.0, port 8080, FD
31.
2004/04/07 10:04:54| Accepting ICP messages at 0.0.0.0, port 3130, FD 32.
2004/04/07 10:04:54| WCCP Disabled.
2004/04/07 10:04:54| Ready to serve requests.
2004/04/07 10:04:55| Store rebuilding is 26.5% complete
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00000F25
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00000F26
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00000F27
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00000F44
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00000F45
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00000F78
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00000F86
2004/04/07 10:04:55| WARNING: newer swaplog entry for dirno 0, fileno
00001003
2004/04/07 10:04:55| Done reading /usr/local/squid/var/cache swaplog (15462
entries)
2004/04/07 10:04:55| Finished rebuilding storage from disk.
2004/04/07 10:04:55| 13766 Entries scanned
2004/04/07 10:04:55| 0 Invalid entries.
2004/04/07 10:04:55| 0 With invalid flags.
2004/04/07 10:04:55| 13497 Objects loaded.
2004/04/07 10:04:55| 0 Objects expired.
2004/04/07 10:04:55| 8 Objects cancelled.
2004/04/07 10:04:55| 111 Duplicate URLs purged.
2004/04/07 10:04:55| 261 Swapfile clashes avoided.
2004/04/07 10:04:55| Took 1.0 seconds (12886.5 objects/sec).
2004/04/07 10:04:55| Beginning Validation Procedure
2004/04/07 10:04:55| Completed Validation Procedure
2004/04/07 10:04:55| Validated 13386 Entries
2004/04/07 10:04:55| store_swap_size = 121588k
2004/04/07 10:04:56| storeLateRelease: released 0 objects

--------------------cache.log-----------------------------------------

On occasion i also recieve this warning :

2004/04/07 15:09:23| WARNING: Disk space over limit: 124568 KB > 122880 KB

Obviously this means that the cache is full. Why would squid squid not be
able to delete some older enteries from the cache ?.

Thanks for any help.

Ian Clancy

Legal Disclaimer: Any views expressed by the sender of this message are
not necessarily those of Connaught Electronics Ltd. Information in this
e-mail may be confidential and is for the use of the intended recipient
only, no mistake in transmission is intended to waive or compromise such
privilege. Please advise the sender if you receive this e-mail by mistake.
Received on Wed Apr 07 2004 - 14:23:55 MDT

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