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 months, so i've no idea why it
decided to go wierd now.

I have 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?

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

Reply via email to