You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ricardo13 <ri...@gmail.com> on 2009/06/16 22:58:54 UTC

[users@httpd] MPM Default in Linux

Hi,

I read Apache's documentation and would like to know: "How do default MPM
module in Linux ??" Prefork or Worker ??

I ran the command httpd -l and shows some modules: 
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_env.c
  mod_setenvif.c
  prefork.c     -------> Prefork
  http_core.c

I compiled this way:
./configure --prefix=/usr/local/apache

Other question. How do I change to MPM Worker ??

Thank you
Ricardo
-- 
View this message in context: http://www.nabble.com/MPM-Default-in-Linux-tp24062763p24062763.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


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


Re: [users@httpd] MPM Default in Linux

Posted by Arnab Ganguly <ag...@gmail.com>.
Information's you are asking is very much there in
http://httpd.apache.org/docs/2.2/mod/directives.html. Search the index you
will get all the directives info and there default values.
Thanks
-A

On Wed, Jun 17, 2009 at 9:27 PM, ricardo figueiredo <
ricardoogrande@gmail.com> wrote:

> Hi,
>
> Other question.
> I compiled Apache with parameter --with-mpm=worker.
>
> What default values and maximum values for directives (ServerLimit,
> MaxClient, ThreadsPerChild, etc) ???
>
> Thank you
> Ricardo
>
> On Wed, Jun 17, 2009 at 8:34 AM, ricardo figueiredo <
> ricardoogrande@gmail.com> wrote:
>
>> Hi Prasanna Ram,
>>
>> Great Help !!!
>> Thank you very much.
>> Ricardo
>>
>>
>> On Wed, Jun 17, 2009 at 8:30 AM, Prasanna Ram Venkatachalam <
>> vpram86@gmail.com> wrote:
>>
>>>      Only installing Apache ??? Couldn't insert only module worker.c ??
>>>>
>>>
>>> Nope. You have to recompile it as far as I know!
>>>
>>> Regards
>>> Prasanna Ram
>>>
>>
>>
>
>
> --
> Muito Obrigado
>
> Ricardo
>

Re: [users@httpd] MPM Default in Linux

Posted by Prasanna Ram Venkatachalam <vp...@gmail.com>.
>
>
> What default values and maximum values for directives (ServerLimit,
> MaxClient, ThreadsPerChild, etc) ???
>
>
Chk this
http://httpd.apache.org/docs/2.0/mod/worker.html
And follow the link for each directive to find more about it

Regards
Prasanna Ram

Re: [users@httpd] MPM Default in Linux

Posted by ricardo figueiredo <ri...@gmail.com>.
Hi,

Other question.
I compiled Apache with parameter --with-mpm=worker.

What default values and maximum values for directives (ServerLimit,
MaxClient, ThreadsPerChild, etc) ???

Thank you
Ricardo

On Wed, Jun 17, 2009 at 8:34 AM, ricardo figueiredo <
ricardoogrande@gmail.com> wrote:

> Hi Prasanna Ram,
>
> Great Help !!!
> Thank you very much.
> Ricardo
>
>
> On Wed, Jun 17, 2009 at 8:30 AM, Prasanna Ram Venkatachalam <
> vpram86@gmail.com> wrote:
>
>>      Only installing Apache ??? Couldn't insert only module worker.c ??
>>>
>>
>> Nope. You have to recompile it as far as I know!
>>
>> Regards
>> Prasanna Ram
>>
>
>


-- 
Muito Obrigado

Ricardo

Re: [users@httpd] MPM Default in Linux

Posted by ricardo figueiredo <ri...@gmail.com>.
Hi Prasanna Ram,

Great Help !!!
Thank you very much.
Ricardo

On Wed, Jun 17, 2009 at 8:30 AM, Prasanna Ram Venkatachalam <
vpram86@gmail.com> wrote:

>      Only installing Apache ??? Couldn't insert only module worker.c ??
>>
>
> Nope. You have to recompile it as far as I know!
>
> Regards
> Prasanna Ram
>

Re: [users@httpd] MPM Default in Linux

Posted by Prasanna Ram Venkatachalam <vp...@gmail.com>.
>
>      Only installing Apache ??? Couldn't insert only module worker.c ??
>

Nope. You have to recompile it as far as I know!

Regards
Prasanna Ram

Re: [users@httpd] MPM Default in Linux

Posted by ricardo figueiredo <ri...@gmail.com>.
Hi,

On Tue, Jun 16, 2009 at 11:55 PM, Prasanna Ram Venkatachalam <
vpram86@gmail.com> wrote:

>
>> I read Apache's documentation and would like to know: "How do default MPM
>> module in Linux ??" Prefork or Worker ??
>
>
> Prefork is the default
>
>>
>> Other question. How do I change to MPM Worker ??
>
>
> Compile like this
> ./configure --prefix=/usr/local/apache --with-mpm=worker
>

    Only installing Apache ??? Couldn't insert only module worker.c ??

     Thank you
      Ricardo


> Regards
> Prasanna Ram
>



-- 
Muito Obrigado

Ricardo

Re: [users@httpd] MPM Default in Linux

Posted by Prasanna Ram Venkatachalam <vp...@gmail.com>.
>
>
> I read Apache's documentation and would like to know: "How do default MPM
> module in Linux ??" Prefork or Worker ??


Prefork is the default

>
> Other question. How do I change to MPM Worker ??


Compile like this
./configure --prefix=/usr/local/apache --with-mpm=worker

Regards
Prasanna Ram