On 08.03.2012 12:51, David Touzeau wrote:
Dear,
I'm using Squid Cache: Version 3.2.0.15-20120306-r11529 in i386 on
Ubuntu 10.04
iptables v1.4.4 and kernel 2.6.32-38-generic-pae #83-Ubuntu SMP
In transparent mode with iptables.
Each 10 Minutes we are unable to access to Internet and there is a
squid crash.
Restart squid service solve the issue.
Is there a tip/trick to fix it ?
[ 14.445583] [drm] Initialized radeon 2.0.0 20080528 for
0000:04:00.0 on minor 0
[ 14.694306] vga16fb: initializing
[ 14.694309] vga16fb: mapped to 0xc00a0000
[ 14.694312] vga16fb: not registering due to another framebuffer
present
[ 14.883342] Console: switching to colour frame buffer device
128x48
[ 16.883375] Loading iSCSI transport class v2.0-870.
[ 17.722963] iscsi: registered transport (tcp)
[ 18.491243] iscsi: registered transport (iser)
[ 25.208015] eth0: no IPv6 routers present
[ 44.602329] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 44.676368] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 44.676699] CONFIG_NF_CT_ACCT is deprecated and will be removed
soon. Please use
[ 44.676701] nf_conntrack.acct=1 kernel parameter, acct=1
nf_conntrack module option or
[ 44.676702] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 392.296569] squid[7663]: segfault at 0 ip (null) sp bfa8e03c error
14 in squid[8048000+415000]
[ 658.532544] squid[8352]: segfault at 0 ip (null) sp bfa52cdc error
14 in squid[8048000+415000]
[ 740.928753] squid[8429]: segfault at 0 ip (null) sp bfe9f12c error
14 in squid[8048000+415000]
[ 760.620663] squid[8377]: segfault at 0 ip (null) sp bfc02e2c error
14 in squid[8048000+415000]
[199121.864727] squid[32681]: segfault at 49 ip 082ab397 sp bfd39740
error 4 in squid[8048000+415000]
Any core backtrace info as to what line of code "[8048000+415000]" is?
Please try the .16 package too. Several more important bug fixes went
in there.
Compilation options :
Quite a few obsolete options in that list,
http://www.squid-cache.org/Versions/v3/3.0/RELEASENOTES.html#removedoptions
'--disable-dlmalloc'
'--enable-forward-log'
'--enable-large-cache-files'
'--enable-truncate'
http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html#removedoptions
'--enable-default-err-language=English'
'--enable-err-languages=English'
http://www.squid-cache.org/Versions/v3/3.2/RELEASENOTES.html#removedoptions
'--enable-auth-negotiate-helpers'
'--enable-arp-acl'
... guess which setting will build with:
'--with-maxfd=32000'
'--with-filedescriptors=16384'
'--with-maxfd=16384'
or
'--with-aufs-threads=10'
CFLAGS=-DNUMTHREADS=60
... and one option that never existed:
'--enable-icap-support'
Amos