RE: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-29 Thread Noel Kelly
October 2002 22:04 To: Joakim Tjernlund Cc: Gerald (Jerry) Carter; [EMAIL PROTECTED] Subject: Re: [Samba] Samba 2.2.6 leaks file descriptions! On Sun, Oct 27, 2002 at 06:47:33PM +0100, Joakim Tjernlund wrote: Been running with this change since friday and it looks good. I can not find any

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-29 Thread jra
On Tue, Oct 29, 2002 at 09:39:18AM -, Noel Kelly wrote: Is this a necessary update to all 2.2.6 installations with 2.4.x kernels? I am assuming that ./configure picks up the 'kernel change notify' code automatically and compiles support for it in? Yes, this is correct. Jeremy. -- To

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-28 Thread jra
On Sun, Oct 27, 2002 at 06:47:33PM +0100, Joakim Tjernlund wrote: Been running with this change since friday and it looks good. I can not find any leaking FDs anymore. The usage of the server has been very low so I won't know for sure until Monday afternoon. Does this mean it's a

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-28 Thread Joakim Tjernlund
Found one more, this file(MTP_UP_PA12.doc) has been open for 6 hours: Ok, I've found and fixed the problems with 2.2.6 leaking file descriptors when kernel change notify is turned on. Unfortunately (or fortunately as we can fix this :-) it's a Samba bug, not a Linux kernel bug. Great!

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-28 Thread jra
On Tue, Oct 29, 2002 at 01:10:26AM +0100, Joakim Tjernlund wrote: Found one more, this file(MTP_UP_PA12.doc) has been open for 6 hours: Ok, I've found and fixed the problems with 2.2.6 leaking file descriptors when kernel change notify is turned on. Unfortunately (or fortunately

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-27 Thread Joakim Tjernlund
On Fri, 25 Oct 2002, Joakim Tjernlund wrote: Thanks for responding so promptly. This is getting worse. Upgraded Samba some 16 hours ago and now I only have ~3000 FDs left out of 8192. A few hours ago I had 5000 FDs left. Specifics - Kernel: RH 2.4.9-34 Client OS: all

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-27 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 27 Oct 2002, Joakim Tjernlund wrote: Been running with this change since friday and it looks good. I can not find any leaking FDs anymore. The usage of the server has been very low so I won't know for sure until Monday afternoon. Does

[Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Joakim Tjernlund
Hi My server has ran out of file descriptors(FDs) a few times since 2.2.5 up to 2.2.6. When looked into the problem I found a lot of smbd processes that had hundreds of open FDs. I am on RH 7.2. Any ideas? I have compiled the sources form SAMBA_2_2 CVS branch from yesterday. usally I just

[Samba] Samba 2.2.6 leaks file descriptions! My smb.conf included

2002-10-25 Thread Joakim Tjernlund
Hi again Sending my config as well. Jocke # Samba config file created using SWAT # from 176.16.200.3 (176.16.200.3) # Date: 2002/10/25 02:20:56 # Global parameters [global] workgroup = LUMENTIS netbios name = LINFS server string = Primary Domain Controller

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 25 Oct 2002, Joakim Tjernlund wrote: Hi My server has ran out of file descriptors(FDs) a few times since 2.2.5 up to 2.2.6. When looked into the problem I found a lot of smbd processes that had hundreds of open FDs. I am on RH 7.2. I

RE: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Joakim Tjernlund
On Fri, 25 Oct 2002, Joakim Tjernlund wrote: Hi My server has ran out of file descriptors(FDs) a few times since 2.2.5 up to 2.2.6. When looked into the problem I found a lot of smbd processes that had hundreds of open FDs. I am on RH 7.2. I need some more information such as

RE: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 25 Oct 2002, Joakim Tjernlund wrote: Thanks for responding so promptly. This is getting worse. Upgraded Samba some 16 hours ago and now I only have ~3000 FDs left out of 8192. A few hours ago I had 5000 FDs left. Specifics -

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread jra
On Fri, Oct 25, 2002 at 06:24:02PM +0200, Joakim Tjernlund wrote: These are normal office machines, most of them only Office some run OrCad or an Access DB client named Kontakt. Can you get me an smbstatus output that will show what files are currently in use please ? Thanks,

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Joakim Tjernlund
On Fri, 25 Oct 2002, Joakim Tjernlund wrote: Thanks for responding so promptly. This is getting worse. Upgraded Samba some 16 hours ago and now I only have ~3000 FDs left out of 8192. A few hours ago I had 5000 FDs left. Specifics - Kernel: RH 2.4.9-34 Client OS: all

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 25 Oct 2002, Joakim Tjernlund wrote: OK done. So far so good .. This is a safe change, right? Yep. Change notify qwuill still function internally to Samba. We just won't register the change notify requests with the kernel. I will check

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread jra
On Fri, Oct 25, 2002 at 08:24:43PM +0200, Joakim Tjernlund wrote: OK done. So far so good .. This is a safe change, right? Yes. I will check on Saturday and see what has happened. BTW, I got these warnings. I think they are harmless: passdb/secrets.c: In function `secrets_named_mutex':

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Joakim Tjernlund
On Fri, Oct 25, 2002 at 06:24:02PM +0200, Joakim Tjernlund wrote: These are normal office machines, most of them only Office some run OrCad or an Access DB client named Kontakt. Can you get me an smbstatus output that will show what files are currently in use please ? Damn, I just

RE: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Jon Monroe
Hey Jerry, I now only see a single file descriptor CWD for the folder which disappears after about 10 seconds? But, I'm also seeing that files are no longer locked at all. I can open them up and make changes, but smbstatus never shows the file in use. So, I guess that #define parameter allows

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Joakim Tjernlund
On Fri, Oct 25, 2002 at 08:24:43PM +0200, Joakim Tjernlund wrote: OK done. So far so good .. This is a safe change, right? Yes. Good. I will check on Saturday and see what has happened. BTW, I got these warnings. I think they are harmless: passdb/secrets.c: In function

Re: [Samba] Samba 2.2.6 leaks file descriptions!

2002-10-25 Thread Jon Monroe
At 01:43 PM 10/25/2002 -0500, you wrote: Undefining the HAVE_KERNEL_CHANGE_NOTIFY should not affect locking at all. Do you mean smbstatus is showing no locks? Did you reboot the clients? Or did they just reconnect? jerry Hi Jerry, Sorry, a zillion things happening at once. I'm wrong --