📄 mpm_common.xml.ja
字号:
<usage> <p>Apache $B$O?F%W%m%;%9$H;R%W%m%;%94V$NDL?.$K%9%3%"%\!<%I$rMQ$$$^$9!#(B $B$3$NDL?.5!G=$K%U%!%$%k$rI,MW$H$9$k%"!<%-%F%/%A%c$b$"$j$^$9!#(B $B%U%!%$%k$,;XDj$5$l$F$$$J$1$l$P!"(BApache $B$O$^$:%a%b%j>e(B ($BF?L>6&M-%a%b%j(B) $B$K%9%3%"%\!<%I$r:n$m$&$H$7!"$=$l$,<:GT$9$k$H(B $B%G%#%9%/>e$K%U%!%$%k(B ($B%U%!%$%k%Y!<%9$N6&M-%a%b%j(B) $B$r:n$m$&$H$7$^$9!#(B $B$3$N%G%#%l%/%F%#%V$r;XDj$9$k$H!"(BApache $B$OI,$:%G%#%9%/$K%U%!%$%k$r@8@.$7$^$9!#(B</p> <example><title>$BNc(B</title> ScoreBoardFile /var/run/apache_status </example> <p>$B%U%!%$%k%Y!<%9$N6&M-%a%b%j$O!"%5!<%I%Q!<%F%#!<@=$N%"%W%j%1!<%7%g%s$G(B $B%9%3%"%\!<%I$KD>@\%"%/%;%9$9$kI,MW$,$"$k>l9g$KLr$KN)$A$^$9!#(B</p> <p><directive>ScoreBoardFile</directive> $B$r;H$&>l9g!"(B RAM $B%G%#%9%/>e$KCV$/$H%9%T!<%I$,8~>e$9$k$G$7$g$&!#(B $B$7$+$7!"%m%0%U%!%$%k$N@_CV0LCV$d(B <a href="../misc/security_tips.html">$B%;%-%e%j%F%#(B</a> $B$HF1MM$NCm0UE@$,$"$k$N$G!"Cm0U$7$F$/$@$5$$!#(B</p></usage><seealso><a href="../stopping.html">Apache $B$NDd;_$H:F5/F0(B</a></seealso></directivesynopsis><directivesynopsis><name>SendBufferSize</name><description>TCP $B%P%C%U%!%5%$%:(B</description><syntax>SendBufferSize <var>bytes</var></syntax><default>SendBufferSize 0</default><contextlist><context>server config</context></contextlist><modulelist><module>beos</module><module>leader</module><module>mpm_netware</module><module>mpm_winnt</module><module>mpmt_os2</module><module>perchild</module><module>prefork</module><module>threadpool</module><module>worker</module></modulelist><usage> <p>$B%5!<%P$O(B TCP $B%P%C%U%!%5%$%:$r;XDj$5$l$?%P%$%H?t$K@_Dj$7$^$9!#(B $B9bB.$G9b%l%$%F%s%7$J4D6-$G(B (<em>$BNc(B</em> 100ms $BDxEY!"BgN&2#CG9bB.DL?.O)$J$I(B) $B8E$$0lHLE*$J(B OS $B$N%G%U%)%k%HCM$rA}$d$9$N$KHs>o$KJXMx$G$9!#(B</p> <p><code>0</code>$B$K$7$?>l9g!"(BOS $B$N%G%U%)%k%HCM$,;HMQ$5$l$^$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>ServerLimit</name><description>$B@_Dj2DG=$J%5!<%P%W%m%;%9?t$N>e8B(B</description><syntax>ServerLimit <var>number</var></syntax><default>$B>\:Y$O;HMQK!$r;2>H(B</default><contextlist><context>server config</context></contextlist><modulelist><module>leader</module><module>perchild</module><module>prefork</module><module>threadpool</module><module>worker</module></modulelist><usage> <p><module>prefork</module> MPM $B$N>l9g$O!"$3$N%G%#%l%/%F%#%V$O(B Apache $B%W%m%;%92TF/Cf$K$*$1$k(B <directive module="mpm_common">MaxClients</directive> $B$K@_Dj2DG=$J>e8BCM$r@_Dj$9$k$3$H$K$J$j$^$9(B ($BLuCm(B: prefork $B$N>l9g$OF1;~%/%i%$%"%s%H?t(B = $B%5!<%P%W%m%;%9?t$J$N$G(B) $B!#(B <module>worker</module> MPM $B$N>l9g$K$O!"$3$N%G%#%l%/%F%#%V$O(B <directive module="mpm_common">ThreadLimit</directive> $B%G%#%l%/%F%#%V$HAH$_9g$o$;$F!"(B Apache $B%W%m%;%92TF/Cf$K$*$1$k(B <directive module="mpm_common">MaxClients</directive> $B$K@_Dj2DG=$J>e8BCM$r@_Dj$9$k$3$H$K$J$j$^$9!#(B $B:F5/F0Cf$K$3$N%G%#%l%/%F%#%V$rJQ99$7$F$bL5;k$5$l$^$9$,!"(B <directive module="mpm_common">MaxClients</directive> $B$O:F5/F0Cf$K=$@5$9$k$3$H$,$G$-$^$9!#(B</p> <p>$B$3$N%G%#%l%/%F%#%V$r;HMQ$9$k:]$OFC$KCm0U$7$F$/$@$5$$!#(B <directive>ServerLimit</directive> $B$,I,MW0J>e$KBg$-$JCM$K(B $B@_Dj$5$l$?>l9g$O!"M>7W$JL$;HMQ6&M-%a%b%j$,3d$jEv$F$i$l$^$9!#(B <directive>ServerLimit</directive> $B$H(B <directive module="mpm_common">MaxClients</directive> $B$,%7%9%F%`$N07$($kHO0O$r1[$($?@_DjCM$K$J$C$F$$$k$H!"(B Apache $B$O5/F0$7$J$$$+!"5/F0$7$F$bIT0BDj$K$J$k$G$7$g$&!#(B</p> <p><module>prefork</module> MPM $B$G$O!"(B <directive module="mpm_common">MaxClients</directive> $B$r(B 256 ($B%G%U%)%k%H(B) $B$h$j$bBg$-$JCM$K@_Dj$9$kI,MW$,$"$k;~$K$@$1;HMQ$7$F$/$@$5$$!#(B $B4uK>$N(B <directive module="mpm_common">MaxClients</directive> $B?t$H$/$i$Y$F!"I,MW0J>e$KBg$-$JCM$r;XDj$9$k$3$H$OHr$1$F$/$@$5$$!#(B</p> <p><module>worker</module>, <module>leader</module>, <module>threadpool</module> MPM $B$G$O!"(B <directive module="mpm_common">MaxClients</directive> $B$H(B <directive module="mpm_common">ThreadsPerChild</directive> $B$N@_Dj$G(B 16 $B%5!<%P%W%m%;%9(B ($B%G%U%)%k%H(B) $B0J>eI,MW$K$J$k>l9g$K$N$_;HMQ$7$F$/$@$5$$!#4uK>$N(B <directive module="mpm_common">MaxClients </directive> $B$H(B <directive module="mpm_common">ThreadsPerChild</directive> $B$H$/$i$Y$F!"I,MW$H$J$k%5!<%P%W%m%;%9?t0J>e$KBg$-$JCM$r(B $B@_Dj$9$k$3$H$OHr$1$F$/$@$5$$!#(B</p> <p><module>perchild</module> MPM $B$G$O!"(B <directive module="perchild">NumServers</directive> $B$r(B 8 ($B%G%U%)%k%H(B) $B$h$m$$$bBg$-$JCM$K@_Dj$9$kI,MW$,$"$k$H$-$K$N$_;HMQ$7$F$/$@$5$$!#(B</p> <note><title>$BCm0U(B</title> <p><code>ServerLimit 20000</code> $B$H$$$&@)8BIU$-$G%3%s%Q%$%k$5$l$F$$$^$9!#(B $B$3$l$O%9%Z%k%_%9$K$h$C$F8m$C$F9s$$>u67$K$J$k$N$r!"(B $B2sHr$9$k$?$a$N=hCV$G$9!#(B</p> </note></usage><seealso><a href="../stopping.html">Apache $B$NDd;_$H:F5/F0(B</a></seealso></directivesynopsis><directivesynopsis><name>StartServers</name><description>$B5/F0;~$K@8@.$5$l$k;R%5!<%P%W%m%;%9$N?t(B</description><syntax>StartServers <var>number</var></syntax><default>$B>\:Y$O;HMQJ}K!$r;2>H(B</default><contextlist><context>server config</context></contextlist><modulelist><module>leader</module><module>mpmt_os2</module><module>prefork</module><module>threadpool</module><module>worker</module></modulelist><usage> <p><directive>StartServers</directive> $B%G%#%l%/%F%#%V$O!"(B $B5/F0;~$K@8@.$5$l$k;R%5!<%P%W%m%;%9$N?t$r@_Dj$7$^$9!#(B $B%W%m%;%9?t$OIi2Y$K1~$8$FF0E*$K@)8f$5$l$^$9$N$G!"(B $BDL>o$O$3$NCM$rD4@0$9$kM}M3$O$"$^$j$J$$$G$7$g$&!#(B</p> <p>$B%G%U%)%k%HCM$O(B MPM $B$4$H$K0[$J$j$^$9!#(B <module>leader</module>, <module>threadpool</module>, <module>worker</module> $B$O(B <code>StartServers 3</code> $B$G$9!#(B <module>prefork</module> $B$O(B <code>5</code> $B$G!"(B <module>mpmt_os2</module> $B$O(B <code>2</code> $B$G$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>StartThreads</name><description>$B5/F0;~$K@8@.$5$l$k%9%l%C%I$N?t(B</description><syntax>StartThreads <var>number</var></syntax><default>$B>\:Y$O;HMQJ}K!$r;2>H(B</default><contextlist><context>server config</context></contextlist><modulelist><module>beos</module><module>mpm_netware</module><module>perchild</module></modulelist><usage> <p>$B5/F0;~$K@8@.$5$l$k%9%l%C%I$N?t$G$9!#(B $B%9%l%C%I?t$OIi2Y$K1~$8$FF0E*$K@)8f$5$l$^$9$N$G!"(B $BDL>o$O$3$NCM$rD4@0$9$kM}M3$O$"$^$j$J$$$G$7$g$&!#(B</p> <p><module>perchild</module> $B$G$N%G%U%)%k%H$O(B <code>StartThreads 5</code> $B$G!"$3$N%G%#%l%/%F%#%V$O5/F0;~$K(B $B%W%m%;%9Kh$N%9%l%C%I?t$rDI@W$7$^$9!#(B</p> <p><module>mpm_netware</module> $B$G$N%G%U%)%k%H$O(B <code>StartThreads 50</code> $B$G!"(B $B$3$N>l9g%W%m%;%9$O0l$D$7$+$J$$$N$G!"(B $B5/F0;~$K%j%/%(%9%H$K1~Ez$9$k%9%l%C%I$NAm?t$H$J$j$^$9!#(B</p> <p><module>beos</module> $B$G$N%G%U%)%k%H$O(B <code>StartThreads 10</code> $B$G$9!#(B $B$^$?!"5/F0;~$K@8@.$5$l$k%9%l%C%I$NAm?t$K$bH?1G$5$l$^$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>ThreadLimit</name><description>$B@_Dj2DG=$J;R%W%m%;%9Kh$N%9%l%C%I?t$N>e8B$r(B$B@_Dj$7$^$9(B</description><syntax>ThreadLimit <var>number</var></syntax><default>$B>\:Y$O;HMQJ}K!$r;2>H(B</default><contextlist><context>server config</context></contextlist><modulelist><module>leader</module><module>mpm_winnt</module><module>perchild</module><module>threadpool</module><module>worker</module></modulelist><compatibility>Apache 2.0.41 $B$H$=$l0J9_$N(B <module>mpm_winnt</module> $B$GMxMQ2DG=(B</compatibility><usage> <p>$B$3$N%G%#%l%/%F%#%V$O(B Apache $B%W%m%;%92TF/Cf$K$*$1$k(B <directive module="mpm_common">ThreadsPerChild</directive> $B$K@_Dj2DG=$J>e8BCM$r@_Dj$7$^$9!#:F5/F0;~$K$3$N%G%#%l%/%F%#%V$NCM$r(B $BJQ99$7$F$bL5;k$5$l$^$9$,!"(B <directive module="mpm_common">ThreadsPerChild</directive> $B$O:F5/F0Cf$K!"$3$N%G%#%l%/%F%#%V$G;XDj$5$l$?>e8BCM$^$G(B $BJQ99$9$k$3$H$,$G$-$^$9!#(B</p> <p>$B$3$N%G%#%l%/%F%#%V$r;HMQ$9$k:]$OFC$KCm0U$7$F$/$@$5$$!#(B <directive>ThreadLimit</directive> $B$,(B <directive module="mpm_common">ThreadsPerChild</directive> $B$h$j$b$:$C$HBg$-$JCM$K@_Dj$5$l$?>l9g$O!"(B $BM>7W$JL$;HMQ6&M-%a%b%j$,3d$jEv$F$i$l$F$7$^$$$^$9!#(B <directive>ThreadLimit</directive> $B$,(B <directive module="mpm_common">ThreadsPerChild</directive> $B$NN>J}$,%7%9%F%`$N07$($kHO0O$rD6$($F$$$k>l9g$O!"(B Apache $B$O5/F0$7$J$$$+!"5/F0$7$?$H$7$F$bIT0BDj$K$J$k$G$7$g$&!#(B $B$3$N%G%#%l%/%F%#%V$NCM$O:#;HMQ$7$F$$$k(B Apache $B$N(B <directive module="mpm_common">ThreadsPerChild</directive> $B$NM=A[>e8BCM$r(B $BD6$($?CM$K$O@_Dj$7$J$$$G$/$@$5$$!#(B </p> <p><directive>ThreadLimit</directive> $B$N%G%U%)%k%HCM$O(B <module>mpm_winnt</module> $B$N$H$-$O(B 1920 $B$G!"(B $BB>$N>l9g$O(B 64 $B$G$9!#(B</p> <note><title>$BCm0U(B</title> <p><code>ThreadLimit 20000</code> (<module>mpm_winnt</module> $B$N>l9g$O(B <code>ThreadLimit 15000</code> ) $B$H$$$&@)8BIU$-$G%3%s%Q%$%k$5$l$F$$$^$9!#(B $B$3$l$O%9%Z%k%_%9$K$h$C$F8m$C$F9s$$>u67$K$J$k$N$r!"(B $B2sHr$9$k$?$a$N=hCV$G$9!#(B</p> </note></usage></directivesynopsis><directivesynopsis><name>ThreadsPerChild</name><description>$B;R%W%m%;%9$=$l$>$l$K@8@.$5$l$k%9%l%C%I?t(B</description><syntax>ThreadsPerChild <var>number</var></syntax><default>$B>\:Y$O;HMQJ}K!$r;2>H(B</default><contextlist><context>server config</context></contextlist><modulelist><module>leader</module><module>mpm_winnt</module><module>threadpool</module><module>worker</module></modulelist><usage> <p>$B$3$N%G%#%l%/%F%#%V$O!"$=$l$>$l$N;R%W%m%;%9$G@8@.$5$l$k(B $B%9%l%C%I?t$r@_Dj$7$^$9!#(B $B;R%W%m%;%9$O3+;O;~$K$3$l$i$N%9%l%C%I$r@8@.$7$F!"(B $B$=$N8e$O@8@.$7$^$;$s!#(B<module>mpm_winnt</module> $B$N$h$&$J!"(B $B;R%W%m%;%9$,0l$D$7$+$J$$$h$&$J(B MPM $B$rMxMQ$7$F$$$k$N$G$"$l$P!"(B $B$3$NCM$O%5!<%P$NIi2YA4BN$r==J,<h$j07$($kDxEY$K!"(B $BBg$-$/$J$1$l$P$J$j$^$;$s!#(B<module>worker</module> $B$N$h$&$J!"(B $B;R%W%m%;%9$,J#?t$"$k$h$&$J(B MPM $B$rMxMQ$7$F$$$k$N$G$"$l$P!"(B $B%5!<%P$NDL>oIi2Y$r==J,07$($kDxEY$K!"(B <em>$B%9%l%C%IAm?t(B</em>$B$,B?$/$J$1$l$P$J$j$^$;$s!#(B</p> <p><module>mpm_winnt</module>$B$G$N(B <directive>ThreadsPerChild</directive> $B$N%G%U%)%k%HCM$O(B <code>64</code> $B$G!"B>$N>l9g$O(B <code>25</code> $B$G$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>User</name><description>$B%j%/%(%9%H$K1~Ez$9$k:]$KMQ$$$k%f!<%6(B ID</description><syntax>User <var>unix-userid</var></syntax><default>User #-1</default><contextlist><context>server config</context></contextlist><modulelist><module>leader</module><module>perchild</module><module>prefork</module><module>threadpool</module><module>worker</module></modulelist><compatibility>Apache 2.0 $B0J9_$G!"%0%m!<%P%k@_Dj$G$N$_M-8z$G$9!#(B</compatibility><usage> <p><directive>User</directive> $B%G%#%l%/%F%#%V$O(B $B%5!<%P$,%j%/%(%9%H$K1~Ez$9$k:]$KMQ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%F%`$G(B $BB>$NLr3d$rC4$C$F$$$k$+$bCN$l$J$$$+$i$G$9!#(B</p> <note type="warning"><title>$B%;%-%e%j%F%#(B</title> <p>$B@53N$K$I$s$J$3$H$r$d$C$F$$$k$N$+!"$=$N4m81@-$rCN$i$J$$$G!"(B <directive>User</directive> ($B$d(B <directive module="mpm_common">Group</directive>) $B$r(B <code>root</code> $B$K(B $B@_Dj$7$J$$$G$/$@$5$$!#(B</p> </note> <p><module>perchild</module> MPM $B$G$O!"0[$J$k%f!<%6(B ID $B$GJ#?t$N%P!<%A%c%k%[%9%H$rF0$+$9$3$H$rL\E*$H$7$F$$$^$9$,!"(B <directive>User</directive> $B$O!"<g%5!<%P$N%f!<%6(B ID $B$H!"(B<directive module="perchild">AssignUserID</directive> $B%G%#%l%/%F%#%V$r;}$?$J$$(B <directive type="section" module="core">VirtualHost</directive> $B%;%/%7%g%s$X$N(B $B%U%)!<%k%P%C%/$H$rDj5A$9$k$3$H$K$J$j$^$9!#(B</p> <p>$BFC5-;v9`(B: $B$3$N%G%#%l%/%F%#%V$r(B <directive module="core" type="section">VirtualHost</directive> $B$G;HMQ$9$k$3$H$O%5%]!<%H$5$l$J$/$J$j$^$7$?!#(B <program>suexec</program> $B8~$1$K%5!<%P$r@_Dj$9$k$N$G$"$l$P!"(B <directive module="mod_suexec">SuexecUserGroup</directive> $B$r;HMQ$7$F$/$@$5$$!#(B</p> <note><title>$BCm0U(B</title> <p><directive>User</directive> $B%G%#%l%/%F%#%V$O(B <module>beos</module> $B$H(B <module>mpmt_os2</module> MPM $B$K$bB8:_$7$^$9$,!"<B<AE*$KL58z$G!"8_49@-$N$?$a$@$1$KB8:_$7$^$9!#(B</p> </note></usage></directivesynopsis></modulesynopsis>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -