[squid-users] Why `Storage Mem capacity` has a value larger than 100%.

kmiku7 kakoimiku at gmail.com
Mon Jul 29 02:46:34 UTC 2019


Hello
My squid consume too much memory at startup time grow.
>From manager cgi /squid-internal-mgr/info, I saw the `Storage Mem capacity`
in Cache information for squid is 2429.7%, larger than 100%. In my opinion,
this value should be less or equal to 100%. I have searched but find nothing
about it.
Can someone tell me why? And how to limit squid memory usage, to avoid
memory grow as startup time grow and handle more and more request.
Thanks~.
The value of `cache_mem` option is 256M.

The following is outputs:

curl http://127.0.0.1:155/squid-internal-mgr/info
Squid Object Cache: Version 4.4
Build Info:
Service Name: squidHot
Start Time:	Thu, 13 Feb 2019 06:37:48 GMT
Current Time:	Wed, 17 Jul 2019 10:46:26 GMT
Connection information for squid:
	Number of clients accessing cache:	(client_db off)
	Number of HTTP requests received:	562562
	Number of ICP messages received:	11385
	Number of ICP messages sent:	11421
	Number of queued ICP replies:	0
	Number of HTCP messages received:	0
	Number of HTCP messages sent:	0
	Request failure ratio:	 0.00
	Average HTTP requests per minute since start:	2.6
	Average ICP messages per minute since start:	0.1
	Select loop called: 2360855132 times, 5.604 ms avg
Cache information for squid:
	Hits as % of all requests:	5min: 100.0%, 60min: 98.9%
	Hits as % of bytes sent:	5min: -0.0%, 60min: 90.6%
	Memory hits as % of hit requests:	5min: 0.0%, 60min: 0.0%
	Disk hits as % of hit requests:	5min: 100.0%, 60min: 83.3%
	Storage Swap size:	62529876 KB
	Storage Swap capacity:	 1.5% used, 98.5% free
*	Storage Mem size:	6369400 KB
	Storage Mem capacity:	2429.7% used, -2329.7% free*
	Mean Object Size:	68338.66 KB
	Requests given to unlinkd:	3



--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html


More information about the squid-users mailing list