Re: [squid-users] Disk hits + memory hits <100%

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 23 Dec 2011 02:54:18 +1300

On 23/12/2011 1:24 a.m., Tom Tux wrote:
> Hi
>
> We're using squid-3.1.14.
> The command 'squidclient mgr:info' shows the sum of "Disk hits as % of
> hit requests" and "Memory hits as % of hit requests" with less than
> 100%.
>
> I searched around and found a post from 2002 from Henrik:
> http://www.squid-cache.org/mail-archive/squid-users/200201/0291.html
>
> He mentioned, that this problem is known and needs to be fixed.
>
> Question:
> Is this already fixed in a newer release than 3.1.14? In which release
> will this be fixed?

The "problem" is simply that there are no individual counters for the
non-disk non-memory HITs (see logTypeIsAHit in access_log.cc for the
list of hit types).
The numbers in cachemgr appear correct for the particular detail they
are reporting.

It is still present in the latest sources, and none of the dev have
specific plans to fix it. Patches are welcome if you need the extra
counters to be displayed.

Amos
Received on Thu Dec 22 2011 - 13:54:26 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 22 2011 - 12:00:03 MST