On 8/29/06, Fargusson.Alan <[EMAIL PROTECTED]> wrote:

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.

Yes, the main httpd process will create a back pocket of processes and
when there's need to serve the request it will make one of these run
the appropriate handler module. When the request is done that child
terminates and is harvested by the parent (that will create a new
child to replenish the back pocket). You could have the CGI create a
new child (e.g. to invoke a shell) but the CGI process would normally
wait for its child to terminate while processing the output of the
child into the response for the request.
What I tried to say is that I would not expect init to inherit any
child processes during normal working of the web server.

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

Reply via email to