[Samba] Samba creating multiple isntances of the deamon

Jeremy Allison jra at samba.org
Wed Oct 19 16:47:00 GMT 2005


On Wed, Oct 19, 2005 at 07:37:05AM -0400, Benoit Gauthier wrote:
> (2005.10.19, 07:36)
> 
> >> OK. I've figured out how to do it. Which of the numerous Samba
> >> processes should I do this on though?
> 
> > On one of those you've tried to kill with a normal kill command but
> > hasn't died....
> 
> Here is such an output.
> (gdb) bt
> #0  0x007d1402 in ?? ()
> #1  0x005e40a6 in flock () from /lib/libc.so.6
> #2  0x0098cb52 in open_file_ntcreate () from /usr/sbin/smbd
> #3  0x0095c105 in reply_ntcreate_and_X () from /usr/sbin/smbd
> #4  0x009a200f in push_oplock_pending_smb_message () from /usr/sbin/smbd
> #5  0x009a2668 in process_smb () from /usr/sbin/smbd
> #6  0x009a2aa2 in smbd_process () from /usr/sbin/smbd
> #7  0x00b5e970 in main () from /usr/sbin/smbd
> (gdb)

The flock is called only if "HAVE_KERNEL_SHARE_MODES" is set to true.
What kernel are you running on ? Do you know if any NFS client have
files open on the Samba share also ?

Jeremy.


More information about the samba mailing list