Re: [squid-users] Squid at 100% CPU with 10 minutes period

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 06 Dec 2009 23:25:39 +1300

Guy Bashkansky wrote:
> Amos, thanks for the links. I've looked at the mailing list and the
> open bugs, and could not find something similar to what I see, with
> the 10 minutes period.
>
> We're using a customized version of Squid 2.4 STABLE6, and it's not in
> my power to upgrade it to any later version... It runs on FreeBSD
> 6.2-RELEASE-p9 amd64 servers.
>
> I know I need some profiling/debugging information to determine where
> CPU spends its cycles, but on these servers most usual tools are
> either absent or not working very well:
> There's no 'oprofile' for FreeBSD, 'pmcstat' fails to run (no lib?),
> 'gprof' does not give info beyond parseConfigFile() even in my custom
> profiling-enabled version with -N, 'gdb' does not recognize debug
> info, and 'strace' is not installed.
>
> I've found 'truss' command to be working and traced system calls made
> by the squid process, trying to recognize some patterns -- noticed
> that during CPU load spike write() sometimes returns EPIPE, 'Broken
> pipe'.
>
> Does my version (2.4 STABLE6) ring any bells?
>

Sorry, 2.4 was ancient history when I joined the project. All I know
about it is the list of features added that release.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Sun Dec 06 2009 - 10:25:52 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 06 2009 - 12:00:02 MST