re: fastcgi/apache question

Mark Brown (mbrown@openmarket.com)
Fri, 25 Oct 1996 17:46:04 -0400

Message-Id: <2.2.32.19961025214604.0069395c@postoffice.openmarket.com>
Date: Fri, 25 Oct 1996 17:46:04 -0400
To: fastcgi-developers@openmarket.com, raman@Adobe.COM
From: Mark Brown <mbrown@openmarket.com>
Subject: re: fastcgi/apache question

T.V. Raman asks

    The Apache server configuration lets you specify the following:

    # MaxRequestsPerChild: the number of requests each child process is
    #  allowed to process before the child dies.

    What's the effect of the child dying on the fcg process?
    Is the fcg process a logical child or a sibling of the httpd
    processes the main server forks?

A child dying has no effect on a FastCGI process.
The child is a cousin of the FastCGI process it is communicating
with.  The process hierarchy goes like this:

    1 httpd parent process
        1.1 FastCGI application manager
            1.1.1 FastCGI AppClass #1
            1.1.2 FastCGI AppClass #2, etc.
        1.2 httpd child process #1
        1.3 httpd child process #2, etc.

    --mark