Re: CPU usage jumps to 100%?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 23 Jun 2000 03:35:31 +0200

This is not a known problem.

Debugging with gdb should be possible, like for any other program.
Either attach gdb to the Squid process, or start Squid from gdb and wait
until the error occurs.

If your Squid is multithreaded (async-io enabled) then your gdb binary
must support threads, or things will get quite confusing.

--
Henrik Nordstrom
Squid hacker
dms wrote:
> 
> Hi,
>         I'm having problems with squid (2.2.5) on debian frozen
> (glibc2.1) system.  The problem is this: unpredictably, one thread of
> squid uses 100% and thus stops serving as a proxy cache server which I
> am forced to kill that one thread to get things going again.
> 
>         If this is not a known problem, how can I debug squid with gdb
> (4.18 or 5.0) to find which function(s) are looping endlessly?
> 
> Thanks
> 
> -David Sobon.
Received on Fri Jun 23 2000 - 01:22:02 MDT

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