RE: [squid-users] Squid uses all cpu

From: Ming Fu <Ming.Fu_at_watchguard.com>
Date: Fri, 15 Apr 2011 11:38:45 +0000

Hi Tibby,

Try turn on some debug options and -k reconfigure the squid, not restarting it. Maybe we can find out what is using the cpu for.

It happens to me a while ago. The squid does not receive any traffic, but use 100% of one cpu core. The debug shown that the squid is logging "Engine .... is idle" line continuously. A normal running squid only logs such line once per seconds. The squid didn't recover from this crazy logging for hours.

Restart squid fix the problem.

The clock of the squid box was adjusted before I discover the high cpu load on squid. Maybe that triggers it.

Ming

-----Original Message-----
From: Tóth Tibor Péter [mailto:tibor.peter.toth_at_mtv.hu]
Sent: Thursday, April 14, 2011 11:59 AM
To: squid-users_at_squid-cache.org
Subject: [squid-users] Squid uses all cpu

Hi!

What could cause squid to use the CPU on 100%?
Until now, it worked fine, but for some reasons since this morning, it allways runs on 100% squid version is 3.19 Memory is 8GB, cpu is quad core intel. It shouldn't be a proble to handle all the incoming requests.

Thanks for the help!
Tibby
Received on Fri Apr 15 2011 - 11:38:53 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 15 2011 - 12:00:03 MDT