You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2002/11/11 15:57:44 UTC

Re: httpd - where are these zombies coming from?

Tim Gardner wrote:
> I'm having trouble with zombies.  Red Hat 7.1 on a Dell server with 1 GB 
> memory.  The following ps output shows a somewhat typical output. 
> Sometimes there are no zombies, but most of the time there are several, 
> and often as many as this.  Performance often seems sluggish, and I am 
> assuming that this is because of this problem, though I don't know that 
> for sure.  Turning off the database lowers usage and decreases the 
> number of zombies, but I don't know if this is due to the database or to 
> the lower usage.
> 
> I can't figure out what is going on.  Any help / suggestions would be 
> much appreciated.
[...]
check
http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing_Subprocesses_from_mod_perl
in particular
http://perl.apache.org/docs/1.0/guide/performance.html#Avoiding_Zombie_Processes
my guess is that you use fork or its variations which leaves zombies.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com