[Dnsmasq-discuss] dnsmasq and zombies

Simon Kelley simon at thekelleys.org.uk
Mon Jul 2 14:10:02 BST 2007

Gerrit Kühn wrote:
> On Mon, 02 Jul 2007 13:33:55 +0100 Simon Kelley <simon at thekelleys.org.uk>
> wrote about Re: [Dnsmasq-discuss] dnsmasq and zombies:
> SK> The most obvious place to look, given the symptoms, is the
> SK> functionality which runs an executable whenever a DHCP lease changes.
> SK> That code was not in 2.23, and it needs explicit configuration to
> SK> activate it in 2.38. Are you using that facility? (--dhcp-script)
> Yes, that did the trick. Without
> # dhcp-script=/bin/echo
> in the configuration file, even v2.38 doesn't create zombies. Thanks for
> the hint. However, should this happen?

No, it shouldn't. Dnsmasq should be collecting exit codes from its dead
children and does so fine in most circumstances.

If your script is just /bin/echo then quite possibly something strange
is going on with the child-process code.

Are you in a position to do some serious debugging on this (like maybe,
running dnsmasq under truss, to see waht syscalls it makes?)



More information about the Dnsmasq-discuss mailing list