[Samba] smbd hung processes - Samba 3.0.7

john.debella at teradyne.com john.debella at teradyne.com
Wed Dec 8 16:15:26 GMT 2004

Hi Jerry,

Thanks for the reply. I'll check this if it reoccurs again. 

We've turned off strict locking to see if this helps. This was on a hunch 
that it was a lock issue.

To answer your question, the access to the main share on this server is 
via the automounter to a local directory. For example the automount map 
/hwnet/ccvobs mounts /export/vobs on this server. The share [vobs] is 
mapped to /hwnet/vobs. The default timeout is 60 seconds and we do see the 
automounter expire and remount this mount point frequently. While we're 
not re-exporting this file system there are certainly times when the 
automounter will apparently unmount and remount it.

Note: that during the "event" the filesystem is available both locally and 
via the automounter. 


"Gerald (Jerry) Carter" <jerry at samba.org>
12/08/2004 11:04 AM

        To:     john.debella at teradyne.com
        cc:     samba at lists.samba.org
        Subject:        Re: [Samba] smbd hung processes - Samba 3.0.7

Hash: SHA1

john.debella at teradyne.com wrote:

| We have upgraded to the 3.0.7-1.3E.1 RH Samba update
| and this problem  still occurs. Has anyone else experienced
| this or does anyone have any ideas on what's causing this?
| -John
| john.nelson at teradyne.com wrote:
|> We've seen Samba crash and burn twice in the last 48 hours
|> - it just started happening, and we have no idea what
|> might be causing it.  I'm hoping that someone will
|> recognize this problem.

Are you reexporting NFS shares by chance?

|> in the middle that are not in the smbstatus report.
|> What we THINK is happening is that the smbd processes
|> begin to hang, the clients time out,

A good theory (which would be true if re-exporting NFS
shares and the NFS server got stuck).

|>   # strace -p 20403
|>   Process 20403 attached - interrupt to quit
|>   fcntl64(13, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=280,
|>    <unfinished ...>

look in /proc/<pid/fd and see what file fd 13 is.

cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba mailing list