[squid-users] FW: Problem with squid after squidguard update

From: Clemson, Chris <Chris.Clemson@dont-contact.us>
Date: Wed, 24 Sep 2003 11:07:50 +0100

Hello!
I'm having a problem with squid.
Every weekend a script runs to download the squidguard blacklists and apply
them.
however, last weekend when it restarted squid, squid went crazy and spawned
about 10 processes as it came up.
looking at the cache.log file, it was taking ages to rebuild the cache (as
each of these processes was talking up 5% of the CPU).
When it had finished checking the cache, it then spawned another 10
processes and repeated the process.
when i got to the machine on monday morning, it had ground to a halt with
all these processes running.
after aborting it all and rebooting, everything seemed fine so i started
squid and the same thing happened again.
i downloaded and compiled squid 2.5STABLE4 (we were on STABLE3), which made
no difference.
I also commented out the squidguard redirect_program and redirect_children
lines, which helped a bit.
Now squidguard is running and using only 1 process, but it's taking up as
much CPU as it can (~97% at the moment).
Squid does serve requests (at least to a low number of users), but it never
used to hog the entire CPU.

squid + squidguard has been running fine for probably nearly a year (on SuSE
8.0), so i've no idea why it decided to go wierd now.

I also tried starting with an empty cache incase the original one was
corrupt, but there was no difference, and i also chowned all the cache and
squidguard directories to squid:squid incase some of the permissions had
been changed.
I tried running squid with "squid -sND -d x", with x=3 to 9 but i don't get
anything useful out.
I also tried with -X, but after start up, it didn't seem to report anything
useful either.

Any ideas on why it would take up so much CPU not doing anything in
particular?
I sent a message to the squidguard list too, but i now think that it's not
actually squidguard's fault!

thank you!

chris

-- 
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.
Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS
Received on Wed Sep 24 2003 - 04:07:50 MDT

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