[Samba] Possible Samba Memory Leak
andreas at planix.com
Wed Nov 23 14:46:30 GMT 2005
I found this thread while researching what probably is the identical
problem: smbd processes grow to 200+ Mb size after 10 to 20 hours and
crashing. Has any progress been made on resolving it since the last
On Nov 4, 2005, at 9:54 , Stephen Borrill wrote:
> On Thu, 3 Nov 2005, Jeremy Allison 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
>>>> Ok, looks like a passdb leak (I hate that interface :-). What
>>>> 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
>>>> already fixed it and can give you the patch.
>>> Further to my previous reply, 3.0.20b seems to exhibit the same
>>> as 3.0.14.
>> Thanks for following up on this, I've been busy with other things
>> but this
>> is still on my list to look at. Can you post me the smbcontrol
>> pool detail
>> output from 3.0.20b (as this is a much more modern code base than
>> and tell me exactly what you're doing to reproduce the leak ?
> Hmm. smbcontrol <pid> pool-usage just returns 0 with 3.0.20b here, so
> that's not a lot of use.
> The clients are Windows 2000 machines running in a workgroup. The
> server is running security=user with passdb backend=tdbsam. There
> is no
> domain running. The clients are mapping a drive and then just using it
> throughout the day. They are run a DOS-based FoxPro database (AIUI)
> the mapped drive.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20051123/b4e63b61/PGP.bin
More information about the samba