[Samba] hanging smbd(s) revisited

Matt Johnson mwj at doc.ic.ac.uk
Fri Feb 24 16:21:21 GMT 2006


Back in December, I was having problems with fcntl64 locks hanging.

On Thu, 15 Dec 2005, Matt Johnson wrote:

> On Thu, 15 Dec 2005, Gerald (Jerry) Carter wrote:
>
>>  Hmm....I'm not sure if the bug was strictly in the new oplock
>>  implement (post 3.0.20) but it doesn sound like what you are
>>  describing.  If you want to the the SAMBA_3_0_RELEASE branch
>>  and see that would be appreciated.  The final 3.0.21 release
>>  should happen soon (just 2 more bugs to finish)
>
> We'll give that a shot next week on a test server.
>
> It being related to oplocks seems to make lots of sense -- we killed oplocks 
> in our config and the problem has gone away (but we now obviously have a 
> *very* slow Samba service).

Well... it has been fine since we upgraded to 3.0.21b and reenabled 
oplocks, but today we had exactly the same problem recur:

[root at shrike fd]# strace -p 19827
Process 19827 attached - interrupt to quit
fcntl64(15, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=632, len=1} <unfinished ...>
Process 19827 detached

fd 15 = locking.tdb

...so perhaps the frequency of the problem has been reduced, but the 
problem itself has not been resolved.

What do you folks need to debug this?

--M

-- 
======================================================================
Matt Johnson <mwj at doc.ic.ac.uk>               (020) 7594 8440 / x48440
Systems Programmer, Computing Support Group         Office: Huxley 225
Department of Computing, Imperial College London
======================================================================


More information about the samba mailing list