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/, [EMAIL PROTECTED]

Reply via email to