Re: [squid-users] Squid 2.6 STABLE 16 also crashing

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 5 Oct 2007 13:47:27 +0800

On Thu, Oct 04, 2007, Ali resting wrote:
> Hi Mark,
>
> This problem only started in the last couple of days. I had been running
> squid on the same mchine for years. I have even tried delete the swap
> directories hoping it would help, but still no joy. Any suggestions, is it
> hardware related?

You need to match that stack trace against Squid function calls.
Do you get a coredump? Can you use gdb against the coredump and the
Squid binary to get symbols?

Is your squid binary install actually lacking debugging symbols?

ADrian

>
> Regards,
>
> Ali
>
>
> >From: Marc Kool <Marc.Kool@urlfilterdb.com>
> >To: Ali resting <aliresting@hotmail.com>
> >Subject: Re: [squid-users] Squid 2.6 STABLE 16 also crashing
> >Date: Thu, 4 Oct 2007 16:08:18 +0200
> >
> >Ali,
> >
> >I see that regexec and pthreads are being used.
> >If you have a glibc before 2.4 then you need to upgrade glibc or configure
> >squid not to use pthreads.
> >
> >-Marcus
> >
> >
> >On Thu, Oct 04, 2007 at 03:14:15PM +0200, Ali resting wrote:
> >> Hi Amos,
> >>
> >> I have upgraded to Squid 2.6 STABLE 16 And it is still crashing. See the
> >> log extracts just before it crashes:
> >>
> >> (squid)(death+0x3d)[0x80bb5a9]
> >> /lib/i686/libpthread.so.0[0x4005747e]
> >> (squid)[0x42028c48]
> >> (squid)[0x420c12db]
> >> (squid)[0x420bd350]
> >> (squid)(regexec+0x65)[0x420c2df5]
> >> (squid)(refreshLimits+0x27)[0x80a6d4b]
> >> (squid)[0x808e9ef]
> >> (squid)[0x808f1a4]
> >> (squid)[0x809005e]
> >> (squid)[0x807857e]
> >> (squid)[0x8078bac]
> >> (squid)(comm_select+0xb4)[0x807887c]
> >> (squid)(main+0x2a1)[0x809e0f9]
> >> (squid)(__libc_start_main+0xa4)[0x420158d4]
> >> (squid)(shmat+0x51)[0x8057419]
> >> FATAL: Received Segment Violation...dying.
> >>
> >> (squid)(death+0x3d)[0x80bb5a9]
> >> /lib/i686/libpthread.so.0[0x4005747e]
> >> (squid)[0x42028c48]
> >> (squid)[0x420c12db]
> >> (squid)[0x420bd350]
> >> (squid)(regexec+0x65)[0x420c2df5]
> >> (squid)(refreshLimits+0x27)[0x80a6d4b]
> >> (squid)(getMaxAge+0x24)[0x80a76f8]
> >> (squid)(httpBuildRequestHeader+0x52e)[0x809094a]
> >> (squid)(httpBuildRequestPrefix+0x52)[0x8091096]
> >> (squid)[0x80911ee]
> >> (squid)[0x80764d9]
> >> (squid)[0x807846c]
> >> (squid)[0x8078bac]
> >> (squid)(comm_select+0xb4)[0x807887c]
> >> (squid)(main+0x2a1)[0x809e0f9]
> >> (squid)(__libc_start_main+0xa4)[0x420158d4]
> >> (squid)(shmat+0x51)[0x8057419]
> >> FATAL: Received Segment Violation...dying.
> >> 2007/10/04 14:51:23| Not currently OK to rewrite swap log.
> >> 2007/10/04 14:51:23| storeDirWriteCleanLogs: Operation aborted.
> >>
> >>
> >>
> >>
> >>
> >> >From: "Amos Jeffries" <squid3@treenet.co.nz>
> >> >To: "Ali resting" <aliresting@hotmail.com>
> >> >CC: squid-users@squid-cache.org
> >> >Subject: Re: [squid-users] Squid 2.5-STABLE14 Crashing
> >> >Date: Wed, 3 Oct 2007 10:29:08 +1300 (NZDT)
> >> >
> >> >> Hi,
> >> >>
> >> >> For the last couple of days my squid server keeps crashing and
> >> >restarting
> >> >> itself. I have looked at the cache.log file and this is what I get.
> >This
> >> >> server has been running fine for the last 2 years:
> >> >>
> >> >
> >> >First,
> >> > check your logs are being rotated properly and haven't taken up all
> >disk
> >> >space. And that the system has not run out of inodes.
> >> >
> >> >Second,
> >> > upgrade to a currently supported version of squid, 2.6s16+ or 3.0rc1
> >> >
> >> >
> >> >> (squid)[0x80a1afd]
> >> >> /lib/i686/libpthread.so.0[0x4005747e]
> >> >> (squid)[0x42028c48]
> >> >> (squid)[0x420c12db]
> >> >> (squid)[0x420bd350]
> >> >> (squid)(regexec+0x65)[0x420c2df5]
> >> >> (squid)(vfprintf+0x2d36)[0x804d21a]
> >> >> (squid)(vfprintf+0x39a9)[0x804de8d]
> >> >> (squid)(vfprintf+0x3d4b)[0x804e22f]
> >> >
> >> >That does not look like cache.log content. if it did come from there
> >its
> >> >seriously screwed.
> >> >
> >> >Amos
> >> >
> >> >
> >>
> >> _________________________________________________________________
> >> Express yourself instantly with MSN Messenger! Download today it's FREE!
> >> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >>
> >
> >--
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level bandwidth-capped VPSes available in WA -
Received on Thu Oct 04 2007 - 23:47:34 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT