So I'm reading through the pool.c and server.c code, and there's this function child_unregister that's called from the child process signal handlers. It set the scoreboard status for the calling child process's pid to STATE_WAIT.
I can't find any code that reaps the STATE_WAIT processes. I also haven't been able to zombie anything, despite trying really hard! http://www.dbmail.org/mantis/view.php?id=361 This bug is still bothering me. I think a proper fix is to write a manage_zombie_children function that reaps STATE_WAIT entries from the scoreboard. Blake, you're the one who's seen the zombie children, so I need some more info to try and reproduce the same issues. Aaron