[Samba] Possible Samba Memory Leak

Stephen Borrill samba at precedence.co.uk
Thu Nov 3 13:29:40 GMT 2005

On Mon, 31 Oct 2005, Jeremy Allison wrote:
> On Mon, Oct 31, 2005 at 05:12:52PM +0000, Stephen Borrill wrote:
>> Here is the last one just before the machine ran out of swap (this process
>> had around 116MB allocated, IIRC). None of these numbers are that big (and
>> if the numbers are in bytes surely they are negligable). The thing that is
>> changing over time is the number of "passdb internal SAM_ACCOUNT
>> allocation" entries. This machine is running security=user with passdb
>> backend=tdbsam.
> Ok, looks like a passdb leak (I hate that interface :-). What version
> exactly are you running again ? Where did you get the source code ?
> I want to do a diff against the latest SAMBA_3_0 SVN to see if we've
> already fixed it and can give you the patch.

Further to my previous reply, 3.0.20b seems to exhibit the same behaviour 
as 3.0.14.


More information about the samba mailing list