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

From: Tan Jun Min <tanjm@dont-contact.us>
Date: Wed, 9 Jul 2003 15:14:16 +0800

Is there a ways to simplify these urls to avoid the use of url_regex or
urlpath_regex in squid.conf.

.*://.*.malaysia.net/sarawak/.*
.*://.*twosteps.com.*/.*magnum4d.*/.*
.*://.*.nifty.com.*/.*.jpg
.*://.*lithium.sta.man.ac.uk:81.*/.*
http://adserver.e-asia.com.my/RealMedia/ads/adstream_jx.cgi/www.amy.org.my/jpm@Top
http://202.186.154.16/appl/.*

On Thursday 03 July 2003 04:34 pm, Henrik Nordstrom wrote:
> 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
Received on Wed Jul 09 2003 - 01:14:20 MDT

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