Re: Apache processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
<francois.gingras@xxxxxxxxx> 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 <francois.gingras@xxxxxxxxx
>> <mailto:francois.gingras@xxxxxxxxx>> 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
>>        <francois.gingras@xxxxxxxxx <mailto:francois.gingras@xxxxxxxxx>
>>        <mailto:francois.gingras@xxxxxxxxx
>>        <mailto:francois.gingras@xxxxxxxxx>>> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
>>           To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>>        <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
>>           <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx
>>        <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>>
>>
>>            "   from the digest:
>>        users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>        <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>
>>           <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>        <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>>
>>
>>           For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>        <mailto:users-help@xxxxxxxxxxxxxxxx>
>>           <mailto:users-help@xxxxxxxxxxxxxxxx
>>        <mailto:users-help@xxxxxxxxxxxxxxxx>>
>>
>>
>>
>>    ---------------------------------------------------------------------
>>    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
>>    <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
>>     "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>    <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>
>>    For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>    <mailto:users-help@xxxxxxxxxxxxxxxx>
>>
>>
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux