Re: [squid-users] cache_object://$host/info confusion

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 10 Nov 2010 23:05:09 +1300

On 10/11/10 17:32, david robertson wrote:
> I'll file one when I get a chance.
>
> So, back to the original question though - out of those two stats, on
> a memory caching only server, which one should be correct? Request
> Memory Hit or Request Hit?
>

Memory hit should be accurate for memory-only caches.

I'm not sure why the basic hit stats are not either non-zero or equal to
memory hits.

Amos

> On Tue, Nov 9, 2010 at 10:06 PM, Amos Jeffries<squid3_at_treenet.co.nz> wrote:
>>
>>> On Tue, Nov 9, 2010 at 9:27 PM, Amos Jeffries wrote:
>>>> On Tue, 9 Nov 2010 20:59:56 -0500, david robertson wrote:
>>>>> I'm in the process of writing a script to give me some cache hit
>>>>> statistics for my cluster. There's some confusion on the cache_object
>>>>> info output, though. For example, this particular host only caches to
>>>>> memory, however this is the output I get:
>>>>>
>>>>> Request Hit Ratios: 5min: 40.0%, 60min: 39.2%
>>>>> Request Memory Hit Ratios: 5min: 69.7%, 60min: 69.6%
>>>>>
>>>>> For a host that's only caching to memory, there's a pretty large
>>>>> discrepancy between the two listed above. What's the difference
>>>>> between the two above?
>>>>>
>>>>> Thanks in advance.
>>>>
>>>> Squid version? and how did you make it "memory only"?
>>>>
>>
>> On Tue, 9 Nov 2010 21:32:57 -0500, david robertson wrote:
>>> Sorry:
>>> Squid Cache: Version 2.7.STABLE9-20101104
>>>
>>> The frontend servers only cache to memory, via
>>> cache_dir null /dev/null
>>>
>>
>> Okay. Thats correct, so its possibly a bug of some sort then.
>>
>> Amos
>>

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.9
   Beta testers wanted for 3.2.0.3
Received on Wed Nov 10 2010 - 10:05:16 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 10 2010 - 12:00:03 MST