RE: [squid-users] Problem with squid... Dirty Cache constant restart loop....

From: Gert Brits <[email protected]>
Date: Mon, 25 Jul 2005 15:43:08 +0200

Hi There

1.) Check your disk space ( your cache partition if it is on its own ).
2.) Check if you have a proper DNS server that can resolve DNS names
under /etc/resolve.conf
3.) Remove your old cache under your cache directory.
4.) squid -z
5.) restart squid.

 

-----Original Message-----
From: Ross McInnes [mailto:sysrm@stvincent.ac.uk]
Sent: 25 July 2005 03:27 PM
To: squid-users@squid-cache.org
Subject: [squid-users] Problem with squid... Dirty Cache constant
restart loop....

Hi all.

Been running squid for years, never really had any problems till today.

Everything seems to have been running fine till just before 12pm..

Then someone comes in and asks if the net is down.... Sure enough squid
has died and is no longer running on the server.

I do a service squid start

Try to connect to the internet again... Nothing. No username/password
request etc.

Tail -f /var/log/squid/cache.log I get...

2005/07/25 15:10:14| Starting Squid Cache version 2.4.STABLE6 for
i686-pc-linux-gnu... 2005/07/25 15:10:14| Process ID 5379 2005/07/25
15:10:14| With 1024 file descriptors available 2005/07/25 15:10:14|
Performing DNS Tests... 2005/07/25 15:10:14| Successful DNS name lookup
tests... 2005/07/25 15:10:14| DNS Socket created on FD 4 2005/07/25
15:10:14| Adding nameserver 127.0.0.1 from /etc/resolv.conf 2005/07/25
15:10:14| helperOpenServers: Starting 20 'squirm' processes 2005/07/25
15:10:14| helperOpenServers: Starting 15 'ncsa_auth' processes
2005/07/25 15:10:17| Unlinkd pipe opened on FD 44 2005/07/25 15:10:17|
Swap maxSize 61440000 KB, estimated 4726153 objects 2005/07/25 15:10:17|
Target number of buckets: 236307 2005/07/25 15:10:17| Using 262144 Store
buckets 2005/07/25 15:10:17| Max Mem size: 8192 KB 2005/07/25 15:10:17|
Max Swap size: 61440000 KB 2005/07/25 15:10:17| Rebuilding storage in
/var/squid/cache (DIRTY) 2005/07/25 15:10:17| Using Least Load store dir
selection 2005/07/25 15:10:17| Set Current Directory to /var/squid/cache

Repeated over and over and over etc.

Ok, I figure that the cached files are not happy,

So I remove the cache files, then set them back up using -z still the
same problem.

Rebooted the box, removed squirm and ncsa_auth, still the same... Im
looking to remove the cache next to see if that helps it.

Looked on google etc for this problem and no one seems to have an
answer....

Any ideas?

Many Thanks

Ross
Received on Mon Jul 25 2005 - 07:43:39 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:03 MDT