2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
4 <!-- English revision: 1.5 -->
7 Copyright 2003-2004 The Apache Software Foundation
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
22 <modulesynopsis metafile="beos.xml.meta">
24 <description>Dieses Multi-Processing-Modul ist für BeOS
25 optimiert.</description>
27 <sourcefile>beos.c</sourcefile>
28 <identifier>mpm_beos_module</identifier>
31 <p>Dieses Multi-Processing-Modul (MPM) ist das Standardmodul für BeOS.
32 Es benutzt einen einzelnen Steuerprozess welcher Threads für die
33 Bedienung der Anfragen erzeugt.</p>
35 <seealso><a href="../bind.html">Adress- und Port-Einstellungen</a>
38 <directivesynopsis location="mpm_common"><name>User</name>
40 <directivesynopsis location="mpm_common"><name>Group</name>
42 <directivesynopsis location="mpm_common"><name>Listen</name>
44 <directivesynopsis location="mpm_common"><name>ListenBacklog</name>
46 <directivesynopsis location="mpm_common"><name>SendBufferSize</name>
48 <directivesynopsis location="mpm_common"><name>StartThreads</name>
50 <directivesynopsis location="mpm_common"><name>MinSpareThreads</name>
52 <directivesynopsis location="mpm_common"><name>MaxSpareThreads</name>
54 <directivesynopsis location="mpm_common"><name>MaxClients</name>
56 <directivesynopsis location="mpm_common"><name>CoreDumpDirectory</name>
58 <directivesynopsis location="mpm_common"><name>MaxMemFree</name>
60 <directivesynopsis location="mpm_common"><name>PidFile</name>
62 <directivesynopsis location="mpm_common"><name>ScoreBoardFile</name>
66 <name>MaxRequestsPerThread</name>
67 <description>Die maximale Anzahl von Anfragen, die ein einzelner Thread
68 während seiner Lebensdauer bedient.</description>
69 <syntax>MaxRequestsPerThread <var>Anzahl</var></syntax>
70 <default>MaxRequestsPerThread 0</default>
71 <contextlist><context>server config</context></contextlist>
74 <p>Die Direktive <directive>MaxRequestsPerThread</directive> legt die
75 Anzahl der Anfragen fest, die ein einzelner Server-Thread bedient. Nach
76 Erreichen der angegebenen Anzahl von Anfragen wird der Thread beendet.
77 Wird für <directive>MaxRequestsPerThread</directive> der Wert
78 <code>0</code> angegeben, wird der Thread niemals beendet.</p>
80 <p>Das Setzen von <directive>MaxRequestsPerThread</directive> auf einen
81 Wert ungleich null hat zwei Vorteile:</p>
84 <li>Die Menge des von einem Thread benötigten Speicherplatzes
85 bei (unvorhergesehenen) Speicherproblemen kann begrenzt werden;</li>
87 <li>Threads mit begrenzter Lebensdauer reduzieren die Anzahl
88 der Threads bei reduzierter Serverlast.</li>
91 <note><title>Hinweis:</title>
92 <p>Bei <directive module="core">KeepAlive</directive>-Anfragen wird nur die
93 erste Anfrage auf das Maximum angerechnet. Das führt dazu, dass
94 die Anzahl der <em>Verbindungen</em>
95 pro Thread reduziert wird.</p>