Search squid archive

Re: Squid memory usage

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

 



nitesh naik wrote:
Hi All,

Squid memory usage grows beyond allocate cache_mem size of 8 GB. Total
physical memory available on machine is 20 GB.

Does that mean there is memory leak and I should replace malloc
library and compile squid ?

cache_mem is the size of the in-memory object cache squid uses for very popular objects.
Squid itself uses memory for many other things which make the total larger.

Amos


I am using squid2.6 without using disk for caching.

Memory usage for squid via mallinfo():
	Total space in arena:  -52916 KB
	Ordinary blocks:       -82192 KB 215707 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:         11404 KB      3 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:   29275 KB
	Total in use:          -70788 KB 171%
	Total free:             29275 KB -70%
	Total size:            -41512 KB
Memory accounted for:
	Total accounted:       11256849 KB
	memPoolAlloc calls: 870846623
	memPoolFree calls: 819677123

Regards
Nitesh


--
Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.1

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

  Powered by Linux