Search squid archive

RE: Memory leak in 3.2.5

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

 



The ident memory is properly freed only if the ident query suceeds.
The ident memory is not freed if the ident query times out or if the
client is no longer around for the result.

I'm testing a patch and I should have something by the end of the day.

Mike Mitchell

________________________________________
From: Mike Mitchell
Sent: Thursday, December 20, 2012 6:06 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject: RE: Memory leak in 3.2.5

I used cachemgr.cgi and looked at the memory utilization.
My first four rows are:

       Pool                                    Allocated                    In Use
                                                 (#)        (KB)             (#)        (KB)
cbdata IdentStateData (21)     1088861  4414992     1088861  4414992
mem_node                              259773  1049240       259524  1048234
cbdata ConnStateData (20)     1274359    448017     1274358    448017
Connection                            2152578    403609     2152521    403598


It doesn't look like the ident connections are cleaned up properly.
That explains why I have 6 GB allocated, when over 4 GB are ident
structures.

Mike Mitchell




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

  Powered by Linux