Re: [squid-users] access contrl and CPU

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 6 Sep 2001 18:16:28 -0600 (MDT)

On Wed, 5 Sep 2001, e wrote:

> Hi every one,
>
> I've just installed 2.4.STABLE2 on a LUNIX host.
> It runs OK with only default access contrl.
> I have a file called list with over 200 URLs we would like to block.
>
> as I added following two lines in squid.conf file, squid eats 97% of CPU!
> acl denyurl url_regex "list"
> http_access deny denyurl
>
> has any one had same problem?

What kind of CPU do you have? A newer/faster one should help.

Also, regex matching is probably the worst for performance.
Do you really need regular expressions or could you use
exact string matching or hostname matching?
Received on Thu Sep 06 2001 - 18:16:29 MDT

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