[Samba] Hanging SMBD processes - Samba CRASHING

Gerald (Jerry) Carter jerry at samba.org
Tue Dec 13 16:51:27 GMT 2005

Hash: SHA1

On Thu, 8 Dec 2005, Matt Johnson wrote:

> On Thu, 8 Dec 2005, Brian_Pickering at selinc.com wrote:
> > We've had similar troubles with Samba 3.x on our ClearCase VOB server
> > running RHEL3.  Our fix was to go back to the old 2.2.12, and we haven't
> > had a problem since.  Unfortunately I was never able to devote enough
> > time
> > to tracking down the problem fully.  I had hoped that upgrading to RHEL4
> > using a 2.6 kernel would help, but your experience doesn't bode well for
> > that.
> We had similar problems. stracing hung child smbd processes pointed the 
> finger at *local* locking issues: processes were hanging in 
> fcntl(...,F_SETLKW64,...) for one byte locks on fd 14 = locking.tdb; the 
> culprit function is tdb_brlock.

What is the local filesystem?  And remind me what server OS this.
RHEL 4 ?  Thanks.

> Turning off oplocks seems to have helped, but we'd also like to get to 
> the bottom of this... is this fcntl/locking hang behavior what you are 
> seeing too?

The tdb files make extensive use of byte range locking and a coherent
map implementation on the server. 

cheers, jerry
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"There's an anonymous coward in all of us."               --anonymous
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/


More information about the samba mailing list