RE: [squid-users] Squid constantly restarting...

From: Schuster, Dan <[email protected]>
Date: Thu, 21 Nov 2002 09:06:58 -0600

>> > Our squid process is constantly receiving a signal 6 and terminates and
>> > then restarts. It is always preceded with a FATAL:

>Can you get a backtrace?

2002/11/21 08:44:11| storeDirWriteCleanLogs: Starting...
2002/11/21 08:44:11| Finished. Wrote 0 entries.
2002/11/21 08:44:11| Took 0.0 seconds ( 0.0 entries/sec).
FATAL: bad return value from commDeferRead(FD 23)

Program received signal SIGABRT, Aborted.
0x400c1b11 in __kill () from /lib/i686/libc.so.6
(gdb) backtrace
#0 0x400c1b11 in __kill () from /lib/i686/libc.so.6
#1 0x400c18ea in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x400c3092 in abort () at ../sysdeps/generic/abort.c:88
#3 0x08099e21 in fatal ()
#4 0x08099e52 in fatalf ()
#5 0x080632a2 in comm_poll ()
#6 0x08081843 in main ()
#7 0x400af657 in __libc_start_main (main=0x8081574 <main>, argc=2,
ubp_av=0xbffffb14, init=0x8049a8c <_init>,
    fini=0x80a9cec <_fini>, rtld_fini=0x4000dcd4 <_dl_fini>,
stack_end=0xbffffb0c) at ../sysdeps/generic/libc-start.c:129
(gdb) quit

>Also, you might want to tweak the source and
>get the returned defer value. (Hmm, also, do a make clean and then
>rebuild. It's possible you have a partial-delay-pools build with a
>non-delaypoolsbuild).

The defer value is printed out in the FATAL statement, the about value was
(FD) 23. There appears to be no consistency in that value and has been
anything from 13 to 247.

I have done a make clean, but I have never enabled delay-pools before. My
squid is complied with: Squid Cache: Version 2.5.STABLE1

configure options: --prefix=/usr --exec_prefix=/usr --bindir=/usr/sbin
--datadir=/usr/sbin --libexecdir=/usr/sbin --localstatedir=/var
--sysconfdir=/etc/squid --enable-snmp --enable-removal-policies=heap,lru
--enable-storeio=ufs,null --disable-wccp --disable-ident-lookups
--enable-cachemgr-hostname=myprivatehost.com

Thanks again,
-Dan
Received on Thu Nov 21 2002 - 09:28:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:21 MST