worker.xml.ja revision cf99935627ab9978fb8b8137ef8f60334ffffffc
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="/style/manual.ja.xsl"?>
<!-- English Revision: 1.11 (outdated: 1.19) -->
<!--
Copyright 2002-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<modulesynopsis metafile="worker.xml.meta">
<name>worker</name>
<description>$B%^%k%A%9%l%C%I$H%^%k%A%W%m%;%9$N%O%$%V%j%C%I7?(B
$B%&%'%V%5!<%P$r<BAu$7$?%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k(B</description>
<status>MPM</status>
<sourcefile>worker.c</sourcefile>
<identifier>mpm_worker_module</identifier>
<summary>
<p>$B$3$N%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k(B (MPM)
$B$O!"%^%k%A%9%l%C%I$H%^%k%A%W%m%;%9$N%O%$%V%j%C%I7?%5!<%P$r(B
$B<BAu$7$F$$$^$9!#%j%/%(%9%H$N1~Ez$K%9%l%C%I$r;H$&$H!"(B
$B%W%m%;%9%Y!<%9$N%5!<%P$h$j$b>/$J$$%7%9%F%`;q8;$G!"(B
$BB?$/$N%j%/%(%9%H$K1~Ez$9$k$3$H$,$G$-$^$9!#(B
$B$5$i$K!"B?$/$N%9%l%C%I$r;}$C$?J#?t$N%W%m%;%9$r0];}$9$k$3$H$G!"(B
$B%W%m%;%9%Y!<%9$N%5!<%P$N;}$D0BDj@-$rJ];}$7$F$$$^$9!#(B</p>
<p>$B$3$N(B MPM $B$r@)8f$9$k$N$K;H$o$l$k:G$b=EMW$J%G%#%l%/%F%#%V$O!"(B
<directive module="mpm_common">ThreadsPerChild</directive> $B$H(B
<directive module="mpm_common">MaxClients</directive> $B$G$9!#(B
<directive module="mpm_common">ThreadsPerChild</directive> $B$O(B
$B3F;R%W%m%;%9$GMQ0U$5$l$k%9%l%C%I?t$r@)8f$7$F!"(B
<directive module="mpm_common">MaxClients</directive> $B$O(B
$B5/F0$5$l$k%9%l%C%I$NAm?t$N:GBgCM$r@)8B$7$^$9!#(B</p>
</summary>
<seealso><a href="/bind.html">Apache
$B$N;HMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a></seealso>
<section id="how-it-works"><title>$BF0:nJ}K!(B</title>
<p>$B%W%m%;%9$O7h$^$C$??t$N%9%l%C%I$r;}$A$^$9!#(B
$BIi2Y$X$NE,1~$O%W%m%;%9$N?t$rA}8:$K$h$jBP1~$7$^$9!#(B</p>
<p>$B0l$D$N@)8fMQ%W%m%;%9$,;R%W%m%;%9$r5/F0$7$^$9!#(B
$B;R%W%m%;%9$O(B
<directive module="mpm_common">ThreadsPerChild</directive>
$B%G%#%l%/%F%#%V$G;XDj$5$l$?0lDj?t$N%9%l%C%I$r:n$j$^$9!#(B
$B$=$l$+$i!"8D!9$N%9%l%C%I$,%3%M%/%7%g%s$KBP$7$F(B listen
$B$7$F!"$7$+$k$Y$-;~$KF0:n$7$^$9!#(B</p>
<p>Apache $B$O(B<dfn>$B%9%Z%"$N(B</dfn>$B!"$D$^$j%"%$%I%k$J%5!<%P%9%l%C%I$N(B
$B%W!<%k$r>o$K0];}$7$F$$$F!"$=$l$i$OF~$C$F$/$k%j%/%(%9%H$K(B
$BEz$($i$l$k$h$&$KBT5!$7$F$$$^$9!#(B
$B$3$N$h$&$K$7$F!"%/%i%$%"%s%H$O%j%/%(%9%H$N1~Ez$,F@$i$l$k$h$&$K$J$k$?$a$K(B
$B?7$7$$%9%l%C%I$d%W%m%;%9$,@8@.$5$l$k$N$r(B
$BBT$?$J$/$F$b$h$$$h$&$K$J$C$F$$$^$9!#(B
$B5/F0=i4|;~$N%W%m%;%9Am?t$O!"(B
<directive module="mpm_common">StartServers</directive>
$B%G%#%l%/%F%#%V$G@_Dj$5$l$^$9!#$=$N8e$N2TF/Cf$K!"(B
Apache $B$OA4%W%m%;%9$N%"%$%I%k%9%l%C%I$N9g7W?t$r8+@Q$b$C$F!"(B
<directive module="mpm_common">MinSpareThreads</directive> $B$H(B
<directive module="mpm_common">MaxSpareThreads</directive>
$B$G;XDj$5$l$?HO0O$NCf$K$3$N?t$,<}$^$k$h$&$K(B fork $B$7$?$j(B
kill $B$7$?$j$7$^$9!#$3$NA`:n$OHs>o$K<+N'E*$J$N$G!"(B
$B$3$l$i$N%G%#%l%/%F%#%V$r%G%U%)%k%HCM$+$iJQ99$9$kI,MW$O(B
$B$a$C$?$K$J$$$G$7$g$&!#(B
$BF1;~$K1~Ez$9$k$3$H$N$G$-$k%/%i%$%"%s%H?t$N:GBg?t(B
($B$D$^$jA4%W%m%;%9Cf$NAm%9%l%C%I?t$N:GBgCM(B) $B$O(B
<directive module="mpm_common">MaxClients</directive>
$B%G%#%l%/%F%#%V$G7hDj$5$l$F$$$F!"(B
$B0lJ}$G5/F0$9$k$3$H$N$G$-$k%W%m%;%9?t$N:GBgCM$O(B
<directive module="mpm_common">ServerLimit</directive>
$B%G%#%l%/%F%#%V$G@_Dj$5$l$F$$$^$9!#(B
<directive module="mpm_common">ServerLimit</directive> $B$H(B
<directive module="mpm_common">ThreadsPerChild</directive> $B$H$N@Q$O!"(B
<directive module="mpm_common">MaxClients</directive>
$B$HEy$7$$$+$=$l$h$jBg$-$$I,MW$,$"$j$^$9!#(B</p>
<p><module>worker</module> MPM $B$NE57?E*$J%W%m%;%9!&%9%l%C%I@)8f$N(B
$B@_Dj$G$O!"<!$N$h$&$K$J$j$^$9!#(B</p>
<example>
StartServers 2<br />
MaxClients 150<br />
MinSpareThreads 25<br />
MaxSpareThreads 75<br />
ThreadsPerChild 25<br />
ServerLimit 16
</example>
<p>$BDL>o(B Unix $B$G$O?F%W%m%;%9$O(B 80 $BHV%]!<%H$K%P%$%s%I$9$k$?$a$K(B
<code>root</code> $B$G5/F0$5$l$^$9$,!";R%W%m%;%9$d%9%l%C%I$O(B
$B$b$C$HDc$$8"8B$N%f!<%6$G(B Apache $B$K$h$C$F5/F0$5$l$^$9!#(B
<directive module="mpm_common">User</directive> $B$H(B
<directive module="mpm_common">Group</directive> $B%G%#%l%/%F%#%V$O(B
Apache $B$N;R%W%m%;%9$N8"8B$r@_Dj$9$k$N$KMQ$$$i$l$^$9!#(B
$B;R%W%m%;%9$O%/%i%$%"%s%H$KAw$k%3%s%F%s%DA4$F$rFI$a$J$$$H$$$1$^$;$s$,!"(B
$B2DG=$J8B$jI,MW:G>.8B$N8"8B$N$_$r;}$C$F$$$k$h$&$K$9$k$Y$-$G$9!#(B
$B$5$i$K!"(B<a href="/suexec.html">suexec</a>
$B$,;HMQ$5$l$F$$$J$$8B$j!"$3$l$i$N%G%#%l%/%F%#%V$O(B
CGI $B%9%/%j%W%H$G7Q>5$5$l$k8"8B$b@_Dj$7$^$9!#(B</p>
<p><directive module="mpm_common">MaxRequestsPerChild</directive>
$B$O!"8E$$%W%m%;%9$rDd;_$7$F?7$7$$%W%m%;%9$r5/F0$9$k$3$H$K$h$C$F!"(B
$B$I$NDxEY$NIQEY$G%5!<%P$,%W%m%;%9$r%j%5%$%/%k$9$k$+$r@)8f$7$^$9!#(B</p>
</section>
<directivesynopsis location="mpm_common"><name>AcceptMutex</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>CoreDumpDirectory</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>Group</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>PidFile</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>Listen</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>ListenBacklog</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>LockFile</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>MaxClients</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>MaxMemFree</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>MaxRequestsPerChild</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>MaxSpareThreads</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>MinSpareThreads</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>ScoreBoardFile</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>SendBufferSize</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>ServerLimit</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>StartServers</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>ThreadLimit</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>ThreadsPerChild</name>
</directivesynopsis>
<directivesynopsis location="mpm_common"><name>User</name>
</directivesynopsis>
</modulesynopsis>