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