[squid-users] High cpu usage by re_search_internal

Amos Jeffries squid3 at treenet.co.nz
Sat Oct 4 13:27:12 UTC 2014


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

On 5/10/2014 1:04 a.m., Omid Kosari wrote:
> Hi,
> 
> I have 2 squid boxes . Same version,OS and almost same
> config,hardware . Both have same problem also . normally cpu usage
> by squid is very high . I have tried this guide
> http://wiki.squid-cache.org/SquidFaq/SquidProfiling and found more
> than 85% of cpu usage is by re_search_internal symbol name . Please
> help me to solve this problem

Ah. regex bites again.

re_search_internal is a regex pattern match being scanned on some data.

Go through your squid.conf and minimize the amount of regex ACLs and
other directives you are using. If you want some assistance with that
post it here and us chickens can peck at it.

Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUL/WwAAoJELJo5wb/XPRjaPQIAM/nO1afdt8nUr8jXY+zlBuf
qO0t8ODr+Bg58kbiV1s3J2yntFpQncEcttVPsN/h6tqVkdEfhjruU+IdnEU7caRi
bQM0EPmAXs1FAfFWy+KfeIVFqSPKp0Bh8cV0wxgM39084002PQopQoZ/iHzEyuBg
S1H8jF2/2iqL2MKDEN4e6HwfUuBy9unuJLikD5h1lNwriW31avEtoicnI/w/r8qd
be0TmrOWeKkRe5gcIl5D/lFUghKWcgyDGePEwnM2LUrm/oOufEPD59THP/j8GNur
5/BvxmYzo/ojOl843HMbCtcaNzyoUKXO/1M1GfDclCN/7pIJ4t86mbVmk5d5R7M=
=pIdC
-----END PGP SIGNATURE-----


More information about the squid-users mailing list