Search squid archive

Re: Squid not using all cache_mem/ Increase TCP_MEM_HIT squid 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux