<div dir="ltr">Thank you Amos.<div>maximum_object_size_in_memory must be the special setting that I had missed.  Memory hits now up to 60%</div><div><p style="margin:0px;font-size:12px;font-family:'Andale Mono'">Cache information for squid:</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Request Hit Ratios:<span class="" style="white-space:pre">       </span>5min: 84.4%, 60min: 78.6%</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Byte Hit Ratios:<span class="" style="white-space:pre">  </span>5min: 80.6%, 60min: 67.9%</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Request Memory Hit Ratios:<span class="" style="white-space:pre">        </span>5min: 63.1%, 60min: 66.1%</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Request Disk Hit Ratios:<span class="" style="white-space:pre">  </span>5min: 8.7%, 60min: 10.2%</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Storage Swap size:<span class="" style="white-space:pre">        </span>13823916 KB</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Storage Mem size:<span class="" style="white-space:pre"> </span>488276 KB</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Mean Object Size:<span class="" style="white-space:pre"> </span>61.36 KB</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><span class="" style="white-space:pre">        </span>Requests given to unlinkd:<span class="" style="white-space:pre">        </span>0</p><p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><br></p><p style="margin:0px">And yes I'm very keen to get to squid 3.. hopefully soon!</p><p style="margin:0px"><br></p><p style="margin:0px">thanks!</p><p style="margin:0px;font-size:12px;font-family:'Andale Mono'"><br></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 13, 2014 at 12:33 PM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<span><br>
On 13/11/2014 2:07 p.m., andrew williams wrote:<br>
> Hi, I'm getting what I think is too low of MEM_HIT ratio..  I would<br>
> like squid to use all of the cache_mem, thus increasing MEM_HIT?<br>
<br>
</span>You are running a 32-bit build of a Squid version deprecated more than<br>
6 years ago.<br>
<br>
Please upgrade to a current release. Today that would be 3.4.9<br>
(stable) or 3.5.0.2 (beta).<br>
<br>
<br>
<snip><br>
<span>><br>
> Why is squid not using all 4096 MB allocated? it's only using<br>
> 590MB according to mgr:info. Is there something extra I need to do?<br>
> To me the HIT rate is reasonable... they hit's are just not coming<br>
> from memory<br>
<br>
</span>Your average object size is almost 64KB yet squid-2.6 only stores up<br>
to 8 KB objects in memory by default.<br>
<<a href="http://www.squid-cache.org/Versions/v2/2.6/cfgman/maximum_object_size_in_memory.html" target="_blank">http://www.squid-cache.org/Versions/v2/2.6/cfgman/maximum_object_size_in_memory.html</a>><br>
<br>
One of the many benefits of upgrading is that the defaults are<br>
occasionally updated to reflect modern web reality. Todays Squid store<br>
objects up to 512KB by default in a default 256MB cache_mem.<br>
<br>
PS. Todays Squid also properly store and manage objects with<br>
Cache-Control:no-cache.<br>
<br>
Amos<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (MingW32)<br>
<br>
iQEcBAEBAgAGBQJUZBiSAAoJELJo5wb/XPRjAmAH/R2XqFbj0FHTcTS1Bxix9BvW<br>
5+BOY0s8Iyo54xcQnaZZn8AxFbNC/ksYN1Eh3yulTbMj17Y5IK9zS09eMkv0DXG+<br>
0sTmzvw2Dj88lWQw/wrwEM8eEq4rkAVWYaE+puD+rOBGNMU9MkcJ4/auYjcUAJuY<br>
ENFZ+4CzLQLZnzKRlVjxNb9FVyC6qMbvKi7pui/t9DItBGhT+KmTXC8W3G3JUG9T<br>
riQT5Ma9ccYEyDQv2mfK4tDhTRGPXtaO3e5XWtZ777z9yDih9K7MAXx2wn+Q2Xn0<br>
rbxkU+BD9h0i25I31FLG7eWekMJ7ZOBXLie37P2IbA5FERW3evrh0j/Z4tfXCSQ=<br>
=g0N5<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div><br></div></div>