Re: Where's the CPU being used up in squid-3 ?

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 27 Sep 2006 23:45:38 +0800

On Wed, Sep 27, 2006, Adrian Chadd wrote:
> On Wed, Sep 27, 2006, Adrian Chadd wrote:
>
> > If Temp2 is around the while() loop then it matches the runtime for the
> > comm close handlers within half a percent - ie, 13.13%.

4% of that 13% is being tied up in ClientHttpRequest::logRequest(). No, I'm not
logging; i've turned access/store logging off. The routine is being called
once per request, so thats ~3000 calls per second. I can't imagine the log entry
data gathering stuff needs to take that much CPU.

Could someone please take a look and see if they can figure it out?
Its got me stumped atm.

Adrian
Received on Wed Sep 27 2006 - 09:44:50 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT