[SQU] squid 2.3.STABLE4 exited due to signal 25

From: Greg Sunderland <g_sunderland@dont-contact.us>
Date: Mon, 20 Nov 2000 10:45:46 -0600

Hello,
We're using squid 2.3 for are proxy software on Redhat
Linux 6.2 (Linux version 2.2.14-5.0). We had been using
squid 2.3.STABLE1 without problems. On 10/26/00 I
upgraded squid to 2.3.STABLE4 by installing in a different
directory & copied the ACLs and squid.conf from old copy.
I edited squid.conf to use port 4128 and to use /home/squid2
as the cache directory. I did chown squid.squid /home/squid2/
and also the bin, etc, log dirs for squid. It tested ok, so I
edited squid.conf to use 3128 and /home/squid for cache,
then stopped the old squid & started the new squid.

stable1 is installed at /usr/sbin/squid
stable4 is installed at /usr/local/squid
the /home partition has 2.6 GB free.
Luckily, I left stable1 on the system.

All was well until 11/14/00 when squid crashed. It happened
while I was browsing, so I was able to take care of it
quickly Currently, I'm back using squid 2.3.STABLE1 without
problems. Could I have missed a permision or setting? If
needed, I can make the cache.log file or whatever available
at a website.

looking at the cache.log file and message file, it's starting, gets
to 'Ready to serve requests', then dies and retries.

Sorry that this is so long.

In /var/log/messages, i get 5 retries, then it exits:
Nov 14 08:41:56 prox squid[32690]: Squid Parent: child process 32691 started
Nov 14 08:41:57 prox squid[32690]: Squid Parent: child process 32691 exited
due to signal 25
...
Nov 14 08:42:13 prox squid[32690]: Squid Parent: child process 32699 started
Nov 14 08:42:20 prox squid[32690]: Squid Parent: child process 32699 exited
due to signal 25
Nov 14 08:42:20 prox squid[32690]: Exiting due to repeated, frequent
failures

the following shows up in the syslog:
Nov 14 08:42:20 prox squid[32690]: Exiting due to repeated, frequent
failures

on 11/15/00, I had the chance to mess with it abit, and tried
running it with squid -k debug. here's the last couple of
lines from the cache.log file:

2000/11/15 09:58:31| storeUnlockObject:
key 'BF05D16C3B6BF5124DD4162807444533' count=1
2000/11/15 09:58:31| cbdataFree: 0x8681e30
2000/11/15 09:58:31| cbdataReallyFree: Freeing 0x8681e30
2000/11/15 09:58:31| eventRun: RUN ID 611
2000/11/15 09:58:31| eventRun: Running 'storeLateRelease', id 587
2000/11/15 09:58:31| eventAdd: Adding 'storeLateRelease', in 1.000000
seconds
2000/11/15 09:58:31| comm_poll: 1 FDs ready
2000/11/15 09:58:31| comm_poll: FD 9 ready for writing
2000/11/15 09:58:31| commHandleWrite: FD 9: off 0, sz 3402.
2000/11/15 09:58:31| commHandleWrite: write() returns 3402
2000/11/15 09:58:31| cbdataValid: 0x86803b0
2000/11/15 09:58:31| clientWriteComplete: FD 9, sz 3402, err 0, off 6298,
len 6298
2000/11/15 09:58:31| clientWriteComplete: FD 9 transfer is DONE
2000/11/15 09:58:31| clientWriteComplete: FD 9 Keeping Alive
2000/11/15 09:58:31| clientKeepaliveNextRequest: FD 9
2000/11/15 09:58:31| httpRequestFree:
http://www.engeniustech.com/new/cs/res.swf
2000/11/15 09:58:31| httpRequestFree:
al.url='http://www.engeniustech.com/new/cs/res.swf'
2000/11/15 09:58:31| packing hdr: (0x8680864)
2000/11/15 09:58:31| diskHandleWrite: FD 2
2000/11/15 09:58:31| diskHandleWrite: FD 2 writing 160 bytes

Running squid normally, gives the following cache.log entries,
repeated 5 times:

2000/11/15 11:07:46| Starting Squid Cache version 2.3.STABLE4 for i586-pc-
linux-gnu...
2000/11/15 11:07:46| Process ID 1685
2000/11/15 11:07:46| With 1024 file descriptors available
2000/11/15 11:07:46| Performing DNS Tests...
2000/11/15 11:07:46| Successful DNS name lookup tests...
2000/11/15 11:07:46| DNS Socket created on FD 1
2000/11/15 11:07:46| Adding nameserver 151.164.1.8 from /etc/resolv.conf
2000/11/15 11:07:46| Adding nameserver 151.164.1.7 from /etc/resolv.conf
2000/11/15 11:07:46| Unlinkd pipe opened on FD 6
2000/11/15 11:07:46| Swap maxSize 512000 KB, estimated 39384 objects
2000/11/15 11:07:46| Target number of buckets: 787
2000/11/15 11:07:46| Using 8192 Store buckets
2000/11/15 11:07:46| Max Mem size: 4096 KB
2000/11/15 11:07:46| Max Swap size: 512000 KB
2000/11/15 11:07:46| Rebuilding storage in /home/squid (DIRTY)
2000/11/15 11:07:46| Set Current Directory to /home/squid
2000/11/15 11:07:46| Loaded Icons.
2000/11/15 11:07:46| Accepting HTTP connections at 0.0.0.0, port 3128, FD 8.
2000/11/15 11:07:46| WCCP Disabled.
2000/11/15 11:07:46| Ready to serve requests.

cache log entry for stable1 after restart:
2000/11/15 11:22:31| Squid Cache (Version 2.3.STABLE1): Exiting normally.
2000/11/15 11:22:32| Starting Squid Cache version 2.3.STABLE1 for i686-pc-
linux-gnu...
2000/11/15 11:22:32| Process ID 1772
2000/11/15 11:22:32| With 1024 file descriptors available
2000/11/15 11:22:32| DNS Socket created on FD 1
2000/11/15 11:22:32| Adding nameserver 151.164.1.8 from /etc/resolv.conf
2000/11/15 11:22:32| Adding nameserver 151.164.1.7 from /etc/resolv.conf
2000/11/15 11:22:32| Unlinkd pipe opened on FD 6
2000/11/15 11:22:32| Swap maxSize 512000 KB, estimated 39384 objects
2000/11/15 11:22:32| Target number of buckets: 787
2000/11/15 11:22:32| Using 8192 Store buckets
2000/11/15 11:22:32| Max Mem size: 8192 KB
2000/11/15 11:22:32| Max Swap size: 512000 KB
2000/11/15 11:22:32| Using LFUDA disk replacement policy
2000/11/15 11:22:32| Rebuilding storage in /home/squid (CLEAN)
2000/11/15 11:22:32| Set Current Directory to /home/squid
2000/11/15 11:22:32| Loaded Icons.
2000/11/15 11:22:32| Accepting HTTP connections at 0.0.0.0, port 3128, FD 8.
2000/11/15 11:22:32| Accepting SNMP messages on port 3401, FD 9.
2000/11/15 11:22:32| WCCP Disabled.
2000/11/15 11:22:32| Ready to serve requests.

I find it strange that it worked for a few weeks, then died.
If anyone has any ideas, thank you in advance.

Greg Sunderland
g_sunderland@landoll.com

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Nov 20 2000 - 09:55:09 MST

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