RE: Filter out Sex... Sites - CPU Performance problem

From: Clive Barrows <>
Date: Sat, 17 Oct 1998 15:14:56 +0100


I created a file of undesirable sites using the
"sex file" information exactly as shown below, and
added the following to squid.conf.

acl undesirables url_regex "/usr/local/squid/etc/saucyfile"
http_access deny undesirables all

Although it worked, the average CPU idle dropped from 90-98%
to 10% or less, and regularly hitting 0%.

Is this change in CPU performance expected and are there any
suggestions to overcome the problem, e.g. by altering the
contents of the file. I would also be grateful if someone could
explain the additional work being carried out by Squid which
requires so much CPU.
We have 2 caches acting as siblings for each other, each running
Squid 1.1.22 under Solaris 2.6 on a Sun Ultra 10, with 384MB Ram
and 2 x 2GB SCSI disks used purely for caching.

Thanks in advance for any response.



-----Original Message-----
From: Orso []
Sent: 16 October 1998 12:54
To: 'Squid-List'; Michael Hamm
Subject: Re: Filter out Sex... Sites

Hello Michael,

You can use something like this:

acl sex url_regex "/usr/local/squid/etc/sex"
acl notsex url_regex "/usr/local/squid/etc/notsex"

http_access allow notsex all
http_access deny sex all

notsex file:

sex file:



Sexta-feira, 16 Outubro 1998, you wrote:

MH> Hi,
MH> in the docs i figure out, how to filter out adresses like
MH> or
MH> But can somebody told me how to filter out
MH> all adresses including words like or ...girl...
MH> i'm very thankfull for one or two example config-lines

MH> Bye

MH> MfG Michael Hamm
Received on Sat Oct 17 1998 - 08:15:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:32 MST