1 <html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
2 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
3 This file is generated from xml source: DO NOT EDIT
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 --><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:
6 </span></td><td>Multi-Processing Module implementing an exclusively threaded web
7 server optimized for Novell NetWare</td></tr><tr><td nowrap="nowrap"><a href="module-dict.html#Status" class="help">Status:
8 </a></td><td>MPM</td></tr><tr><td nowrap="nowrap"><a href="module-dict.html#ModuleIdentifier" class="help">Module Identifier:
9 </a></td><td>mpm_netware_module</td></tr></table></td></tr></table><h2>Summary</h2>
10 <p>This Multi-Processing Module (MPM) implements an exclusively
11 threaded web server that has been optimized for Novell
14 <p>The main thread is responsible for launching child
15 worker threads which listen for connections and serve them when they
16 arrive. Apache always tries to maintain several <em>spare</em>
17 or idle worker threads, which stand ready to serve incoming
18 requests. In this way, clients do not need to wait for a new
19 child threads to be spawned before their requests can be
22 <p>The <code>StartThreads</code>, <code>MinSpareThreads</code>,
23 <code>MaxSpareThreads</code>, and <code>MaxThreads</code>
24 regulate how the main thread creates worker threads to serve
25 requests. In general, Apache is very self-regulating, so most
26 sites do not need to adjust these directives from their default
27 values. Sites which need to serve more than 250 simultaneous
28 requests may need to increase <code>MaxThreads</code>, while
29 sites with limited memory may need to decrease
30 <code>MaxThreads</code> to keep the server from thrashing (spawning and
31 terminating idle threads). More information about
32 tuning process creation is provided in the <a href="../misc/perf-tuning.html">performance hints</a>
35 <p><code>MaxRequestsPerChild</code> controls how frequently the
36 server recycles processes by killing old ones and launching new
37 ones. On the NetWare OS it is highly recommended that this directive
38 remain set to 0. This allows worker threads to continue servicing
39 requests indefinitely.</p>
41 <p>See also: <a href="../bind.html">Setting which addresses and
42 ports Apache uses</a>.</p>
43 <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:
44 </strong></td><td/></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:
45 </a></td><td>MaxThreads <em>number</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default:
46 </a></td><td><code>MaxThreads 250</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
47 </a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
48 </a></td><td>MPM</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:
49 </a></td><td>mpm_netware</td></tr></table></td></tr></table>
50 <p>The MaxThreads directive sets the desired maximum
51 number worker threads allowable.</p>
52 <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:
53 </strong></td><td/></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:
54 </a></td><td>ThreadStackSize <em>number</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default:
55 </a></td><td><code>ThreadStackSize 65536</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
56 </a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
57 </a></td><td>MPM</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:
58 </a></td><td>mpm_netware</td></tr></table></td></tr></table>
59 <p>This directive tells the server what stack size to use for
60 each of the running threads. If you ever get a stack overflow
61 you will need to bump this number to a higher setting.</p>
62 <hr/></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="../images/index.gif" alt="Index"/></a><a href="../"><img src="../images/home.gif" alt="Home"/></a></body></html>