Re: 2.1.26-patch2

bofh@snoopy.virtual.net.au
Wed, 26 Feb 97 00:45:28 +1000


I have found the following problem to disappear when applying Alan's third patch to 2.1.26. I believe that this problem is now fixed.

Russell Coker

>> This patch does very nasty things to samba -- causes instances of nmbd to
>> respawn ad infinitum, which very soon consumes all of system memory.

>And can you strace the nmbd and see why its being silly for me ?

I have had it happen once, and my machine was locked up so badly that nothing could be done. I typed "root" to login on the console and it took 30 minutes to echo that...

I've just done a quick test, and it spawns off heaps of copies of nmbd when I run a net-use (client machine is OS/2 version 4.0). Nmbd is run in the following fashion from inetd.cond:
netbios-ns dgram udp wait root /usr/sbin/tcpd /usr/sbin/nmbd
The fact that so many copies are run suggests than inetd is not correctly waiting for nmbd. At the moment I don't have much time so I can't debug it in detail. That's why I'm posting this to the list so someone else can continue working on it. I'll give you more information tomorrow night if no