[Pkg-samba-maint] Bug#563844: Handling long delays to terminate smbd processes in inti script

Christian PERRIER bubulle at debian.org
Sat May 8 12:49:39 UTC 2010


I went back to this bug report where Ross noticed that very large smbd
processes (for instance due to a memory leak such as ones we had in
some versions) mais not have enough time to terminate before the init
script ends.

As a consequence, on immediate "start", smbd will not start because a
running smbd is detected: the one that was stopped earlier but hasn't
stopped....yet.

That smbd eventually terminates but, then, the machine is left without
any running smbd.

Of course, memory leaks are bad and, actually, we don't have any of
these left, AFAIK. Still, could we improve the init script to better
handle this?

Should we use the "--retry" option of start-stop-daemon? If so, what
argument should be give to it?

-- 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100508/f02026da/attachment.pgp>


More information about the Pkg-samba-maint mailing list