lkml.org 
[lkml]   [1997]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 2.1.26-patch2
>> This patch does very nasty things to samba -- causes instances of nmbd to
>> respawn ad infinitum, which very soon consumes all of system memory.

>Ok small lesson for folks reporting bugs

>1. What distribution

Debian.

>2. What version of samba

1.9.16p9

>3. SMP or Uniprocessor

Uniprocessor

>4. What processor

AMD 586-133 (now on sale as AMD 486 or something - it's a fast 486).

>5. What gcc/binutils

GCC 2.7.2.1-5, binutils 2.7-4

>6. What libc

5.4.20-1

>7. What hardware.

32meg RAM, IBM 3.2gig hard drive, SMC PCI network card (DEC chipset with Tulip driver).
Output of `dmesg` is below.

>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-one else beats me to it.


Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0xc00fb580
pcibios_init : BIOS32 Service Directory entry at 0xfba20
pcibios_init : PCI BIOS revision 2.10 entry at 0xfba50
Probing PCI hardware.
Calibrating delay loop.. ok - 66.56 BogoMIPS
Memory: 30744k/32768k available (772k kernel code, 384k reserved, 868k data)
Swansea University Computer Society NET3.038 for Linux 2.1
NET3: Unix domain sockets 0.15 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: IGMP, ICMP, UDP, TCP
IPv6 v0.1 for NET3.037
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.1.26 (rjc@snoopy) (gcc driver version 2.7.2.1 Objective-C snapsh
ot 960906 executing gcc version 2.7.2.1) #1 Fri Feb 21 20:50:28 EST 1997
POSIX conformance testing by UNIFIX
Serial driver version 4.22 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
hda: IBM-DAQA-33240, ATA DISK drive
hdc: CD-ROM CDU55E, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: IBM-DAQA-33240, 3098MB w/96kB Cache, LBA, CHS=787/128/63
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.21
FDC 0 is an 8272A
Ethernet Bridge 003 for NET3.037 (Linux 2.1)
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
tulip.c:v0.10 8/11/95 becker@cesdis.gsfc.nasa.gov
+0.72 4/17/96 http://www.dsl.tutics.tut.ac.jp/~linux/tulip
+0.02 12/15/96 mjacob@feral.com (2.0.27)
eth0: smc8432 (DEC 21041 Tulip) at 0x6000, 00:00:c0:a1:72:d6, IRQ 9
Partition check:
hda: hda1 hda2
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 102812k swap-space (priority -1)
Module inserted: Generic CD-ROM driver, v 1.21 1996/11/08 03:24:49
hdc: media changed
hdc: media changed
PPP BSD Compression module registered
VFS: Disk change detected on device 16:00
Max size:245376 Log zone size:2048
First datazone:108 Root inode number 221184
lo UP fl=0000004b pa=0100007F/000000FF brd=FFFFFF7F dst=00000000
eth0: enabling 10TP port.
eth0 UP fl=00001043 pa=81570CCA/00FFFFFF brd=FF570CCA dst=00000000
Configuring eth interface
eth0 changes netmask 00FFFFFF -> F8FFFFFF
eth0 changes brd FF570CCA -> 87570CCA
eth0: enabling AUI port.
eth0: enabling BNC port.
registered device ppp0
eth0: no IPv6 routers present
ppp0 UP fl=00000051 pa=81570CCA/FFFFFFFF brd=00000000 dst=0BEC0CCB
pppd forgot to specify route netmask.
registered device ppp1
ppp1 UP fl=00000051 pa=80101DCB/FFFFFFFF brd=00000000 dst=0A0A0A0A


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.144 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site