[squid-users] Debugging slow access

Eliezer Croitoru eliezer at ngtech.co.il
Mon Jan 5 20:11:10 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you had the chance to take look at bug 3997:
http://bugs.squid-cache.org/show_bug.cgi?id=3997

The issue is being tested and there is something that causing it and
from my understanding squid does something wrong but I cannot confirm
it as the source.
If you can add the new details about the issue in the bug report it
will help a lot.

Eliezer

On 01/05/2015 07:48 PM, Steve Hill wrote:
> On 05.01.15 16:35, Eliezer Croitoru wrote:
> 
>> Can you share the "squid -v" output and the OS you are using?
> 
> Scientific Linux 6.6, see below for the squid -v output.
> 
> I've now more or less confirmed that this is the cause of my
> performance problems - every so often I see Squid using all the CPU
> whilst servicing very few requests.  Most of the CPU time is being
> used by the appendNewOnly() function.  For example, 228
> milliseconds for appendNewOnly() to process a request with 2687
> "token" notes attached to it, and this can happen more than once
> per request.
> 
> 
> Squid Cache: Version 3.4.10 configure options:
> '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu'
> '--target=x86_64-redhat-linux-gnu' '--program-prefix='
> '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
> '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
> '--includedir=/usr/include' '--libdir=/usr/lib64' 
> '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' 
> '--mandir=/usr/share/man' '--infodir=/usr/share/info' 
> '--exec_prefix=/usr' '--libexecdir=/usr/lib64/squid' 
> '--localstatedir=/var' '--datadir=/usr/share/squid' 
> '--sysconfdir=/etc/squid'
> '--with-logdir=$(localstatedir)/log/squid' 
> '--with-pidfile=$(localstatedir)/run/squid.pid' 
> '--disable-dependency-tracking' '--enable-arp-acl' 
> '--enable-follow-x-forwarded-for' '--enable-auth' 
> '--enable-auth-basic-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,DB,POP3,squid_radius_auth'
>
> 
'--enable-auth-ntlm-helpers=smb_lm,no_check,fakeauth'
> '--enable-auth-digest-helpers=password,ldap,eDirectory' 
> '--enable-auth-negotiate-helpers=squid_kerb_auth' 
> '--enable-external-acl-helpers=file_userip,LDAP_group,unix_group,wbinfo_group'
>
> 
'--enable-cache-digests' '--enable-cachemgr-hostname=localhost'
> '--enable-delay-pools' '--enable-epoll' '--enable-icap-client' 
> '--enable-ident-lookups' '--enable-linux-netfilter' 
> '--enable-referer-log' '--enable-removal-policies=heap,lru' 
> '--enable-snmp' '--enable-ssl'
> '--enable-storeio=aufs,diskd,ufs,rock' '--enable-useragent-log'
> '--enable-wccpv2' '--enable-esi' '--with-aio' 
> '--with-default-user=squid' '--with-filedescriptors=16384'
> '--with-dl' '--with-openssl' '--with-pthreads'
> 'build_alias=x86_64-redhat-linux-gnu' 
> 'host_alias=x86_64-redhat-linux-gnu' 
> 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-fPIE -Os -g -pipe 
> -fsigned-char -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> -mtune=generic' 'LDFLAGS=-pie' 'CXXFLAGS=-fPIE -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic' 
> 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig' 
> --enable-ltdl-convenience

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUqu/eAAoJENxnfXtQ8ZQUaBAH/146ro2Zhu05/d1hMdMo4e9V
6vreXFmlaNYhoP+/drvefLhSN53TtFtKkhcvnM5IZOQoVSS/Sv8pe/uQ04Z7LksM
kfB24SP/rSM8l1QFTH+v0usdUDbm/uLZk5BYvxCI2zoJCQ/PW4v4gFAepUyKqOFH
I9fjg168wn9bdKe+jtQ5d1y5jkYewBe8ijfwIeUVcHHwnK2q/38V/61JmdGLpjGW
cBmxTujLPpufSgP2fUXIdinM1ZRWoINh5OXVJuzj8DO2BJCVf37btW4Xv8BrpSuK
2qbKHR+k+wpJUhbd29lqpHYxHal6PhN4dHA++G/zM5c97CxHTSdf6QKO5R462HY=
=vKmo
-----END PGP SIGNATURE-----


More information about the squid-users mailing list