Hi, I have been quite surprised at the largeness of the winbind memory leak. I have an awk script which checks this every n-minutes and sends me an alert when it exceeds a specified threshold. See below for some sample data. This is RH6.2 with Samba 2.2.2 and about 25 users. What I was wondering is whether there is any issues with killing and restarting winbind whilst samba is running at full tilt ? Other than the obvious one of an authentication request failing during the few seconds it is offline. If not then I can automatically stop and start winbind with impunity (if there is such a thing in IT...) Thanks Noel Winbind memory is 0.7 Mon Dec 17 14:34:00 GMT 2001 Startup Winbind memory is 1.1 Mon Dec 17 14:35:00 GMT 2001 Winbind memory is 1.1 Mon Dec 17 14:36:00 GMT 2001 Winbind memory is 1.1 Mon Dec 17 14:37:00 GMT 2001 Winbind memory is 1.1 Mon Dec 17 14:38:00 GMT 2001 Winbind memory is 1.2 Mon Dec 17 14:39:00 GMT 2001 . . . Winbind memory is 5.2 Mon Dec 17 15:31:00 GMT 2001 Winbind memory is 5.4 Mon Dec 17 15:32:01 GMT 2001 Winbind memory is 5.6 Mon Dec 17 15:33:01 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:34:00 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:35:00 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:36:00 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:37:00 GMT 2001
On Mon, 17 Dec 2001, Noel Kelly wrote:> I have been quite surprised at the largeness of the winbind memory > leak. I have an awk script which checks this every n-minutes and > sends me an alert when it exceeds a specified threshold. See below > for some sample data. This is RH6.2 with Samba 2.2.2 and about 25 > users.This has been fixed in the latest SAMBA_2_2 cvs code code (to become samba 2.2.3). chau, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
I don't know for sure, but so far I've had no problems with simply killing and restarting winbindd on the fly. On one occasion it crashed (due to the PDC rebooting) and was unavailable for over an hour; people with active connections didn't know anything had happened, but people who tried to make new connections were refused authentication. Once I restarted winbind everything worked normally after that, so I don't think there are any ill effects from restarting it. I try to do it only during times when there's not likely to be much traffic, to reduce the chances of people getting refused. -----Original Message----- From: Noel Kelly [mailto:nkelly@tarsus.co.uk] Sent: Monday, December 17, 2001 11:10 AM To: samba@lists.samba.org Subject: Winbind memory leak Hi, I have been quite surprised at the largeness of the winbind memory leak. I have an awk script which checks this every n-minutes and sends me an alert when it exceeds a specified threshold. See below for some sample data. This is RH6.2 with Samba 2.2.2 and about 25 users. What I was wondering is whether there is any issues with killing and restarting winbind whilst samba is running at full tilt ? Other than the obvious one of an authentication request failing during the few seconds it is offline. If not then I can automatically stop and start winbind with impunity (if there is such a thing in IT...) Thanks Noel Winbind memory is 0.7 Mon Dec 17 14:34:00 GMT 2001 Startup Winbind memory is 1.1 Mon Dec 17 14:35:00 GMT 2001 Winbind memory is 1.1 Mon Dec 17 14:36:00 GMT 2001 Winbind memory is 1.1 Mon Dec 17 14:37:00 GMT 2001 Winbind memory is 1.1 Mon Dec 17 14:38:00 GMT 2001 Winbind memory is 1.2 Mon Dec 17 14:39:00 GMT 2001 . . . Winbind memory is 5.2 Mon Dec 17 15:31:00 GMT 2001 Winbind memory is 5.4 Mon Dec 17 15:32:01 GMT 2001 Winbind memory is 5.6 Mon Dec 17 15:33:01 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:34:00 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:35:00 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:36:00 GMT 2001 Winbind memory is 5.9 Mon Dec 17 15:37:00 GMT 2001 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
thanks - i'll give it a go in the next couple of weeks as we will be converting another NT server before xmas. -----Original Message----- From: Tim Potter [mailto:tpot@samba.org] Sent: 18 December 2001 03:18 To: samba@lists.samba.org Cc: Noel Kelly Subject: Re: Winbind memory leak On Mon, Dec 17, 2001 at 10:38:31AM -0600, Gerald (Jerry) Carter wrote:> > I have been quite surprised at the largeness of the winbind memory > > leak. I have an awk script which checks this every n-minutes and > > sends me an alert when it exceeds a specified threshold. See below > > for some sample data. This is RH6.2 with Samba 2.2.2 and about 25 > > users. > > This has been fixed in the latest SAMBA_2_2 cvs code code (to become > samba 2.2.3).Please test this version if you can! I'm hoping winbindd in Samba 2.2.3 will be much more robust than the 2.2.2 version. There are instructions for downloading CVS versions from samba.org at http://samba.org/samba/cvs.html Tim.