Re: Squid is becoming slow with 3000 ACL's ...

From: Gero J. Dittmer <Gero.Dittmer@dont-contact.us>
Date: Wed, 02 Sep 1998 17:14:10 +0200

>But running ./configure gives
>
> checking if GNUregex needs to be compiled... no
>
>I guess this is only checking if there is no regex package
>installed at all?
>
>Could you elaborate on the Linux regex issue? I for one
>thought Linux would be using the one from the GNU C library...

The problems I had with the regex shipped with Linux were overall
performance and the effect that is ceased matching after some time,
effectively wiping out all ACLs.

I hacked "configure" to enforce use of GNUregex and it solved my problems.

Gero

>
>
>-GSH
>
>Gero J. Dittmer wrote:
>>
>> >Dear Squid users,
>> >
>> >A colleague of my is using ACL's to block a number of domains/Web-sites
>> >(3000 in total) for his school cache.. This cache (Squid v1.1.20 and
>> >Squid 1.2beta21) is becoming very slow (respons-times over 5 seconds)..
>> >It looks like Squid is sequentially examening these ACL's..
>> >
>> >Is Squid v1.2-beta24pl1 better able handling these relative large number
>> >of ACL's?? Or is a patch available to get a Btree search of these ACL's..
>> >
>>
>> Check that squid is using the GNU regex shipped with the source. I found
>> Linux regex packages causing delays and failures.
>

-----------------------------------------------------------
--- Ammirati Puris Lintas ---
--- Gero Dittmer, Mittelweg 177, 21048 Hamburg, Germany ---
--- phone: +49 40 41441217 fax: +49 40 41441616 ---
--- Email: Gero.Dittmer@hamburg.aplnet.com ---
--- ... waiting for a unicorn under chapter eleven ... ---
Received on Wed Sep 02 1998 - 08:15:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:50 MST