Re: [SQU] 2.4 PRE and high CPU usage

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 26 Jan 2001 05:09:21 -0700

On Fri, Jan 26, 2001, Jorge Boncompte (DTI2) wrote:
> I've seen a weird behavior testing 2.4 PRE. The CPU usage is too high
> for the load of clients that this box has.
>
> Below is the info from cachemgr.cgi. Any advice is appreciated.

[snip]

> HTTP requests per minute: 23.0
> ICP messages per minute: 13.8
> Select loop called: 407222410 times, 0.093 ms avg

[snip]

> CPU Usage, 60 minute avg: 45.15%
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 487

THere is something going a little strange with your select loop.
It seems to be running *WAY* too often.

Perhaps you could wind up the debug level on the select loop code,
and send me your cache.log file privately so as to not spam the list.

You can do this by putting

debug_options ALL,1 5,99

in your squid.conf file. (5 is the comm_select.c debugging information.)

Thanks!

Adrian

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Jan 26 2001 - 05:12:04 MST

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