Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 37279 invoked from network); 11 Mar 2009 16:08:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2009 16:08:43 -0000 Received: (qmail 75884 invoked by uid 500); 11 Mar 2009 16:08:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 75870 invoked by uid 500); 11 Mar 2009 16:08:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 75840 invoked by uid 99); 11 Mar 2009 16:08:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 09:08:31 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 24.201.245.36 is neither permitted nor denied by domain of francois.gingras@gmail.com) Received: from [24.201.245.36] (HELO relais.videotron.ca) (24.201.245.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 16:08:22 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [192.168.3.178] ([69.70.151.138]) by VL-MO-MR003.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KGC00M9ZNHDO5C0@VL-MO-MR003.ip.videotron.ca> for users@httpd.apache.org; Wed, 11 Mar 2009 12:08:02 -0400 (EDT) Message-id: <49B7E29A.4050200@gmail.com> Date: Wed, 11 Mar 2009 12:11:06 -0400 From: Frank Gingras User-Agent: Thunderbird 2.0.0.18 (X11/20081105) To: users@httpd.apache.org References: <640358900903110833w447e9206u55685fd4ea1e4c77@mail.gmail.com> <49B7DA10.40809@gmail.com> <640358900903110843j5fa18a4n747f80774f249567@mail.gmail.com> <49B7DD82.7080509@gmail.com> <640358900903110850n137ab9feib8994504f2ed62c1@mail.gmail.com> <49B7E024.4080309@gmail.com> <9287b2d20903110906h4be0b6efo21811557e5c61314@mail.gmail.com> In-reply-to: <9287b2d20903110906h4be0b6efo21811557e5c61314@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache processes John, prefork and worker are mutually exclusive. When apache is compiled, one is picked. In order to change the MPM, apache must be recompiled. See the output from httpd -V Frank. John Hudak wrote: > On a related question (and not to hijack this thread too much...)...In > the file apache2.conf > there are two sections that determine the server operation, prefork > MPM and worker MPM. > Where (how?) is the decision made to set either mpm_prefork_module > TRUE or mpm_worker_module TRUE? > It is my understanding that these approaches are mutually exclusive > when Apache is launched. Correct? > > -John > > > On Wed, Mar 11, 2009 at 12:00 PM, Frank Gingras > wrote: >> Andrew, >> >> Well, WinNT uses a different MPM model. There is a parent process, and a >> 'child' process that has internal threads, visible from mod_status. On >> linux, those would show up as separate processes. >> >> See http://httpd.apache.org/docs/2.2/mod/mpm_common.html#startservers >> >> Frank. >> >> Andrew Hole wrote: >>> Thanks. >>> But I just see 2 processes on task manager, not 63!!! Are there threads? >>> >>> MPM is commented. Where can i find the pre-set directives values? >>> # Server-pool management (MPM specific) >>> #Include conf/extra/httpd-mpm.conf >>> >>> Thanks >>> >>> On Wed, Mar 11, 2009 at 3:49 PM, Frank Gingras >> > wrote: >>> >>> Andrew, >>> >>> You may have not set those, but apache ships with pre-set >>> directives. Open your config files, and see what those directives >>> are set to. >>> >>> Idle workers are processes which are not responding to any HTTP >>> request at the moment. >>> >>> Frank. >>> >>> Andrew Hole wrote: >>> >>> I dont have configured any of that directives. There is any >>> default configuration? >>> >>> And about server-status: >>> >>> Parent Server Generation: 2 >>> >>> 1 requests currently being processed, 63 idle workers >>> >>> >>> What's mean parent server generation and idle workers? >>> >>> Thanks a lot >>> >>> >>> >>> On Wed, Mar 11, 2009 at 3:34 PM, Frank Gingras >>> >>> >> >> wrote: >>> >>> Andrew, >>> >>> See the StartServers / MinSpareServers directives. >>> >>> Frank. >>> >>> >>> Andrew Hole wrote: >>> >>> Hi! >>> >>> By default in version 2.2 how many child processes are >>> created >>> at apache >>> startup? When is created another one? >>> >>> Thanks >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> The official User-To-User support forum of the Apache HTTP >>> Server >>> Project. >>> See 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 >>> >>> >> > >>> >>> >>> >>> --------------------------------------------------------------------- >>> The official User-To-User support forum of the Apache HTTP Server >>> Project. >>> See 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 >>> >>> >>> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server Project. >> See 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 >> >> > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See 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 > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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