[Samba] Memory leak in 3.0.22?
jra at samba.org
Mon Jun 26 19:31:42 GMT 2006
On Sun, Jun 25, 2006 at 10:48:35PM +0100, Mark Cullen wrote:
> I have just switched from FreeBSD 4.11 using 3.0.21b to NetBSD 3.0.1
> using 3.0.22. With the same configuration, and the same clients, I am
> now seeing what appears to be some rather large memory leakage [ I am
> not sure if this is the fault of Samba or NetBSD ]. Eventually the
> process will run out of memory (machine only has 256MB of RAM) and the
> Windows clients (2000, SP4 and all the latest updates) pop up a message:
> "Insufficient system resources exist to complete the requested service"
> At which point the Samba server becomes unresponsive to the current user
> logged in. At the same time, I am seeing alot of errors in the logs
> regarding memory allocation errors:
Try doing a smbcontrol <pid> pool-usage to get the amount of
memory in the talloc pools. I doubt this is a Samba bug as
such a problem has not been widely reported on other platforms.
Is there a MALLOC_DEBUG option in the NetBSD malloc that will
dump out where the memory is going ?
More information about the samba