Each CGI runs in its own process.  Java typically runs in an application server 
like Tomcat or WAS, but it can be run as a CGI.  I think PHP actually runs the 
same way as a CGI.

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Rob
van der Heij
Sent: Tuesday, August 29, 2006 1:18 PM
To: [email protected]
Subject: Re: Init process consuming CPU


On 8/29/06, John Summerfied <[EMAIL PROTECTED]> wrote:

> I imagine whatever's running under httpd (CGI, Java, PHP etc) could
> contribute to it.

Wouldn't those run inside the httpd child thread itself, rather than
spawn another thread?
The httpd parent normally does not terminate so that will inherit all
usage of the children. My experience is that often cron is the one to
create a child process and not hang out for it to terminate.

Rob
--
Rob van der Heij
Velocity Software, Inc
http://velocitysoftware.com/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to