We're not using LDAP, we're using security=server to a Windows 2000 server providing 
NTLM services...  but what you describe sounds close, very close.  We keep the virtual 
host capped at 64 meg ram and 128 meg swap, as it improves performance... I think this 
keeps us from having "thousands" of processes, but we definitely get upwards of 50+ 
extra ones.  So what's the cure for this, folks?  Local smb.passwd authentication?  
Our SuSE SLES 7 hosts running Samba samba-2.2.0a-56 don't have this problem.  Only the 
newer SLES 8 (service pack 3).

"Nature and nature's laws lay hid in night:
God said, 'Let Newton Be!' and all was light." - Alexander Pope

"It did not last; the Devil howling 'Ho!
Let Einstein Be!' restored the status quo."    - John Collings Squire

"God Rolled his dice, to Einstein's great dismay:
'Let Feynman Be!' and all was clear as day."   - Jagdish Mehra

Gordon W. Wolfe, Ph. D.
VM Technical Services, The Boeing Company

> ----------
> From:         Hall, Ken (IDS ECCS)
> Reply To:     Linux on 390 Port
> Sent:         Tuesday, April 27, 2004 12:23 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Samba process runaway
> 
> We're running 2.2.8a on several servers and I've never seen this.
> 
> What we HAVE seen is that if the server loses contact with the LDAP server that 
> contains the user/UID mappings, often the smbd processes hang.  I'm not sure if the 
> problem is in smbd, nscd, or
> nss_ldap.
> 
> In any case, Windows gives up after 30-60 seconds, and drops the connection.  When 
> the workstation tries to reconnect, another smbd process is spawned, and hangs.  
> This continues until the machine
> fills up with smbd processes.  I've seen as many as 1000+ processes with only 80 
> active users.  Normal should be users (as reported by smbstatus) plus 1 or 2.
> 
> > -----Original Message-----
> > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> > Wolfe, Gordon W
> > Sent: Tuesday, April 27, 2004 2:47 PM
> > To: [EMAIL PROTECTED]
> > Subject: [LINUX-390] Samba process runaway
> >
> >
> > Samba 2.2.8a in our SLES 8 SP3 systems has a bad bug.  Samba
> > keeps running out of control and eating up CPU, meanwhile,
> > customers access to the samba shares dies.  When it happens,
> > there appears to be waaaay too many samba processes spawned,
> > yet only one of them is going bezerk according to "top".
> > I've had level 3 samba logging turned on, but I'm not
> > capturing anything that I can identify as the cause.  I see
> > some oplock messages, but those come in during good & bad
> > times.  The other thing I notice is there is typically a file
> > or directory not found error in the log, too, prior to the
> > bad behavior, although I don't see how that could be a cause.
> >
> > Anyone have any ideas as to what might be causing this?
> >
> > "Nature and nature's laws lay hid in night:
> > God said, 'Let Newton Be!' and all was light." - Alexander Pope
> >
> > "It did not last; the Devil howling 'Ho!
> > Let Einstein Be!' restored the status quo."    - John Collings Squire
> >
> > "God Rolled his dice, to Einstein's great dismay:
> > 'Let Feynman Be!' and all was clear as day."   - Jagdish Mehra
> >
> > Gordon W. Wolfe, Ph. D.
> > VM Technical Services, The Boeing Company
> >
> > ----------------------------------------------------------------------
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to [EMAIL PROTECTED] with the message: INFO
> > LINUX-390 or visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> >
> 
> ==============================================================================
> 
> If you are not an intended recipient of this e-mail, please notify
> the sender, delete it and do not read, act upon, print, disclose,
> copy, retain or redistribute it.
> 
> Click here for important additional terms relating to this e-mail.
>      <http://www.ml.com/email_terms/> >
> 
> ==============================================================================
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> 
> 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to