leader.html.en revision 87ffb6e33f3cbef3b9bb406cc2d27039fa336eaa
0066eddda7203f6345b56f77d146a759298dc635gryzor<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd This file is generated from xml source: DO NOT EDIT
0066eddda7203f6345b56f77d146a759298dc635gryzor XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0066eddda7203f6345b56f77d146a759298dc635gryzor<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
0066eddda7203f6345b56f77d146a759298dc635gryzor<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
0066eddda7203f6345b56f77d146a759298dc635gryzor<link href="/images/favicon.ico" rel="shortcut icon" /></head>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.1</a> > <a href="./">Modules</a></div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<p><span>Available Languages: </span><a href="/de/mod/leader.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<a href="/en/mod/leader.html" title="English"> en </a> |
0066eddda7203f6345b56f77d146a759298dc635gryzor<a href="/ko/mod/leader.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
0066eddda7203f6345b56f77d146a759298dc635gryzor<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>An experimental variant of the standard <code class="module"><a href="/mod/worker.html">worker</a></code>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="module-dict.html#Status">Status:</a></th><td>MPM</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>mpm_leader_module</td></tr>
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>leader.c</td></tr></table>
0066eddda7203f6345b56f77d146a759298dc635gryzor <p>This MPM is experimental, so it may or may not work
1a1356f375e36db7bee379ea0684ab389579f798rbowen as expected.</p>
0066eddda7203f6345b56f77d146a759298dc635gryzor <p>This is an experimental variant of the standard
0066eddda7203f6345b56f77d146a759298dc635gryzor <code class="module"><a href="/mod/worker.html">worker</a></code> MPM. It uses a Leader/Followers design pattern
0066eddda7203f6345b56f77d146a759298dc635gryzor to coordinate work among threads. For more info, see <a href="http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf">http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf</a>.</p>
0066eddda7203f6345b56f77d146a759298dc635gryzor <p>To use the <code class="module"><a href="/mod/leader.html">leader</a></code> MPM, add
0066eddda7203f6345b56f77d146a759298dc635gryzor <code>--with-mpm=leader</code> to the <code>configure</code> script's
1f1b6bf13313fdd14a45e52e553d3ff28689b717coar <p>This MPM depends on APR's atomic compare-and-swap operations for
01f52ba6a87aa39d3873a441369828875c471823trawick thread synchronization. If you are compiling for an x86 target
01f52ba6a87aa39d3873a441369828875c471823trawick and you don't need to support 386s, or you are compiling for a
1f1b6bf13313fdd14a45e52e553d3ff28689b717coar SPARC and you don't need to run on pre-UltraSPARC chips, add
1f1b6bf13313fdd14a45e52e553d3ff28689b717coar <code>--enable-nonportable-atomics=yes</code> to the <code>configure</code>
1f1b6bf13313fdd14a45e52e553d3ff28689b717coar script's arguments. This will cause APR to implement atomic operations
0066eddda7203f6345b56f77d146a759298dc635gryzor using efficient opcodes not available in older CPUs.</p>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh<div id="quickview"><h3 class="directives">Directives</h3>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#acceptmutex">AcceptMutex</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#coredumpdirectory">CoreDumpDirectory</a></li>
0066eddda7203f6345b56f77d146a759298dc635gryzor<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#enableexceptionhook">EnableExceptionHook</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#group">Group</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#listen">Listen</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#listenbacklog">ListenBacklog</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#lockfile">LockFile</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#maxclients">MaxClients</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#maxmemfree">MaxMemFree</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></li>
8d71cfe50621fe78b960ccef99680b89bb61170elgentis<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#maxsparethreads">MaxSpareThreads</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#minsparethreads">MinSpareThreads</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#pidfile">PidFile</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#scoreboardfile">ScoreBoardFile</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#sendbuffersize">SendBufferSize</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#serverlimit">ServerLimit</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#startservers">StartServers</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#threadlimit">ThreadLimit</a></li>
20f499565e77defe9dab24dd85c02f38a1175855nd<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#threadsperchild">ThreadsPerChild</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#threadstacksize">ThreadStackSize</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#user">User</a></li>
01f52ba6a87aa39d3873a441369828875c471823trawick<p><span>Available Languages: </span><a href="/de/mod/leader.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
01f52ba6a87aa39d3873a441369828875c471823trawick<a href="/en/mod/leader.html" title="English"> en </a> |
20f499565e77defe9dab24dd85c02f38a1175855nd<a href="/ko/mod/leader.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
01f52ba6a87aa39d3873a441369828875c471823trawick<p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
01f52ba6a87aa39d3873a441369828875c471823trawick<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div>