Hi Mark,
I don't know if this will help, but out of the
numerous ways I tried this is the only way I could
solve the zombie issue in MP2 on Solaris 8:
use POSIX 'WNOHANG';
use POSIX ":sys_wait_h";
my($kid);
do {
$kid=waitpid(-1,WNOHANG);
} until $kid <= 0;
if(!(defined ($pid = fork(
{
Mark Stosberg wrote:
Hello,
I've been enjoying the performance benefits of mod_perl, and appreciate
the help of the contributors here.
Now I'm investigating why our production code is producing zombies. I'll
post the key parts of my code below. First, some observations:
1. Zombies appear to be