Re: [squid-users] Squid2.5Stable3 slow after go through whole list of acl

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 3 Jul 2003 10:34:57 +0200

On Thursday 03 July 2003 07.53, Tan Jun Min wrote:
> i found that the only acl lists causing the squid to utilize a lots
> of cpu time is the lists which contains the allow & deny lists.
> It's impossible for me to remove any url listed. This is my
> configuration in squid.conf:
>
> acl unauth_url url_regex -i "/apps/squid/etc/urldeny"
> acl auth_url url_regex -i "/apps/squid/etc/urlallow"
>
> where urldeny & urlallow is the text files contains the urls to
> deny & allow. i suspect squid will go thru' this lists whenever
> user access a url which causes the high cpu utilization.
> Any other suggestion?

Try to make more efficient allow/deny list utilizing more efficiend
acl types than url_regex where possible.

For example, for blocking whole domains use the dstdomain acl type.
For blocking by IP address use dst.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Thu Jul 03 2003 - 02:35:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:49 MST