[Pkg-samba-maint] Bug#520794: samba: smbd memory usage always increase - memory leak

Peter Cordes peter at cordes.ca
Fri May 1 21:47:18 UTC 2009


On Fri, May 01, 2009 at 07:45:47AM +0200, Christian Perrier wrote:
> Quoting Peter Cordes (peter at cordes.ca):
> >  It doesn't leak memory anymore, but I'm seeing smbd panics every
> > few days.
> 
> 
> Well, ae you sure that this is related to the memory leak fix??

 No.

 I didn't see any panics in the week I was running the leaky Debian
binary package.  Maybe that was just random chance, since I have
only seen 4 panics since Apr 14th, when I installed the self-compiled
version.
Sat Apr 18 14:04:32 2009
Tue Apr 21 16:06:47 2009
Fri Apr 24 17:39:27 2009
Wed Apr 29 18:06:36 2009
(So probably while samba was actually in use from one of the client
machines, judging from the times.)

 Even if the binary package was ok, it's possible my build environment
introduced a problem.  I built the packages on the same fully
up-to-date Lenny that I'm running Samba on, though.  Using
dpkg-buildpackage -us -uc -b,  IIRC.

 It's possible I would have seen those samba panics if I'd just
compiled from source without applying the patch.

 My machine doesn't have enough memory to test for long with the leak
happening, so I can't think of any great solutions.  I can install the
-dbg package, though, and maybe get a useful backtrace.

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter at cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC





More information about the Pkg-samba-maint mailing list