Httpd Multi-Processing Module Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * httpd Concepts =Overview= https://home.feodorov.com:9443/wiki/Wiki.jsp?page=HttpdMultiProcessingModules")
 
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* http://httpd.apache.org/docs/current/mpm.html
=Internal=
=Internal=


Line 5: Line 9:
=Overview=
=Overview=


https://home.feodorov.com:9443/wiki/Wiki.jsp?page=HttpdMultiProcessingModules
The Multi-Processing Module (MPM) is a fundamental component of the server that is responsible for ''binding to network ports'', ''accepting requests'' and ''dispatching children to handle requests''. From a user's perspective, an MPM appears much like other Apache module, with the main difference that one and only one MPM must be loaded into the server at any time. The MPM must be chosen during compilation configuration and compiled into the server with the <tt>--with-mpm=''NAME''</tt> directive. The available MPMs are: prefork, worker, mpm_winnt, event, beds, mpm_netware, mpmt_os2:
 
=MPMs=
 
==prefork==
 
"prefork" is the default MPM for Unix. It determines httpd to function as a non-threaded web server, where each request is handled by a separated OS-level process. More details about prefork MPM:
 
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[httpd prefork MPM|prefork MPM]]
</blockquote>
 
==worker==
 
The worker MPM enables httpd to function as a hybrid multi-process/multi-threaded web server. More details about the worker MPM:
 
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[httpd worker MPM|worker MPM]]
</blockquote>
 
==mpm_winnt==
 
The default MPM for Windows.
 
=How to Find Out which MPM is Being Used=
 
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[httpd How to Find Out which MPM is Being Used|How to Find Out which MPM is Being Used]]
</blockquote>
 
=Compiling a Sever with a Specific MPM=
 
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[httpd worker MPM Compilation|woker MPM compilation]]
</blockquote>

Latest revision as of 19:50, 5 January 2017

External

Internal

Overview

The Multi-Processing Module (MPM) is a fundamental component of the server that is responsible for binding to network ports, accepting requests and dispatching children to handle requests. From a user's perspective, an MPM appears much like other Apache module, with the main difference that one and only one MPM must be loaded into the server at any time. The MPM must be chosen during compilation configuration and compiled into the server with the --with-mpm=NAME directive. The available MPMs are: prefork, worker, mpm_winnt, event, beds, mpm_netware, mpmt_os2:

MPMs

prefork

"prefork" is the default MPM for Unix. It determines httpd to function as a non-threaded web server, where each request is handled by a separated OS-level process. More details about prefork MPM:

prefork MPM

worker

The worker MPM enables httpd to function as a hybrid multi-process/multi-threaded web server. More details about the worker MPM:

worker MPM

mpm_winnt

The default MPM for Windows.

How to Find Out which MPM is Being Used

How to Find Out which MPM is Being Used

Compiling a Sever with a Specific MPM

woker MPM compilation