[squid-users] constant high CPU (>75%) w/ Squid25-STABLE10? thought it was cache-digests, but no ...

From: OpenMacNews <OpenMacNews@dont-contact.us>
Date: Fri, 09 Sep 2005 07:33:38 -0700

hi all,

i've squid 25 stable 10 on osx 10.4.2.

it's 'front-ending' a privoxy + tor setup, with privoxy set as a cache peer w/:

    cache_peer 127.0.0.1 parent 8118 7 no-query default

everything seems to work as hoped/expected.

but, i notice my CPU util for squid is CONSTANTLY high, typically 75-95%, e.g.:

    24695 squid 82.1% 1:05.52 1 15 35 3.14M 4.90M 4.29M 40.4M

even when i'm 'doing nothing' (no web browsing, etc).

i'm trying to figure out why ...

googling, i found that cache-digests can be a problem, so i disbaled/recompiled
-- to no effect.

i've turned on level 9 debug, but see nothing informative (to me, yet, anyway)
....

after a squid restart, and while the CPU is 'hot', all i see in the logs is:

2005/09/08 23:20:28| Starting Squid Cache version 2.5.STABLE10 for
powerpc-apple-darwin8.2.0...
1126246866.272 RELEASE -1 FFFFFFFF AA9FDF7558DC18F6F1925B858C3EB1FA 400
-1 -1 -1 unknown -1/0 GET
http://127.0.0.1:8118/squid-internal-dynamic/netdb
CPU Usage: 18541.909 seconds = 2274.824 user + 16267.085 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
2005/09/09 07:21:07| Starting Squid Cache version 2.5.STABLE10 for
powerpc-apple-darwin8.2.0...
1126275704.529 RELEASE -1 FFFFFFFF AA9FDF7558DC18F6F1925B858C3EB1FA 400
-1 -1 -1 unknown -1/0 GET
http://127.0.0.1:8118/squid-internal-dynamic/netdb

which leads me to believe that there's some issue with comms to/from the
privoxy peer on port 8118. but, again, i'm seeing nothing in the privoxy logs
...

any clues/hints as to what might be chewing up CPU, and how to fix it?

cheers,

richard

Received on Fri Sep 09 2005 - 08:33:45 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT