[Samba] Hanging SMBD processes - Samba CRASHING

Brian_Pickering at selinc.com Brian_Pickering at selinc.com
Wed Dec 14 16:29:46 GMT 2005

In our case its RHEL3, and any version of Samba that RedHat distributes. 
Local file system is ext3.  The version of 2.2.12 I'm using comes from the 
RHEL2.1 source RPM recompiled for x86_64 platform.

Brian Pickering
System Administrator - Information Services
Schweitzer Engineering Laboratories, Inc.
Email - Brian_Pickering at selinc.com
Telephone - 509-332-1890 x1212

"Gerald (Jerry) Carter" <jerry at samba.org> 
12/13/2005 08:51 AM

Matt Johnson <mwj at doc.ic.ac.uk>
Brian_Pickering at selinc.com, samba at lists.samba.org
Re: [Samba] Hanging SMBD processes - Samba CRASHING

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 
> > 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 
> > using a 2.6 kernel would help, but your experience doesn't bode well 
> > 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/


This e-mail may contain SEL confidential or 
legally privileged information.  The opinions 
expressed are not necessarily those of SEL.  
Any unauthorized disclosure, distribution or 
other use is prohibited.  If you received this 
e-mail in error, please notify the sender, 
permanently delete it, and destroy any 
printed copies. 

More information about the samba mailing list