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

Amos Jeffries squid3 at treenet.co.nz
Tue Sep 30 14:58:41 UTC 2014


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

On 30/09/2014 6:33 p.m., Victor Sudakov wrote:
> Victor Sudakov wrote:
>> Amos Jeffries wrote:
>>> 
>>> You have 200 MB of RAM locked up in IDENT lookups.
>>> 
>>> Probably http://bugs.squid-cache.org/show_bug.cgi?id=3803
>> 
>> I have temporarily disabled IDENT-related acls. Squid still grows
>> in memory, but more slowly. So IDENT was certainly one of the
>> major causes of the leak.
>> 
>> Could we make another iteration of looking at the cachemgr.cgi
>> memory counters?
>> 
> 
> Attaching two cachemgr reports: right after squid restart and
> several hours later (grown to 816M in SIZE).
> 

These are still showing over 47K IDENT lookups.

Probably you did not disable all the uses of IDENT. You need to both
set "ident_access deny all" and remove use of ident type ACLs.

Before trying that though, I attached a new patch to bug report 3803.
Can you apply that and see if it works?

NP: For your request rate of 150 req/sec I expect the mgr:mem "cbdata
IdentStateData (17)" to show less than 3K in "(#) Allocated" ( 12152
in "(KB) Allocated").

Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUKsUhAAoJELJo5wb/XPRjxBwH/i9ee1HQtS2cwsYrNNqd2yG8
cdlvpfceHXY+iS19HL/hOPRDFUN9VfTh9LxWdk7wCASmIFd8he5I5e8Fpgu0/+80
HhpXkXgTMTUljKc6A7Vs+M6RUalp1MdWqcebzzuh7xMTXDzKaD1pky3xOsFcPuqy
umoDC7fFukhuCWVkBXBv/IvC8z3oUUbUD8oLVUD5PVqW5X3/RDYWW4L7LosxDt92
4rKW6uDJs+ytYlRYfZ43I1AEHlXMbvAxClFtVttG91I5b2uBzKasWiI9OQCyVVht
uAnm7LlQvHnT72JchbyqRPPaeESyFRpNGPlFFNv7mi67EAs2N6cMGDbJeaRLWV4=
=lAX8
-----END PGP SIGNATURE-----


More information about the squid-users mailing list