Robert Collins wrote:
>
>>-----Original Message-----
>>From: Joe Cooper [mailto:joe@swelltech.com]
>>Sent: Wednesday, March 20, 2002 4:56 AM
>>To: Pat Lendon
>>Cc: squid-users@squid-cache.org
>>Subject: Re: [squid-users] high cpu usage
>>
>>
>>A small number of url_regex acls shouldn't cause a huge
>>burden on your
>>box. It is primarily a concern when there are many (20+ probably).
>>
>
> What is a problem is if they are reused:
>
> acl regex foo blah
> acl regex foo2 blah2
> acl regex foo3 blah3
>
> http_access deny foo !foo2
> http_access deny foo2 !foo3
> http_access allow foo3 foo
>
> cache_peer_access allow peer1 foo
>
> will evaluate foo2 and foo3 twice, and foo three times. Real life
> scenarios can be worse....
You're quite right. It didn't really even occur to me (most of our
clients use regex for blocking nimda, and that's it).--
Joe Cooper <joe@swelltech.com>
http://www.swelltech.com
Web Caching Appliances and Support
Received on Tue Mar 19 2002 - 15:21:41 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:00 MST