[Samba] Memory leak in winbindd

Ken Cross kcross at nssolutions.com
Wed Mar 13 05:13:05 GMT 2002


Noel:

There's definitely a memory leak (try the little script at the bottom
and it's obvious -- the wbinfo -t does it).  

I'm not certain that the memory leak causes it to die or not.  Actually,
on my system it isn't dead -- it just doesn't return user/group data any
more.  wbinfo -t works, but not wbinfo -u.  I think the memory leak
fixed in 2.2.3 was in smbd not winbind, wasn't it?

ACLs aren't available on NetBSD, so I'm not running them.

Ken


-----Original Message-----
From: Noel Kelly [mailto:nkelly at tarsus.co.uk] 
Sent: Wednesday, March 13, 2002 3:24 AM
To: 'Ken Cross'; samba at lists.samba.org
Subject: RE: [Samba] Memory leak in winbindd


Ken,

We have the same problem with our setup on RedHat 6.2 (2.2.20 ACL
patched). We have two servers running identical hardware and software
and winbind dies every couple of hours, sometimes more often, sometimes
less often.  It dies during the night and at weekends so it does not
seem to be load dependent.

You say it is a memory leak ?  There was a nasty one in 2.2.2 but that
does not seem to be the case with 2.2.3a - just the dying is a problem.

I have had a RedHat 7.1 machine running continuous tests on winbind for
the last five days and it has not died once.  I am going to add the ACL
patches next and see if that affects winbind.  Are you using ACLs ?

Noel



-----Original Message-----
From: Ken Cross [mailto:kcross at nssolutions.com]
Sent: 12 March 2002 14:04
To: samba at lists.samba.org
Subject: [Samba] Memory leak in winbindd



I'm running Samba 2.2.3a on NetBSD.  I've been having an annoying
problem with winbindd dying inexplicably.  I finally found a test that
seems to (eventually) kill it:

  while wbinfo -t > /dev/null; do /usr/bin/true; done

The problem is a memory leak in winbindd.  Actually, wbinfo -t will
still work, but wbinfo -u doesn't (response.extra_data is always null).

Is this a known problem?  Any fixes?

Ken


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list