]> granicus.if.org Git - apache/blob - docs/manual/mod/beos.xml
`build check-ja` :-)
[apache] / docs / manual / mod / beos.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
4
5 <!--
6  Copyright 2002-2004 The Apache Software Foundation
7
8  Licensed under the Apache License, Version 2.0 (the "License");
9  you may not use this file except in compliance with the License.
10  You may obtain a copy of the License at
11
12      http://www.apache.org/licenses/LICENSE-2.0
13
14  Unless required by applicable law or agreed to in writing, software
15  distributed under the License is distributed on an "AS IS" BASIS,
16  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  See the License for the specific language governing permissions and
18  limitations under the License.
19 -->
20
21 <modulesynopsis metafile="beos.xml.meta">
22
23 <name>beos</name>
24 <description>This Multi-Processing Module is optimized for BeOS.</description>
25 <status>MPM</status>
26 <sourcefile>beos.c</sourcefile>
27 <identifier>mpm_beos_module</identifier>
28
29 <summary>
30     <p>This Multi-Processing Module (MPM) is the default for BeOS. It uses
31       a single control process which creates threads to handle requests.</p>
32 </summary>
33 <seealso><a href="../bind.html">Setting which addresses and ports Apache
34 uses</a></seealso>
35
36 <directivesynopsis location="mpm_common"><name>User</name>
37 </directivesynopsis>
38 <directivesynopsis location="mpm_common"><name>Group</name>
39 </directivesynopsis>
40 <directivesynopsis location="mpm_common"><name>Listen</name>
41 </directivesynopsis>
42 <directivesynopsis location="mpm_common"><name>ListenBacklog</name>
43 </directivesynopsis>
44 <directivesynopsis location="mpm_common"><name>SendBufferSize</name>
45 </directivesynopsis>
46 <directivesynopsis location="mpm_common"><name>StartThreads</name>
47 </directivesynopsis>
48 <directivesynopsis location="mpm_common"><name>MinSpareThreads</name>
49 </directivesynopsis>
50 <directivesynopsis location="mpm_common"><name>MaxSpareThreads</name>
51 </directivesynopsis>
52 <directivesynopsis location="mpm_common"><name>MaxClients</name>
53 </directivesynopsis>
54 <directivesynopsis location="mpm_common"><name>CoreDumpDirectory</name>
55 </directivesynopsis>
56 <directivesynopsis location="mpm_common"><name>MaxMemFree</name>
57 </directivesynopsis>
58 <directivesynopsis location="mpm_common"><name>PidFile</name>
59 </directivesynopsis>
60 <directivesynopsis location="mpm_common"><name>ScoreBoardFile</name>
61 </directivesynopsis>
62
63 <directivesynopsis>
64 <name>MaxRequestsPerThread</name>
65 <description>Limit on the number of requests that an individual thread
66 will handle during its life</description>
67 <syntax>MaxRequestsPerThread <var>number</var></syntax>
68 <default>MaxRequestsPerThread 0</default>
69 <contextlist><context>server config</context></contextlist>
70
71 <usage>
72     <p>The <directive>MaxRequestsPerThread</directive> directive sets
73     the limit on the number of requests that an individual server thread
74     will handle. After <directive>MaxRequestsPerThread</directive>
75     requests, the thread will die. If <directive
76     >MaxRequestsPerThread</directive> is <code>0</code>, then the thread
77     will never expire.</p>
78
79     <p>Setting <directive>MaxRequestsPerThread</directive> to a
80     non-zero limit has two beneficial effects:</p>
81
82     <ul>
83       <li>it limits the amount of memory that a thread can consume
84       by (accidental) memory leakage;</li>
85
86       <li>by giving threads a finite lifetime, it helps reduce
87       the number of threads when the server load reduces.</li>
88     </ul>
89
90     <note><title>Note:</title>
91       <p>For <directive module="core">KeepAlive</directive> requests, only
92       the first request is counted towards this limit. In effect, it
93       changes the behavior to limit the number of <em>connections</em>
94       per thread.</p>
95     </note>
96 </usage>
97 </directivesynopsis>
98
99 </modulesynopsis>
100