dexter.html revision 9daf0f9327698ddd3c7a715654fc839aae7f6dab
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington<HTML>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence<HEAD>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<TITLE>Apache MPM mpmt_pthread</TITLE>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson</HEAD>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
15a44745412679c30a6d022733925af70a38b715David Lawrence<BODY
15a44745412679c30a6d022733925af70a38b715David Lawrence BGCOLOR="#FFFFFF"
15a44745412679c30a6d022733925af70a38b715David Lawrence TEXT="#000000"
15a44745412679c30a6d022733925af70a38b715David Lawrence LINK="#0000FF"
15a44745412679c30a6d022733925af70a38b715David Lawrence VLINK="#000080"
15a44745412679c30a6d022733925af70a38b715David Lawrence ALINK="#FF0000"
15a44745412679c30a6d022733925af70a38b715David Lawrence>
15a44745412679c30a6d022733925af70a38b715David Lawrence<!--#include virtual="header.html" -->
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<H1 ALIGN="CENTER">Multi-Processing Module mpmt_pthread</H1>
f621719829356f27e831507b75e88e8a655e48d8Danny Mayer<P>
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid LawrenceThis Multi-Processing Module controls process and thread creation
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonusing the pthread interface.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson</P>
593cb00bd17e5e2ab0dcb7c635a9a81082dc5d0eAndreas Gustafsson
593cb00bd17e5e2ab0dcb7c635a9a81082dc5d0eAndreas Gustafsson<P><A
3e14b69d196a3ebeecc4662c426344dcfd7db678Andreas GustafssonHREF="module-dict.html#Status"
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceREL="Help"
d8e34837cd6c88c42b3ecdb9107a43ecf8252e79David Lawrence><STRONG>Status:</STRONG></A> MPM
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence<BR>
364a82f7c25b62967678027043425201a5e5171aBob Halley<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonHREF="module-dict.html#SourceFile"
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceREL="Help"
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence><STRONG>Source File:</STRONG></A> mpmt_pthread.c
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<BR>
3e14b69d196a3ebeecc4662c426344dcfd7db678Andreas Gustafsson<A
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceHREF="module-dict.html#ModuleIdentifier"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREL="Help"
673ce7aebbb6d01c75b95f6df1ec491d6422b951Andreas Gustafsson><STRONG>Module Identifier:</STRONG></A> mpm_mpmt_pthread_module
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson</P>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence<H2>Summary</H2>
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p>This Multi-Processing Module (MPM) is the default for most
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonunix-like operating systems. It uses pthread system calls to create a
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonhybrid multi-process multi-threaded server. The server starts a fixed
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonnumber of processes. The server adjusts to handle load by increasing
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrenceor decreasing the number of threads.</p>
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<H2>Directives</H2>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<UL>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="#connectionstatus">ConnectionStatus</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#coredumpdirectory">CoreDumpDirectory</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#group">Group</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#pidfile">PidFile</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#listen">Listen</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#listenbacklog">ListenBacklog</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#lockfile">LockFile</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#maxsparethreads">MaxSpareThreads</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#minsparethreads">MinSpareThreads</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="#numservers">NumServers</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#scoreboardfile">ScoreBoardFile</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#sendbuffersize">SendBufferSize</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="#startthreads">StartThreads</a></li>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<li><a href="mpm_common.html#user">User</a></li>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence</UL>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<H2><A NAME="connectionstatus">ConnectionStatus directive</A></H2>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p><A
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence HREF="directive-dict.html#Syntax"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Syntax:</STRONG></A>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Default"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Default:</STRONG></A>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<A
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence HREF="directive-dict.html#Context"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence><STRONG>Context:</STRONG></A> server config<BR>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Status"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Status:</STRONG></A> MPM<P>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Module"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Module:</STRONG></A> dexter</p>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p>Whether or not to maintain status information on current
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonconnections</p>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p><hr></p>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<H2><A NAME="numservers">NumServers directive</A></H2>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p><A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Syntax"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence><STRONG>Syntax:</STRONG></A>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Default"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
e482a1c91ecb5e47bc26617bf310d6b5c41fad91Andreas Gustafsson><STRONG>Default:</STRONG></A>
e482a1c91ecb5e47bc26617bf310d6b5c41fad91Andreas Gustafsson<A
e482a1c91ecb5e47bc26617bf310d6b5c41fad91Andreas Gustafsson HREF="directive-dict.html#Context"
e482a1c91ecb5e47bc26617bf310d6b5c41fad91Andreas Gustafsson REL="Help"
e482a1c91ecb5e47bc26617bf310d6b5c41fad91Andreas Gustafsson><STRONG>Context:</STRONG></A> server config<BR>
e482a1c91ecb5e47bc26617bf310d6b5c41fad91Andreas Gustafsson<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Status"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Status:</STRONG></A> MPM<P>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Module"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Module:</STRONG></A> dexter</p>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p>Number of children alive at the same time.</p>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p><hr></p>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<H2><A NAME="startthreads">StartThreads directive</A></H2>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<p><A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Syntax"
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson REL="Help"
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson><STRONG>Syntax:</STRONG></A>
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Default"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Default:</STRONG></A>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Context"
f621719829356f27e831507b75e88e8a655e48d8Danny Mayer REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Context:</STRONG></A> server config<BR>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Status"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Status:</STRONG></A> MPM<P>
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson<A
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson HREF="directive-dict.html#Module"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson REL="Help"
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson><STRONG>Module:</STRONG></A> dexter</p>
7bf91d95eb5a49117d5080bbd03839b9de5c8423Andreas Gustafsson
19f4d25fd5b35b1375b0b9f13b66770ee4a66154Brian Wellington<p>Number of threads each child creates.</p>
19f4d25fd5b35b1375b0b9f13b66770ee4a66154Brian Wellington
f621719829356f27e831507b75e88e8a655e48d8Danny Mayer<!--#include virtual="footer.html" -->
19f4d25fd5b35b1375b0b9f13b66770ee4a66154Brian Wellington</BODY>
19f4d25fd5b35b1375b0b9f13b66770ee4a66154Brian Wellington</HTML>
19f4d25fd5b35b1375b0b9f13b66770ee4a66154Brian Wellington