Backend destructor never called

GrĂ©gory Oestreicher <[email protected]> Sat, 17 Sep 2016 11:24:01 +0200
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <[email protected]>
Hi All,

Tested with PowerDNS master when doing some maintenance work on the LDAP 
backend it seems that the backend destructor is never called. There's a 
bit of cleanup I'd like to do (removing the Kerberos credentials cache 
file) but this never happens.

Tracing it it seems that when the main process receives a SIGTERM it 
will in turn send a SIGKILL to all children, terminating them abruptly. 
At least that's what I got from a quick skim at the code. Is this really 
what happens? What are the reasons behind this? If that's not what's 
really happening do you have any idea why the backend destructor is 
never called?

Cheers,
Grégory
_______________________________________________
Pdns-dev mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-dev