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(
{
On 2004-10-06, Mark Stosberg <[EMAIL PROTECTED]> wrote:
>
>>> Could setting MaxRequestsPerChild be a meaningful solution here? It
>>> would seem that this would cause the Apache child processes to
>>> periodically get re-created, killing related zombies in the process.
>>
>> If you aren't using Ma
On 2004-10-06, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Wed, 2004-10-06 at 16:56, Mark Stosberg wrote:
>> At your recommended, I installed strace and ran it on the hung process.
>> It doesn't work.
>
> Hmm, maybe it's time to add some logging to your forked processes to
> find out where they
On Wed, 2004-10-06 at 16:56, Mark Stosberg wrote:
> At your recommended, I installed strace and ran it on the hung process.
> It doesn't work.
Hmm, maybe it's time to add some logging to your forked processes to
find out where they are getting stuck.
> Could setting MaxRequestsPerChild be a meani
Stas --
On 2004-10-05, Stas Bekman <[EMAIL PROTECTED]> wrote:
>
> May be it's just not working on your platform. Have you tried the other
> suggested solutions at:
> http://perl.apache.org/docs/1.0/guide/performance.html#Avoiding_Zombie_Processes
Thank you very much for the response. In the past
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
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 created only in a m