* Serge Belyshev <[email protected]> [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 <[email protected]>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-

Attachment: signature.asc
Description: Digital signature

Reply via email to