Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 55586 invoked from network); 30 Oct 2008 06:39:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 06:39:40 -0000 Received: (qmail 35370 invoked by uid 500); 30 Oct 2008 06:39:38 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 35310 invoked by uid 500); 30 Oct 2008 06:39:38 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 35291 invoked by uid 99); 30 Oct 2008 06:39:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 23:39:38 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.191.128.81] (HELO mxout2.iskon.hr) (213.191.128.81) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Oct 2008 06:38:23 +0000 Received: (qmail 11919 invoked from network); 30 Oct 2008 07:38:31 +0100 X-Remote-IP: 213.191.142.123 Received: from unknown (HELO mx.iskon.hr) (213.191.142.123) by mxout2.iskon.hr with SMTP; 30 Oct 2008 07:38:31 +0100 Received: (qmail 1746 invoked from network); 30 Oct 2008 07:38:31 +0100 X-AVScan: ClamAV X-Remote-IP: 89.164.4.249 Received: from 4-249.dsl.iskon.hr (HELO mturk.csb) (89.164.4.249) by mx.iskon.hr with SMTP; 30 Oct 2008 07:38:30 +0100 Message-ID: <49095666.1040102@apache.org> Date: Thu, 30 Oct 2008 07:38:30 +0100 From: Mladen Turk User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: MPMs, COW vs Child Process Spawning References: <4908B27A.4050503@force-elite.com> In-Reply-To: <4908B27A.4050503@force-elite.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Paul Querna wrote: > Is COW ability of fork important enough with modern memory and operating > systems, to maintain two significantly different code paths for spawning > children processes? > > Background: > > One of the things I would like to do on the Simple MPM is unify how > child processes are created on win32 and unix. > > On Win32, there is no fork, so roughly speaking what the current winnt > MPM creates a new process, and feeds the configuration over a pipe to > the new child. > > On Unix, all of the current MPMs use fork, and do not execute a new > process, but instead then drop privileges and continue running. > > What I would like to do, is change Unix to use the same pattern as on > Windows. > I'm currently working on a portable apr process shared data using shared memory (See apr-dev list about the proposal) http://mail-archives.apache.org/mod_mbox/apr-dev/200804.mbox/%3C4809F5F9.4060006@apache.org%3E (Didn't get any replies to that, so it's either OK to proceed or it was totally non understandable ;) This could help unifying the platforms that need some sort of passing data between parent and child(s) Regards -- ^(TM)