httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Apache forking a forked child process -- is that possible?
Date Thu, 26 Jan 2012 15:43:25 GMT
On Thu, Jan 26, 2012 at 9:29 AM, Mark Montague <mark@catseye.org> wrote:
> On January 26, 2012 9:07 , =?UTF-8?Q?K=C4=81rlis_Repsons?=
> <karlis.repsons@gmail.com> wrote:
>>
>> as this seemed the only place to ask my question, here it goes:
>> is it ever possible that Apache (as we currently know it) makes a fork
>> of a child
>> process, which has already processed some requests?
>
>
> Yes.  When the child receives a request for a CGI script, it forks itself
> and the new child (child of the original child) then executes the external
> CGI program.  When the external CGI program exists, the new child ends.
>

(prefork only, threaded MPM's communiate with a separate daemon that
forks the CGI via mod_cgid)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message