Re: [squid-users] squid 2.7 ... memory leak?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 12 Oct 2011 17:58:34 +1300

On 12/10/11 16:07, jiluspo wrote:
> Care to explain how do you able to figure out in that instant?

Sure.

> Anyway after remove ubuntu's libcap2-dev ... leaks gone.
>

Did you replace it with a working libcap? That library is what controls
Squids effective-user security access to the operating system. Without
it Squid has to run as root.

>> -----Original Message-----
>> From: Amos Jeffries
>>
>> On Wed, 12 Oct 2011 01:32:00 +0800, jiluspo wrote:
>>> (valgrind --tool=memcheck --leak-check=yes squid -Nd1)
>>> 2011/10/12 01:25:38| Asking valgrind for memleaks
>>> ==9877== 36 bytes in 1 blocks are definitely lost in loss record 606
>>> of
>>> 1,292

Size of the leak.

>>> ==9877== at 0x4026864: malloc (vg_replace_malloc.c:236)

  "at" position of leak.

>>> ==9877== by 0x407BFD5: cap_init (in /lib/libcap.so.2.20)

"by" function making leak.

"in" file or library where leaking function exists.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for 3.2.0.12
Received on Wed Oct 12 2011 - 04:58:42 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 12 2011 - 12:00:02 MDT