#583607 squid3: frequent wakeups even when idle

#583607#5
Date:
2010-05-28 19:18:31 UTC
From:
To:
If squid is idle, it still triggers wakeups with > 1 Hz. This is a waste of power; it will even prevent systems that support deep power saving modes from entering those.
#583607#10
Date:
2010-07-06 22:04:54 UTC
From:
To:
forwarded 583607 http://bugs.squid-cache.org/show_bug.cgi?id=2977
thanks

I've opened a new request in the upstream bug database, but don't expect a fast resolution, since this issue has deep roots in the squid core.

Regards,

L

#583607#17
Date:
2011-03-02 03:46:03 UTC
From:
To:
Hi,

I also wanted to report this bug,
with frequent CPU wakeups.
I had squid on one machine, and it is actually used
not very often, i today also tested another proxy software
(ziproxy), and was stracing it.

For fun i also straced squid3, and discovered
flood of epool timeouts for no appearent reasons.
Then I looked at top, and discovered that squid
used 165 minutes of CPU on system with 14 days uptime.
And this 165 minuts of CPU consumption
is pure idling, as I had not used this squid
at all in last month!

For me it is would be quite important,
as I was considering installing squid3
in other dedicated box for bigger network,
as also in home. In both cases it would be
very important to keep power consumption
low thus makeing possible to make CPU enter
deep power saving idle state, and not wake it up
to often.

Hope it will be solved, as it looks to be
bad architecture for any kind of periodic work.

Thanks.