ons 2008-04-02 klockan 13:46 -0500 skrev Ben Hollingsworth:
> restarting squid (maybe a few hours or a few days), it starts pegging
> the CPU at 100%. Running strace on the squid processes scrolls:
>
> epoll_wait(3, {}, 256, 0) = 0
>
> as fast as my screen will scroll. Restarting squid makes it settle down
> again for a while.
This (timeout 0) indicates Squid probably thinks there is some timed
event that it needs to attend to.
Exactly what is hard to say, but it should in such case be visible using
cachemgr.
squidclient mgr:events
But the best action is probably to record a debug log of what Squid is
doing when you see this:
squid -k debug; sleep 1; squid -k debug
then file a bug report and attach your cache.log file.
> This server sees only a few hits an hour. What's
> causing this, and how do I stop it?
To stop it first step is to identify the cause..
Regards
Henrik
Received on Wed Apr 02 2008 - 15:45:11 MDT
This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT