You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by James Gosnell <go...@indstate.edu> on 2000/04/13 05:19:14 UTC

defunct procs...

Should I be conscerned about httpd defunct processes?

--

James Gosnell
 goose@indstate.edu
 ICQ#1727569
 http://premed.dhs.org




Re: defunct procs...

Posted by James Gosnell <go...@indstate.edu>.
cool. thanks for the info

--

James Gosnell
 goose@indstate.edu
 ICQ#1727569
 http://premed.dhs.org




[Getting more OT by the minute] Re: defunct procs...

Posted by Dave DeMaagd <de...@imagegroup.com>.
teo@digiro.net wrote:
> > Should I be conscerned about httpd defunct processes?
> yes, they take up resources from your system and don't give
> back. Also, some `crazy' ones may eat 99% of CPU power.
> In a normal setup you shouldn't have any of those.
> 
That depends on the defunc-ness...  If it's merely a zombie, it's
doing nothing more than taking a slot in the process table, they're
not using any  other resources.  In that kind of a case, you only need
to worry about there being a lot of them (somehting that usually only
happens as a sign of much other things being massively wrong).  

If it's stuck in a blocking state (waiting for something), it
shouldn't be taking resources beyond what it was when it started
blocking.  

Which leads to defunctness because of bad programming (not cleaning up
after yourself, bad infinite loops, etc)...  Those are the only ones
that I've ever seen go 'crazy'...

-- 
Dave DeMaagd - demaagd@slashdot.org - http://www.spinynorm.net
I don't have a solution, but I admire your problem.
SysAdmin/Programmer - TheImageGroup - ===|:=P~~~~

Re: defunct procs...

Posted by te...@digiro.net.
Hi James!
On Wed, 12 Apr 2000, James Gosnell wrote:

> Should I be conscerned about httpd defunct processes?
yes, they take up resources from your system and don't give
back. Also, some `crazy' ones may eat 99% of CPU power.
In a normal setup you shouldn't have any of those.

-- teodor-perl-beginner

Re: defunct procs...

Posted by Vivek Khera <kh...@kciLink.com>.
>>>>> "JG" == James Gosnell <go...@indstate.edu> writes:

JG> Should I be conscerned about httpd defunct processes?

How long to they stick around?  Are you talking about zombies or some
other "defunct"-ness?

They should go away after a few seconds, when the parent get a chance
to reap them, assuming they're zombies.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-301-545-6996
PGP & MIME spoken here            http://www.kciLink.com/home/khera/

Re: defunct procs...

Posted by Stas Bekman <sb...@stason.org>.
> Should I be conscerned about httpd defunct processes?

Yes, you will find the answer in 
http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess

______________________________________________________________________
Stas Bekman             | JAm_pH    --    Just Another mod_perl Hacker
http://stason.org/      | mod_perl Guide http://perl.apache.org/guide/ 
mailto:stas@stason.org  | http://perl.org    http://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
----------------------------------------------------------------------