[Pkg-pdns-maintainers] Bug#768078: 30 second delay on shutdown

Christian Hofstaedtler zeha at debian.org
Tue Nov 4 21:44:03 UTC 2014


* Serge Belyshev <belyshev at depni.sinp.msu.ru> [141104 21:15]:
> Sometimes during shutdown, pdns-recursor init script causes 30 second
> long delay.  The problem appears to be in "--retry=HUP/30/TERM/5/KILL/5"
> option to start-stop-daemon in stop() function of /etc/init.d/pdns-recursor.

I disagree. pdns-recursor cleanly exits on the first HUP, and the
TERM/KILL will never be triggered.

If pdns-recursor doesn't immediately exit, something's fishy.

> I see no particular need in using this feature of start-stop-daemon and
> suggest that the option be removed.

In other news, the systemd unit file for pdns-recursor doesn't do
anything fancy, and a stop would run the regular systemd exit
behavior (which means way faster timeouts even if the daemon hangs
or something).

-- 
 ,''`.  Christian Hofstaedtler <zeha at debian.org>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pdns-maintainers/attachments/20141104/ea1b918b/attachment.sig>


More information about the Pkg-pdns-maintainers mailing list