mpm_netware.html.en revision 9ccc5ea873440dd766924e16d9dab2989d81a175
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd This file is generated from xml source: DO NOT EDIT
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd --><title>mpm_netware- Apache HTTP Server</title><link href="/style/manual.css" type="text/css" rel="stylesheet"/></head><body><blockquote><div align="center"><img src="/images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Apache Module mpm_netware</h1><table cellspacing="1" cellpadding="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap" valign="top"><span class="help">Description:</span></td><td>Multi-Processing Module implementing an exclusively threaded web
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd server optimized for Novell NetWare</td></tr><tr><td nowrap="nowrap"><a href="module-dict.html#Status" class="help">Status:</a></td><td>MPM</td></tr><tr><td nowrap="nowrap"><a href="module-dict.html#ModuleIdentifier" class="help">Module Identifier:</a></td><td>mpm_netware_module</td></tr></table></td></tr></table><h2>Summary</h2>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>This Multi-Processing Module (MPM) implements an exclusively
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd threaded web server that has been optimized for Novell
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NetWare.</p>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen <p>The main thread is responsible for launching child
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen worker threads which listen for connections and serve them when they
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen arrive. Apache always tries to maintain several <em>spare</em>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen or idle worker threads, which stand ready to serve incoming
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd requests. In this way, clients do not need to wait for a new
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd child threads to be spawned before their requests can be
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd served.</p>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd <p>The <code>StartThreads</code>, <code>MinSpareThreads</code>,
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <code>MaxSpareThreads</code>, and <code>MaxThreads</code>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd regulate how the main thread creates worker threads to serve
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd requests. In general, Apache is very self-regulating, so most
3f08db06526d6901aa08c110b5bc7dde6bc39905nd sites do not need to adjust these directives from their default
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd values. Sites which need to serve more than 250 simultaneous
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd requests may need to increase <code>MaxThreads</code>, while
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd sites with limited memory may need to decrease
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd <code>MaxThreads</code> to keep the server from thrashing (spawning and
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashi terminating idle threads). More information about
c04f76acce77126cf88b09350e56ea8c6b4a064enilgun tuning process creation is provided in the <a href="/misc/perf-tuning.html">performance hints</a>
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd documentation.</p>
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen <p><code>MaxRequestsPerChild</code> controls how frequently the
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen server recycles processes by killing old ones and launching new
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd ones. On the NetWare OS it is highly recommended that this directive
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem remain set to 0. This allows worker threads to continue servicing
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem requests indefinitely.</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>See also: <a href="/bind.html">Setting which addresses and
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<h2>Directives</h2><ul><li><a href="mpm_common.html#listen">Listen</a></li><li><a href="mpm_common.html#listenbacklog">ListenBacklog</a></li><li><a href="mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></li><li><a href="mpm_common.html#maxsparethreads">MaxSpareThreads</a></li><li><a href="#maxthreads">MaxThreads</a></li><li><a href="mpm_common.html#minsparethreads">MinSpareThreads</a></li><li><a href="mpm_common.html#sendbuffersize">SendBufferSize</a></li><li><a href="mpm_common.html#startthreads">StartThreads</a></li><li><a href="#threadstacksize">ThreadStackSize</a></li></ul><hr/><h2><a name="MaxThreads">MaxThreads</a> <a name="maxthreads">Directive</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>Description: </strong></td><td/></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:</a></td><td>MaxThreads <em>number</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default:</a></td><td><code>MaxThreads 250</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:</a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:</a></td><td>MPM</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:</a></td><td>mpm_netware</td></tr></table></td></tr></table>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<p>The MaxThreads directive sets the desired maximum
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd number worker threads allowable.</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<hr/><h2><a name="ThreadStackSize">ThreadStackSize</a> <a name="threadstacksize">Directive</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>Description: </strong></td><td/></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:</a></td><td>ThreadStackSize <em>number</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default:</a></td><td><code>ThreadStackSize 65536</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:</a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:</a></td><td>MPM</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:</a></td><td>mpm_netware</td></tr></table></td></tr></table>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>This directive tells the server what stack size to use for
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd each of the running threads. If you ever get a stack overflow
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd you will need to bump this number to a higher setting.</p>