[squid-users] Squid not using all cache_mem/ Increase TCP_MEM_HIT squid 2.6

andrew williams dw.andrew at gmail.com
Thu Nov 13 01:07:04 UTC 2014


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?

Cache information for squid:

Request Hit Ratios: 5min: 83.2%, 60min: 81.7%

Byte Hit Ratios: 5min: 85.6%, 60min: 69.4%

Request Memory Hit Ratios: 5min: 31.0%, 60min: 33.5%

Request Disk Hit Ratios: 5min: 41.9%, 60min: 40.5%

Storage Swap size: 13824000 KB

Storage Mem size: 401884 KB

Mean Object Size: 61.24 KB

Requests given to unlinkd: 0


Memory usage for squid via mallinfo():

Total space in arena:  583740 KB

Ordinary blocks:       580311 KB  51632 blks

Small blocks:               0 KB      0 blks

Holding blocks:          4588 KB      3 blks

Free Small blocks:          0 KB

Free Ordinary blocks:    3428 KB

Total in use:          584899 KB 99%

Total free:              3428 KB 1%

Total size:            588328 KB

Memory accounted for:

Total accounted:       517938 KB

memPoolAlloc calls: 604503322

memPoolFree calls: 602248266



Config:
cache_replacement_policy heap LFUDA

memory_replacement_policy heap LFUDA

cache_dir aufs /var/squid/cache 15000 16 256

cache_mem 4096 MB


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

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20141113/38fd9973/attachment.html>


More information about the squid-users mailing list