On 26 January 2012 16:29, Mark Montague <mark@xxxxxxxxxxx> wrote: > On January 26, 2012 9:07 , =?UTF-8?Q?K=C4=81rlis_Repsons?= > <karlis.repsons@xxxxxxxxx> 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. > > As this may or may not be the situation you are concerned about, can you > tell us what problem you are trying to solve or why you are asking the > question? Knowing this might help us help you better. CGI? If I'm having a PHP extension forked along with an apache child process, that extension has initially not had a database connection, but it's established when processing requests,,, that connection can get forked along with a child process? (In other words and repeating myself a bit: apache forks it's child processes after they have already been processing requests?) Note that I'm considering prefork MPM and PHP scripts. --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx