Re: squid using 95% cpu with no load

From: Brian Beuning <[email protected]>
Date: Wed, 12 Jan 2000 19:52:42 -0500

It is squid-2.2.5.STABLE4 on RedHat linux (kernel 2.2.12)
on an alpha (Multia).

When I recompile without cache-digest, the CPU usage drops
back down to a low level.

In all fairness I should mention I have been having a problem with
floating point functions (like floor()) since installing a new kernel.
I edited the squid code to change floor() to double -> int casts.

Brian Beuning

Clifton Royston wrote:

> On Wed, Jan 12, 2000 at 03:42:37PM -0700, Duane Wessels wrote:
> > On Wed, 12 Jan 2000, Brian Beuning wrote:
> >
> > > I just rebuilt and installed squid with
> > > --enable-cache-digest
> > > --enable-snmp
> > > --enable-http-violations
> > >
> > > and it has been using 95% of the CPU for over 2 hours.
> > > Is this normal?
> >
> > CPU usage increases when digests are being created, but
> > constant 95% level for two hours sounds wrong.
>
> I didn't notice your OS, but I think there were some reports that Squid
> behaves like this if you build it with --async-io under FreeBSD.
> Possible?
>
> -- Clifton
>
> --
> Clifton Royston -- LavaNet Systems Architect -- cliftonr@lava.net
> "An absolute monarch would be absolutely wise and good.
> But no man is strong enough to have no interest.
> Therefore the best king would be Pure Chance.
> It is Pure Chance that rules the Universe;
> therefore, and only therefore, life is good." - AC
Received on Wed Jan 12 2000 - 17:56:58 MST

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