[Pdns-users] What signal to tell PDNS to shut down?

bert hubert bert.hubert at powerdns.com
Sun Jan 13 20:48:38 UTC 2019


On Sun, Jan 13, 2019 at 08:32:33PM +0000, Brian Candler wrote:
> >sends a `SIGTERM` to PID 1, waits some amount of time, and then sends
> >SIGKILL to force it to stop. It’s having to resort to SIGKILL, because
> >`pdns_server` doesn’t respond to `SIGTERM`. What is the correct signal to
> >tell PDNS to shut down?

> The problem is not with pdns, it's with docker: strange things happen if you
> run the application as pid 1. For an explanation see: https://hackernoon.com/my-process-became-pid-1-and-now-signals-behave-strangely-b05c52cc551c

In addition, you could ask powerdns to stop using pdns_control. 

	Bert


More information about the Pdns-users mailing list