[Samba] Samba creating multiple isntances of the deamon
jra at samba.org
Mon Oct 17 15:52:51 GMT 2005
On Mon, Oct 17, 2005 at 10:44:56AM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Jeremy Allison wrote:
> > On Mon, Oct 17, 2005 at 08:17:43AM -0400, Benoit Gauthier wrote:
> >> (2005.10.17, 08:11)
> >>> Will one of the long lived processes respond to kill -TERM ?
> >> All processes die after a "killall -9 smbd" even though the oldest one
> >> takes several seconds to do so.
> > Never kill smbd with -9. It can leave important tdb files in a
> > corrupt state.
> The problem is that smbd will *not* respond to a SIGTERM.
> SO it's stuck in a loop or stuck state. That's what we are
> trying to track down.
Ah - gdb and strace are your friends in that case :-)
Also if it's stuck in a loop it's probably safer to -9 than
normal, as depending on what it's doing it's less likely
to be executing critical code.
More information about the samba