RE: [squid-users] Squid Stops Responding Sporadically

From: Marcel Grandemange <thavinci_at_thavinci.za.net>
Date: Fri, 14 Nov 2008 10:57:13 +0200

> Hi,
> could you please give us a few more details? Squid version (squid
> -v), operating system, whether you got a binary package or rolled your
> own, a few info about the setup (forward proxy? Reverse? Transparent?)
> It's hard to tell from what I read so far, unless I missed something
>

>He has said 3.0.stable10. With aufs problems as well, so probably running
>on some form of BSD.

>The rest of the Q's still need answering though. I'm particularly
>interested in the configure options used to build, confirmation of the OS,
>the rest of the backtrace from the core, and whether its a vanilla squid
>or patched.

>Amos

Ok for more info....

System im running on...
FreeBSD thavinci.za.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon Aug 25
16:03:40 SAST 2008
thavinci_at_thavinci.za.net:/usr/src/sys/amd64/compile/thavinci amd64

Build options....
Squid Cache: Version 3.0.STABLE10
configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin'
'--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid'
'--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid'
'--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap'
'--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll'
'--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=DB NCSA PAM
MSNT SMB squid_radius_auth YP' '--enable-digest-auth-helpers=password'
'--enable-external-acl-helpers=ip_user session unix_group wbinfo_group'
'--enable-ntlm-auth-helpers=SMB' '--with-pthreads' '--enable-storeio=ufs
diskd null aufs' '--enable-delay-pools' '--enable-ssl' '--with-openssl=/usr'
'--enable-wccpv2' '--disable-ident-lookups' '--enable-arp-acl'
'--enable-ipfw-transparent' '--enable-kqueue' '--with-large-files'
'--enable-stacktraces' '--enable-err-languages=Armenian Azerbaijani
Bulgarian Catalan Czech Danish Dutch English Estonian Finnish French German
Greek Hebrew Hungarian Italian Japanese Korean Lithuanian Polish
Portuguese Romanian Russian-1251 Russian-koi8-r Serbian Simplify_Chinese
Slovak Spanish Swedish Traditional_Chinese Turkish Ukrainian-1251
Ukrainian-koi8-u Ukrainian-utf8' '--enable-default-err-language=templates'
'--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/'
'--build=amd64-portbld-freebsd7.0' 'build_alias=amd64-portbld-freebsd7.0'
'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -I/usr/include -g' 'LDFLAGS=
-rpath=/usr/lib:/usr/local/lib -L/usr/lib' 'CPPFLAGS=' 'CXX=c++'
'CXXFLAGS=-O2 -fno-strict-aliasing -pipe -I/usr/include -g'

Built it from FreeBSD ports.
It is a pretty simple setup...
Config available from...

http://www.thavinci.za.net/Downloads/squid-new.conf

> On 11/13/08, Marcel Grandemange <thavinci_at_thavinci.za.net> wrote:
>>>Good day.
>>
>>
>>>Im wondering if anybody else has experienced this.
>>>Since ive upgraded to squid3stable10 the proxy continuously stops
>>>responding.
>>>Firefox will say something along the lines of the proxy isn't setup to
>>>accept connections.
>>
>>>I hit refresh and it loads page perfectly, then next page it loads all
>>> the
>>>pics half .... and so on..
>>
>>
>>>This has only been introduced in stable10 and isn't the link as I tested
>>>with a neighboring cache running stable9, no issues.
>>
>>>Under further investigation system log file presented following:
>>
>>>Nov 13 19:37:21 thavinci kernel: pid 66367 (squid), uid 100: exited on
>>>signal 6 (core dumped)
>>>Nov 13 19:37:21 thavinci squid[66118]: Squid Parent: child process 66367
>>>exited due to signal 6
>>>Nov 13 19:37:24 thavinci squid[66118]: Squid Parent: child process 66370
>>>started
>>
>> Under Even further investigation cache.log revealed following...
>> JUST before squid crashes each time there is the following entry...
>>
>> 2008/11/14 00:03:55| assertion failed: client_side_reply.cc:1843:
>> "reqofs <=
>> HTTP_REQBUF_SZ || flags.headersSent"
>>
>>
>>>Also for those interested, a while back I had issues with the
>>> performance
>> of
>>>squid...
>>>Objects retrieved out of cache never went faster than 400K, turned out
>>> when
>>>I changed my cache_dir from aufs to ufs this was resolved, now objects
>>> some
>>>down full speed on LAN.
>>
>> I am pretty desperate to get this problem solved as this is affecting us
>> big
>> time.
>>
>>
>>
>
>
> --
> /kinkie
>
Received on Fri Nov 14 2008 - 08:57:42 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 14 2008 - 12:00:03 MST