You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2012/10/08 18:13:45 UTC

Re: svn commit: r1395555 - /httpd/httpd/trunk/docs/manual/mpm.xml

On Mon, Oct 8, 2012 at 9:35 AM,  <rb...@apache.org> wrote:
> Author: rbowen
> Date: Mon Oct  8 13:35:52 2012
> New Revision: 1395555
>
> URL: http://svn.apache.org/viewvc?rev=1395555&view=rev
> Log:
> Thanks to Daniel, further enhance the explanation of the decision of the default MPM.
>
> Modified:
>     httpd/httpd/trunk/docs/manual/mpm.xml
>
> Modified: httpd/httpd/trunk/docs/manual/mpm.xml
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mpm.xml?rev=1395555&r1=1395554&r2=1395555&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/docs/manual/mpm.xml (original)
> +++ httpd/httpd/trunk/docs/manual/mpm.xml Mon Oct  8 13:35:52 2012
> @@ -95,10 +95,9 @@ Linux, BSD, Solaris, Mac OS X, etc.</p><
>
>  <p>In the case of Unix, the decision as to which MPM is installed is
>  based on two questions:</p>
> -<p>1. Does the system support <a
> -href="http://en.wikipedia.org/wiki/Threads_(computer_science)">threads</a>?</p>
> -<p>2. Does the system support <a
> -href="http://en.wikipedia.org/wiki/Polling_(computer_science)">polling</a>?</p>
> +<p>1. Does the system support threads?</p>
> +<p>2. Does the system support thread-safe polling (Specifically, the
> +kqueue and epoll functions)?</p>

And event ports.

Big picture IMO:

1. in absence of --with-mpm=FOO, the default MPM is selected based on
some really geeky gorp
2. The recommended solution is

a. specify

--enable-mpms-shared=all

so that you have available anything known to work on your platform

b. If you specifically want to use prefork or worker, ALSO add

--with-mpm=prefork or --with-mpm=worker

c. If you change your mind about the MPM later, change the LoadModule directive

>
>  <p>If the answer to both questions is 'yes', the default MPM is
>  <module>event</module>.</p>
>
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/