Well, that's it. I added a morgue, and now we have zero leakage of
children, and no race conditions. Code seems to work, but I couldn't force
the morgue codepath (I am doing this through a high-latency ssh connection),
so it requires other eyeballs and some testing.
Patch rediffed against 2.1.4
On Fri, 17 May 2002, Rob Mueller (fastmail) wrote:
> Just a little note about this patch. This part:
>
> +/* Did we find it? */
> +if (!c || c->pid != msg->service_pid) {
> + syslog(LOG_ERR, "can't find pid %d to process message %d",
> + msg->service_pid, msg->message);
> + return;
>
>
raes Holschuh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 3:34 AM
Subject: [PATCH] 2.1.4 master process counting (cleaned up)
> This is a slightly updated version of the patch, rediffed to apply cleanly
> to 2.1.4 as distributed in the tarball. It
This is a slightly updated version of the patch, rediffed to apply cleanly
to 2.1.4 as distributed in the tarball. It logs when child die for no good
reason, so it should help address concerns that it would mask a worse
problem.
--
"One disk to rule them all, One disk to find them. One disk t