Re: [squid-users] Odd behaivoir

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 07 Oct 2009 12:57:34 +1300

On Tue, 6 Oct 2009 17:57:24 -0500, Luis Daniel Lucio Quiroz
<luis.daniel.lucio_at_gmail.com> wrote:
> Hi Squids,
>
> Using Squid 3.0.19 we're having problems adding one more ACL. Our
> configuration has about 2000 http_access and about 2500 acl's.
>
> Now, adding one more acl, or even modifying a file pointed by an acl such
> as
> acl myacl dstregexp "myfile", our squid is slowing to much.
>
> Symtopms:
> - squid -k pharse, OK
> - squid -k reconfigure, squid slows. cache.log says squid is reloading
but
> it
> is too slow, squid process begins to uses about 99% of cpu. No "dying"
> message
> at log.
>
> I wonder to know if there is a maximun in squid acl, https, regexp.

No defined limits as such. It's just long lists/trees that need to be
walked over individually on each use and built on reconfigure.

The http_access list get walked once per request. Each ACL (mostly trees,
some lists) get walked once per test. How fast or slow really depends on
what types of ACL and what order you place them in http_access.

Why do you have so many?

Amos
Received on Tue Oct 06 2009 - 23:57:46 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 07 2009 - 12:00:02 MDT