Memory leak in 2.0.7?

Jeremy Allison jeremy at
Fri Aug 18 17:56:56 GMT 2000

"William R. Knox" wrote:
> Well, I got one response (included below with my original posting), and
> I am now having the problem 13 hours after I stopped and restarted the
> samba processes, so I thought I might post again, and send the message
> to the samba-bugs address as well. In this case, after 13 hours, my smbd
> processes were up to 18 M in size, 16-17 M of which was resident. Does
> anyone have any idea what may be going on here? Other details are in the
> original message below, and I'll repeat the most basic here:
> samba 2.0.7, built with gcc 2.8.1 on Solaris 2.6, running almost
> exclusively as a print server.
> ANY ideas on what I might be able to do to prevent this would be
> appreciated. I am already stopping and starting the services once a day
> to try to keep them in line, but that suddenly seems to no longer be
> enough. Thanks in advance for any help you can give!

Ouch - definately sounds like a memory leak. We have been
running the pre-2.2.x builds of Samba though a leak/overrun
checker to fix such things.

I originally ran 2.0.7 through purify on IRIX to fix memory
leaks but it looks like I missed something in the printer

Do you have access to Purify on Solaris 2.6 ? That would
help track this down.


	Jeremy Allison,	
	Samba Team.

Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba mailing list