1 problem + 1 enhancementrequest

David Lee t.d.lee at durham.ac.uk
Wed Jun 20 15:52:33 GMT 2001

On Wed, 20 Jun 2001, Roger Martensson wrote:

> Problem
> ---------
> In Samba 2.2.0 I've noticed that a smbd process just hangs. Another smbd 
> process takes over the connection and after some time that process hangs 
> too. And this is repeated severel times.
> After a couple of hanged smbd processes(8 or more sometimes) the 
> connection with the W2k(seen it happen once on a NT4 too) just stops 
> working.
> I've only seen this happen on my HOME share. The  client in question is 
> a W2k SP1, and I have no idea what this person is doing to do that so my 
> Samba server.
> Help! This is getting rather annoying(besides.. He's a boss so it would 
> be great goodwill to get this to work =)).

Do you see entries in your log file of the form:
  request_oplock_break: no response received to oplock break request to pid <nnnn>

And if so, do you find that pid <nnnn> no longer exists?

And do you see an entry in some log file:
[2001/06/18 14:16:23, 0] ../lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid <nnnn> (2.2.0)
  Please read the file BUGS.txt in the distribution
[2001/06/18 14:16:23, 0] ../lib/fault.c:fault_report(43)

This is what we see.  And we, too, would very much like to know whether
there is a resolution. 

In our case, it seems that a process <nnnn> has had an internal error and
taken a rapid exit (the "====" error message).  But this leaves dangling
oplocks, which subsequent processes cannot clear (they are too polite!). 
So there is a steady build up of smbd processes (presumably periodically
started by the client after no reply), stuck on this orphaned oplock. 

I seem to recall that this is a known problem, and that it is fixed in
CVS, so will be fixed in the next release of Samba.

Can someone confirm this, please?

Can someone give an approximate date for the next release, or for its
alpha/beta versions?


:  David Lee                                I.T. Service          :
:  Systems Programmer                       Computer Centre       :
:                                           University of Durham  :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham                :
:  Phone: +44 191 374 2882                  U.K.                  :

More information about the samba-technical mailing list