prefork.xml.ja revision 9dca5c120b818e1c51dbbb6c658d95a9f91b524c
<?xml version="1.0" encoding="iso-2022-jp"?>
<modulesynopsis>
<!-- English revision: 1.7 -->
<name>prefork</name>
<description>$B%9%l%C%I$r;H$o$:!"@h9T$7$F(B fork $B$r9T$J$&%&%'%V%5!<%P$r<BAu(B
</description>
<status>MPM</status>
<identifier>mpm_prefork_module</identifier>
<summary>
<p>$B$3$N%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k(B (MPM) $B$O!"(B
Unix $B>e$G$N(B Apache 1.3 $B$N%G%U%)%k%H$N5sF0$HHs>o$K$h$/;w$?J}K!$G(B
$B%j%/%(%9%H$r=hM}$9$k!"%9%l%C%I$r;H$o$:!"@h9T$7$F(B fork $B$r9T$J$&(B
$B%&%'%V%5!<%P$r<BAu$7$F$$$^$9!#(B
$B%9%l%C%I%;!<%U$G$J$$%i%$%V%i%j$H$N8_49@-$r$H$k$?$a$K!"(B
$B%9%l%C%I$rHr$1$kI,MW$N$"$k%5%$%H$G$O!"$3$N%b%8%e!<%k$N;HMQ$,E,@Z$G$7$g$&!#(B
$B$"$k%j%/%(%9%H$GH/@8$7$?LdBj$,B>$N%j%/%(%9%H$K1F6A$7$J$$$h$&$K!"(B
$B8D!9$N%j%/%(%9%H$rC1N%$9$k$N$K$b!":GE,$J(B MPM $B$G$9!#(B</p>
<p>$B$3$N(B MPM $B$OHs>o$K<+N'E*$J$N$G!"$3$N(B MPM $B$N@_Dj%G%#%l%/%F%#%V$r(B
$BD4@0$9$kI,MW$O$[$H$s$I$J$$$G$7$g$&!#$b$C$H$b=EMW$J$3$H$O!"(B
<directive module="mpm_common">MaxClients</directive>
$B$,!"M=A[$5$l$kF1;~%j%/%(%9%H?t$r==J,07$($k$0$i$$$OBg$-$$$1$l$I$b!"(B
$BA4%W%m%;%9$K==J,$JJ*M}%a%b%j$,3N<B$K9T$-EO$kDxEY$K$O>.$5$$CM$K$9$k!"(B
$B$H$$$&$3$H$G$9!#(B</p>
</summary>
<seealso><a href="/bind.html">Apache
$B$,;HMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a></seealso>
<section><title>$BF0:nJ}K!(B</title>
<p>$B0l$D$N%3%s%H%m!<%k%W%m%;%9$,!"(B
$B%3%M%/%7%g%s$KBP$7$F(B listen $B$7$F!"$7$+$k$Y$-;~$K1~Ez$9$k(B
$B$+%"%$%I%k$J%5!<%P%W%m%;%9$r0];}$7$F$$$F!"$=$l$i$OF~$C$F$-$?(B
$B%j%/%(%9%H$K1~Ez$G$-$k$h$&$KBT5!$7$F$$$^$9!#(B
$B$3$N$h$&$K$7$F%/%i%$%"%s%H$O!"%j%/%(%9%H$,1~Ez$5$l$kA0$K!"(B
$B?7$7$$;R%W%m%;%9$,(B fork $B$5$l$k$N$rBT$?$J$/$F$b$h$$$h$&$K(B
$B$J$C$F$$$^$9!#(B</p>
<p>$B?F%W%m%;%9$,%j%/%(%9%H$K1~Ez$9$k$N;R%W%m%;%9$r(B
$B$I$N$h$&$K@8@.$9$k$+$O!"(B
<directive module="mpm_common">StartServers</directive>,
<directive module="prefork">MinSpareServers</directive>,
<directive module="prefork">MaxSpareServers</directive>,
<directive module="mpm_common">MaxClients</directive>
$B$GD4@0$7$^$9!#0lHLE*$K!"(BApache $B$OHs>o$K<+N'E*$J$N$G!"(B
$BBgDq$N%5%$%H$G$O$3$l$i$N%G%#%l%/%F%#%V$r%G%U%)%k%HCM$+$iD4@0$9$k(B
$BI,MW$O$J$$$G$7$g$&!#(B
$BF1;~$K(B 256 $B$rD6$($k%j%/%(%9%H$K1~Ez$7$J$$$H$$$1$J$$%5%$%H$G$O!"(B
<directive module="mpm_common">MaxClients</directive>
$B$rA}$d$9I,MW$,$"$k$G$7$g$&!#(B
$B0lJ}!"%a%b%j$N8B$i$l$F$$$k%5%$%H$G$O!"%9%i%C%7%s%0(B
($B%a%b%j$H%G%#%9%/4V$G2?EY$b%9%o%C%W(B) $B$,5/$3$k$N$rKI$0$?$a$K(B
<directive module="mpm_common">MaxClients</directive>
$B$r8:$i$9I,MW$,$"$k$G$7$g$&!#%W%m%;%9@8@.$N%A%e!<%K%s%0$K4X$9$k(B
$B>\$7$$>pJs$O!"(B<a
href="/misc/perf-tuning.html">$B@-G=$K4X$9$k%R%s%H(B</a>
$B$K$"$j$^$9!#(B</p>
<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
<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</p>
<p><directive module="mpm_common">MaxRequestsPerChild</directive>
$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>CoreDumpDirectory</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>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>User</name>
</directivesynopsis>
<directivesynopsis location="mpm_common">
<name>Group</name>
</directivesynopsis>
<directivesynopsis>
<name>AcceptMutex</name>
<description>$BJ#?t$N;R%W%m%;%9$,%M%C%H%o!<%/%=%1%C%H$G%j%/%(%9%H$r(B
accept $B$7$h$&$H$7$F$$$k$H$-$K!"(BApache $B$,$=$l$i$N;R%W%m%;%9$rD>Ns2=$9$k$?$a$K(B
$B;H$&J}K!(B</description>
<syntax>AcceptMutex default|<em>method</em></syntax>
<default>AcceptMutex default</default>
<contextlist><context>server config</context></contextlist>
<usage>
<p><directive>AcceptMutex</directive> $B%G%#%l%/%F%#%V$O!"(B
$B%M%C%H%o!<%/%=%1%C%H$N%j%/%(%9%H$r(B accept $B$7$h$&$H$7$F$$$kJ#?t$N;R%W%m%;%9$r(B
Apache $B$,D>Ns2=$9$k$?$a$K;H$&J}K!$r@_Dj$7$^$9!#(B
Apache 2.0 $B$h$jA0$G$O!"$3$N%a%=%C%I$O%3%s%Q%$%k;~$K$N$_A*Br$G$-$^$7$?!#(B
$B:GE,$JJ}K!$O!"%"!<%-%F%/%A%c$d%W%i%C%H%[!<%`$KBg$-$/0MB8$7$^$9!#(B
$B>\:Y$K4X$7$F$O!"(B<a
$B%I%-%e%a%s%H$r$4Mw2<$5$$!#(B</p>
<p>$B$3$N%G%#%l%/%F%#%V$,(B <code>default</code>
$B$K@_Dj$5$l$F$$$l$P!"%3%s%Q%$%k;~$KA*Br$5$l$?%G%U%)%k%HCM$,;H$o$l$^$9!#(B
$BB>$N;HMQ2DG=$J%a%=%C%I$N0lMw$O2<$K$"$j$^$9!#(B
$BA4$F$N%a%=%C%I$,A4$F$N%W%i%C%H%[!<%`$G;HMQ2DG=$G$"$k$o$1$G$O$J$$!"(B
$B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
$B;HMQ2DG=$G$J$$%a%=%C%I$,;XDj$5$l$?>l9g$O!"(B
$B;HMQ2DG=$J%a%=%C%I$N0lMw$r4^$s$@%a%C%;!<%8$,(B
$B%(%i!<%m%0$K=PNO$5$l$^$9!#(B</p>
<dl>
<dt><code>flock</code></dt>
<dd><directive module="mpm_common">LockFile</directive>
$B%G%#%l%/%F%#%V$GDj5A$7$?%U%!%$%k$N%m%C%/$K!"(B
<code>flock(2)</code> $B%7%9%F%`%3!<%k$r;H$$$^$9!#(B</dd>
<dt><code>fcntl</code></dt>
<dd><directive module="mpm_common">LockFile</directive>
$B%G%#%l%/%F%#%V$GDj5A$7$?%U%!%$%k$N%m%C%/$K!"(B
<code>fnctl(2)</code> $B%7%9%F%`%3!<%k$r;H$$$^$9!#(B</dd>
<dt><code>sysvsem</code></dt>
<dd>$BGSB>=hM}$N<BAu$K(B SysV $B7A<0$N%;%^%U%)$r;H$$$^$9!#(B</dd>
<dt><code>pthread</code></dt>
<dd>POSIX Threads (PThreads) $B5,3J$G<BAu$5$l$F$$$k(B
POSIX $BGSB>=hM}$r;H$$$^$9!#(B</dd>
</dl>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>MaxSpareServers</name>
<description>$B%"%$%I%k$J;R%5!<%P%W%m%;%9$N:GBg8D?t(B</description>
<syntax>MaxSpareServers <em>number</em><br /></syntax>
<default>MaxSpareServers 10</default>
<contextlist><context>server config</context></contextlist>
<usage>
<p><directive>MaxSpareServers</directive> $B%G%#%l%/%F%#%V$O!"(B
<em>$B%"%$%I%k$J(B</em>$B;R%5!<%P%W%m%;%9$N4uK>:GBg8D?t$r@_Dj$7$^$9!#(B
$B%"%$%I%k%W%m%;%9$H$O!"%j%/%(%9%H$r07$C$F$$$J$$%W%m%;%9$G$9!#(B
MaxSpareServers $B$h$j$bB?$$?t$,%"%$%I%k$G$"$l$P!"(B
$B?F%W%m%;%9$OD62a%W%m%;%9$r(B kill $B$7$^$9!#(B</p>
<p>$BHs>o$K:.$s$G$$$k%5%$%H$G$N$_!"$3$N%Q%i%a!<%?$r%A%e!<%K%s%0$9$k$Y$-$G$9!#(B
$B$3$N%Q%i%a!<%?$rBg$-$/$9$k$H$$$&$3$H$O!"BgDq$N>l9g$O0-$$H/A[$G$9!#(B</p>
</usage>
<seealso><directive module="prefork">MinSpareServers</directive></seealso>
<seealso><directive module="mpm_common">StartServers</directive></seealso>
</directivesynopsis>
<directivesynopsis>
<name>MinSpareServers</name>
<description>$B%"%$%I%k$J;R%5!<%P%W%m%;%9$N:G>.8D?t(B</description>
<syntax>MinSpareServers <em>number</em></syntax>
<default>MinSpareServers 5</default>
<contextlist><context>server config</context></contextlist>
<usage>
<p><directive>MaxSpareServers</directive> $B%G%#%l%/%F%#%V$O!"(B
<em>$B%"%$%I%k$J(B</em>$B;R%5!<%P%W%m%;%9$N4uK>:G>.8D?t$r@_Dj$7$^$9!#(B
$B%"%$%I%k%W%m%;%9$H$O!"%j%/%(%9%H$r07$C$F$$$J$$%W%m%;%9$G$9!#(B
MinSpareServers $B$h$j$b>/$J$$?t$,%"%$%I%k$G$"$l$P!"(B
$B?F%W%m%;%9$O:G9b$G(B 1 $BIC$K$D$-(B 1 $B8D$N3d9g$G?7$7$$;R%W%m%;%9$r@8@.$7$^$9!#(B</p>
<p>$BHs>o$K:.$s$G$$$k%5%$%H$G$N$_!"$3$N%Q%i%a!<%?$r%A%e!<%K%s%0$9$k$Y$-$G$9!#(B
$B$3$N%Q%i%a!<%?$rBg$-$/$9$k$H$$$&$3$H$O!"BgDq$N>l9g$O0-$$H/A[$G$9!#(B</p>
</usage>
<seealso><directive module="prefork">MaxSpareServers</directive></seealso>
<seealso><directive module="mpm_common">StartServers</directive></seealso>
</directivesynopsis>
</modulesynopsis>