Re: [squid-users] Squid strange 100% cpu

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 29 Oct 2004 23:04:20 +0200 (CEST)

On Thu, 28 Oct 2004, Dan Didier wrote:

> When starting squid, cpu goes to 100% and I turned on debug and get this
> as output:
> Any ideas? It just keeps doing this...
>
> 2004/10/18 15:56:10| eventRun: RUN ID 158
> 2004/10/18 15:56:10| eventRun: Running 'MaintainSwapSpace', id 157
> 2004/10/18 15:56:10| storeMaintainSwapSpace: f=0.000000, max_scan=100,
> max_remove=10
> 2004/10/18 15:56:10| cbdataAdd: 0x8594a98
> 2004/10/18 15:56:10| cbdataFree: 0x8594a98
> 2004/10/18 15:56:10| cbdataReallyFree: Freeing 0x8594a98
> 2004/10/18 15:56:10| storeUfsDirMaintain: /var/cache/squid removed 0/10
> f=0.000 max_scan=100
> 2004/10/18 15:56:10| eventAdd: Adding 'MaintainSwapSpace', in 1.000000
> seconds
> 2004/10/18 15:56:11| comm_poll: 0 FDs ready
> 2004/10/18 15:56:11| comm_poll: time out: 1098129371.
> 2004/10/18 15:56:11| eventRun: RUN ID 159
> 2004/10/18 15:56:11| eventRun: Running 'fqdncache_purgelru', id 147
> 2004/10/18 15:56:11| eventAdd: Adding 'fqdncache_purgelru', in 10.000000
> seconds
> 2004/10/18 15:56:11| fqdncache_purgelru: removed 0 entries
> 2004/10/18 15:56:12| comm_poll: 0 FDs ready
> 2004/10/18 15:56:12| comm_poll: time out: 1098129372.

This looks quite normal to me.. from what is shown here your Squid should
consume barely no CPU at all.

Are you sure it is Squid who consumes the CPU?

Maybe you are using SquidGuard with out-of-date db files and it is
SquidGuard consuming all the CPU building it's database?

Regards
Henrik
Received on Fri Oct 29 2004 - 15:04:31 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST