[squid-users] leaking memory in squid 3.4.8 and 3.4.7.

Eliezer Croitoru eliezer at ngtech.co.il
Tue Sep 30 13:28:16 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

About the memory page size:
getconf PAGESIZE
getconf PAGE_SIZE

One of the above should provide the basic information.

Waiting for some more info.

Eliezer

On 09/30/2014 04:10 PM, Amos Jeffries wrote:
> The unusual one you should expect to be first is mem_node. Which
> is the name for a 4KB chunk of cache_mem and in-transit objects.
> There is some bytes of meta data making it slightly bigger than
> 4KB, which on some OS means the memory page uses 8KB per object
> without telling Squid. This can be a hidden gotcha and why Squid
> sometimes uses slightly over 2x what the mem_node column says is
> allocated to cache_mem. :-(
> 
> 
>>> 
>>>>> and "top -n 1 -b|egrep "proxy|squid|PID"" Which should give
>>>>> a nice output of the squid process memory consumption.
> Be careful noting which column is resident memory and which is
> virtual memory in that output. Each helper spawned is allocated
> virtual memory equal to the total resident size of its squid parent
> process (including cache_mem and any shared memory usage) at the
> time of its spawning. It can show very huge numbers even while
> Squid goes nowhere near using any of it.
> 
> HTH Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUKq/wAAoJENxnfXtQ8ZQU70IH/0PUDwHg1aXQZcPpMb1FA9oM
0cFu5AIZOf5c4a5VcgvYRLo0mq7yrQnQ21D2cggs5U/OqB7/7UwDUleYqyc+qNN/
vZug02WaWO/GlNztzUPHXUsuLBqAO3ULHXc9BcC7h/M3IB4hjHeiwH5YsAKx17aA
ktc97witmsVzU0/LUN9B4Ptyhb5vDq/jVfbrn5JkETPUO3lreuw1EzxTKSpf5eKU
VqrSOFo+tAnMWoN3WK5Wn1ZCY7HlC+Rwevb6wjtBJtQU6SW4k7T075soLbHyWprS
mwW1srOmc4KZ1ZDtxkhN3NBKfr92dWzUxxJPTr1WpTTYMg9MaCvIHY9I+TDzLY8=
=0BTf
-----END PGP SIGNATURE-----


More information about the squid-users mailing list