⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpm_common.xml.ja

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 JA
📖 第 1 页 / 共 3 页
字号:
    <example>       Listen 192.170.2.1:80<br />       Listen 192.170.2.5:8000    </example>    <p>IPv6 $B%"%I%l%9$O3Q3g8L$G0O$^$J$1$l$P$J$j$^$;$s!#(B    $BNc$($P<!$NNc$N$h$&$K$G$9!#(B</p>    <example>       Listen [fe80::a00:20ff:fea7:ccea]:80    </example>    <note><title>$B%(%i!<>r7o(B</title>      $BF10l(B IP $B%"%I%l%9$H%]!<%H$NAH$K!"J#?t$N(B <code>Listen</code>       $B%G%#%l%/%F%#%V$r;XDj$7$F$7$^$&$H!"(B'Address already in use'       $B$H$$$&%(%i!<%a%C%;!<%8$r<u$1$k$3$H$K$J$j$^$9!#(B    </note></usage><seealso><a href="../dns-caveats.html">DNS $B$NLdBj(B</a></seealso><seealso><a href="../bind.html">Apache$B$,;HMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a></seealso></directivesynopsis><directivesynopsis><name>ListenBackLog</name><description>$BJ]N1>uBV$N%3%M%/%7%g%s$N%-%e!<$N:GBgD9(B</description><syntax>ListenBacklog <var>backlog</var></syntax><default>ListenBacklog 511</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>$BJ]N1>uBV$N%3%M%/%7%g%s$N%-%e!<$N:GBgD9$G$9!#(B    $B0lHLE*$K$OD4@0$9$kI,MW$O$"$j$^$;$s$7!"D4@0$OK>$^$7$/$"$j$^$;$s!#(B    $B$7$+$7!"(BTCP SYN $B%U%i%C%I%"%?%C%/$N>u672<$K$*$+$l$k>l9g$K!"(B    $BA}$d$7$?J}$,K>$^$7$$%7%9%F%`$b$"$j$^$9!#(B    <code>listen(2)</code> $B%7%9%F%`%3!<%k$N%P%C%/%m%0%Q%i%a!<%?$r(B    $B$4Mw2<$5$$!#(B</p>    <p>$B$3$NCM$O(B OS $B$K$h$j!">.$5$J?t$KM^$($i$l$^$9!#(B    $BCM$O(B OS $BKh$K0[$J$C$F$$$^$9!#$^$?B?$/$N(B OS $B$G$O!"(B    $B%P%C%/%m%0$H$7$F;XDj$5$l$F$$$kCM$A$g$&$I$^$G;H$C$F$$$k$o$1$G$O$J$/!"(B    $B@_Dj$5$l$F$$$kCM$K4p$E$$$F(B ($BDL>o$O@_DjCM$h$j$bBg$-$JCM$r(B)    $B;H$C$F$$$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p></usage></directivesynopsis><directivesynopsis><name>LockFile</name><description>$B<uIU$rD>Ns2=$9$k$?$a$N%m%C%/%U%!%$%k$N0LCV(B</description><syntax>LockFile <var>filename</var></syntax><default>LockFile logs/accept.lock</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><directive module="mpm_common">AcceptMutex</directive>    $B$,(B <code>fcntl</code> $B$d(B <code>flock</code>    $B$K@_Dj$5$l$F;HMQ$5$l$F$$$k>l9g$K!";HMQ$5$l$k%m%C%/%U%!%$%k$X$N%Q%9$r(B    <directive>LockFile</directive> $B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#(B    $B$3$N%G%#%l%/%F%#%V$ODL>o$O$=$N$^$^$K$7$F$*$-$^$9!#(B    $B<g$K(B <code>logs</code> $B%G%#%l%/%H%j$,(B NFS    $B$G%^%&%s%H$5$l$F$$$k>l9g$J$I$KCM$rJQ$($^$9!#(B    $B$J$<$J$i(B<strong>$B%m%C%/%U%!%$%k$O%m!<%+%k%G%#%9%/$K(B    $BJ]B8$5$l$J$1$l$P$J$i$J$$(B</strong>$B$+$i$G$9!#(B    $B%a%$%s%5!<%P%W%m%;%9$N(B PID $B$,%U%!%$%kL>$K<+F0E*$KIU2C$5$l$^$9!#(B</p>    <note type="warning"><title>$B%;%-%e%j%F%#(B</title>      <p><code>/var/tmp</code>      $B$H$$$C$?!"C/$G$b=q$-9~$a$k%G%#%l%/%H%j$K%U%!%$%k$r(B      <em>$BCV$+$J$$(B</em>$BJ}$,$h$$$G$9!#$J$<$J$i!"%5!<%P$,5/F0;~$K:n@.$9$k(B      $B%m%C%/%U%!%$%k$N:n@.<+BN$rK832$9$k$3$H$K$h$C$F!"(B      $BC/$G$b%5!<%S%95qH]%"%?%C%/$r0z$-5/$3$9$3$H$,$G$-$k$+$i$G$9!#(B</p>    </note></usage><seealso><directive module="mpm_common">AcceptMutex</directive></seealso></directivesynopsis><directivesynopsis><name>MaxClients</name><description>$B%j%/%(%9%H$K1~Ez$9$k$?$a$K:n@.$5$l$k(B$B;R%W%m%;%9$N:GBg8D?t(B</description><syntax>MaxClients <var>number</var></syntax><default>$B>\:Y$O;HMQK!$r$4Mw2<$5$$!#(B</default><contextlist><context>server config</context></contextlist><modulelist><module>beos</module><module>leader</module><module>prefork</module><module>threadpool</module><module>worker</module></modulelist><usage>    <p><directive>MaxClients</directive> $B%G%#%l%/%F%#%V$O!"(B    $B1~Ez$9$k$3$H$N$G$-$kF1;~%j%/%(%9%H?t$r@_Dj$7$^$9!#(B    <directive>MaxClients</directive> $B@)8B?t$r1[$($k%3%M%/%7%g%s$ODL>o!"(B    <directive module="mpm_common">ListenBacklog</directive>    $B%G%#%l%/%F%#%V$G@_Dj$7$??t$^$G%-%e!<$KF~$j$^$9!#(B    $BB>$N%j%/%(%9%H$N:G8e$^$GC#$7$F;R%W%m%;%9$,6u$/$H!"(B    $B<!$N%3%M%/%7%g%s$K1~Ez$7$^$9!#(B</p>    <p>$B%9%l%C%I$rMQ$$$J$$%5!<%P(B (<em>$B$9$J$o$A(B</em> <module>prefork</module>)    $B$G$O!"(B<directive>MaxClients</directive>    $B$O!"%j%/%(%9%H$K1~Ez$9$k$?$a$K5/F0$5$l$k(B    $B;R%W%m%;%9$N:GBg?t$H$J$j$^$9!#(B    $B%G%U%)%k%HCM$O(B <code>256</code> $B$G!"$3$l$rA}2C$5$;$?$$>l9g$O!"(B    <directive module="mpm_common">ServerLimit</directive>    $B$NCM$bA}2C$5$;$kI,MW$,$"$j$^$9!#(B</p>    <p>$B%9%l%C%I$rMQ$$$k%5!<%P$d!"%O%$%V%j%C%I%5!<%P(B (<em>$B$9$J$o$A(B</em>    <module>beos</module> <module>worker</module>)    $B$G$O!"(B<directive>MaxClients</directive>     $B$O!"%/%i%$%"%s%H$K1~Ez$G$-$k%9%l%C%I$NAm?t$r@)8B$7$^$9!#(B    <module>beos</module> $B$G$N%G%U%)%k%HCM$O(B <code>50</code> $B$G$9!#(B    $B%O%$%V%j%C%I(B MPM $B$G$N%G%U%)%k%HCM$O(B 16    <directive module="mpm_common">ServerLimit</directive>    $B$N(B <code>25</code> $BG\(B (<directive    module="mpm_common">ThreadsPerChild</directive>) $B$G$9!#(B    <directive>MaxClients</directive>    $B$r(B 16 $B%W%m%;%90J>eI,MW$JCM$^$GA}2C$5$;$?$$>l9g$O!"(B    <directive module="mpm_common">ServerLimit</directive>    $B$bA}2C$5$;$kI,MW$,$"$j$^$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>MaxMemFree</name><description><code>free()</code> $B$,8F$P$l$J$$8B$j!"(B$B<g%a%b%j%"%m%1!<%?$,J];}$7B3$1$i$l$k%a%b%j$N:GBgNL(B</description><syntax>MaxMemFree <var>KBytes</var></syntax><default>MaxMemFree 0</default><contextlist><context>server config</context></contextlist><modulelist><module>beos</module><module>leader</module><module>mpm_netware</module><module>prefork</module><module>threadpool</module><module>worker</module><module>mpm_winnt</module></modulelist><usage>    <p><directive>MaxMemFree</directive> $B%G%#%l%/%F%#%V$O(B    <code>free()</code> $B$,8F$P$l$J$$8B$j!"(B    $B<g%"%m%1!<%?$,J];}$G$-$k6u$N%a%b%j$N:GBgCM$r%-%m%P%$%HC10L$G@_Dj$7$^$9!#(B    $B@_Dj$5$l$F$$$J$$$+!"Nm$K@_Dj$5$l$F$$$k$H$-$O!"L5@)8B$K$J$j$^$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>MaxRequestsPerChild</name><description>$B8D!9$N;R%5!<%P$,2TF/Cf$K07$&%j%/%(%9%H?t$N>e8B(B</description><syntax>MaxRequestsPerChild <var>number</var></syntax><default>MaxRequestsPerChild 10000</default><contextlist><context>server config</context></contextlist><modulelist><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><directive>MaxRequestsPerChild</directive> $B%G%#%l%/%F%#%V$O!"(B    $B8D!9$N;R%5!<%P%W%m%;%9$,07$&$3$H$N$G$-$k%j%/%(%9%H$N@)8B?t$r(B    $B@_Dj$7$^$9!#(B<directive>MaxRequestsPerChild</directive>    $B8D$N%j%/%(%9%H$N8e$K!";R%W%m%;%9$O=*N;$7$^$9!#(B    <directive>MaxRequestsPerChild</directive> $B$,(B <code>0</code>    $B$K@_Dj$5$l$F$$$k>l9g$O!"%W%m%;%9$O4|8B@Z$l$K$h$j=*N;$9$k$3$H$O$"$j$^$;$s!#(B</p>    <note><title>$B$=$NB>$N%G%U%)%k%HCM(B</title>      <p><module>mpm_netware</module> $B$H(B <module>mpm_winnt</module>      $B$G$N%G%U%)%k%HCM$O(B <code>0</code> $B$G$9!#(B</p>    </note>    <p><directive>MaxRequestsPerChild</directive>    $B$rHs%<%m$K@)8B$9$k$3$H$K$O!"Fs$D$NMxE@$,$"$j$^$9(B:</p>    <ul>      <li>($B6vH/E*$J(B) $B%a%b%j!<%j!<%/$,5/$3$C$?>l9g$K(B      $B%W%m%;%9$,>CHq$9$k%a%b%j$NAmNL$r@)8B$G$-$k(B</li>      <li>$B%W%m%;%9$KM-8B$N%i%$%U%?%$%`$r@_Dj$9$k$3$H$G!"(B      $B%5!<%PIi2Y$,2<$,$C$?;~$K%W%m%;%9?t$r>/$J$/$9$k$3$H$,$G$-$k(B</li>    </ul>    <note><title>$BCm(B</title>      <p><directive module="core">KeepAlive</directive> $B%j%/%(%9%H$N>l9g$O!"(B      $B0l$DL\$N%j%/%(%9%H$@$1$,$3$N@)8B$K3:Ev$7$^$9!#(B      $B<B8zE*$K$O!"0l$D$N;R%W%m%;%9$"$?$j$N(B<em>$B%3%M%/%7%g%s(B</em>$B?t$r(B      $B@)8B$9$k$h$&$K5sF0$,JQ2=$7$^$9!#(B</p>    </note></usage></directivesynopsis><directivesynopsis><name>MaxSpareThreads</name><description>$B%"%$%I%k%9%l%C%I$N:GBg?t(B</description><syntax>MaxSpareThreads <var>number</var></syntax><default>$B>\:Y$O;HMQK!$r$4Mw2<$5$$!#(B</default><contextlist><context>server config</context></contextlist><modulelist><module>beos</module><module>leader</module><module>mpm_netware</module><module>mpmt_os2</module><module>perchild</module><module>threadpool</module><module>worker</module></modulelist><usage>    <p>$B%"%$%I%k$J%9%l%C%I$N:GBg?t$G$9!#0[$J$k(B MPM $B$G$O$=$l$>$l!"(B    $B$3$N%G%#%l%/%F%#%V$O0[$J$k<h$j07$o$lJ}$r$5$l$^$9!#(B</p>    <p><module>perchild</module> $B$G$O!"(B    $B%G%U%)%k%H$O(B <code>MaxSpareThreads 10</code> $B$G$9!#(B    $B$3$N(B MPM $B$O%"%$%I%k%9%l%C%I?t$r!"$=$l$>$l$N;R%W%m%;%9$4$H$K4F;k$7$^$9!#(B    $B;R%W%m%;%9$K%"%$%I%k%9%l%C%I$,B?$9$.$k>l9g$O!"(B    $B%5!<%P$O$=$N;R%W%m%;%9$K4^$^$l$k%9%l%C%I$r=*N;$7;O$a$^$9!#(B</p>    <p><module>worker</module>, <module>leader</module>,    <module>threadpool</module> $B$G$O!"(B    $B%G%U%)%k%H$O(B <code>MaxSpareThreads 250</code> $B$G$9!#(B    $B$3$N(B MPM $B$O%"%$%I%k%9%l%C%I?t$r%5!<%PA4BN$G4F;k$7$^$9!#(B    $B%5!<%P$G%"%$%I%k%9%l%C%I?t$,B?$9$.$k>l9g$O!"(B    $B$3$N?t;z$h$j$b>/$J$$?t$K$J$k$^$G;R%W%m%;%9$r=*N;$7$^$9!#(B</p>    <p><module>mpm_netware</module> $B$G$O!"(B    $B%G%U%)%k%H$O(B <code>MaxSpareThreads 100</code> $B$G$9!#(B    $B$3$N(B MPM $B$O%7%s%0%k%W%m%;%9$G<B9T$5$l$^$9$N$G!"(B    $B%9%Z%"%9%l%C%I?t$b%5!<%PA4BN$G4*Dj$7$^$9!#(B</p>    <p><module>beos</module> $B$H(B <module>mpmt_os2</module> $B$O(B    <module>mpm_netware</module> $B$H;w$?5sF0$r$7$^$9!#(B    <module>beos</module> $B$G$N%G%U%)%k%HCM$O(B <code>MaxSpareThreads 50</code>    $B$G$9!#(B<module>mpmt_os2</module> $B$G$N%G%U%)%k%HCM$O(B <code>10</code>    $B$G$9!#(B</p>    <note><title>$B@)8B;v9`(B</title>      <p><directive>MaxSpareThreads</directive> $B$N<h$kCM$K$O@)8B$,$"$j$^$9!#(B      Apache $B$O<!$N5,B'$K=>$C$F<+F0E*$KJd@5$7$^$9!#(B</p>      <ul>        <li><module>perchild</module> $B$G$O!"(B        <directive>MaxSpareThreads</directive> $B$,(B        <directive module="mpm_common">ThreadLimit</directive>        $B$HEy$7$$$+$=$l0J2<$G$"$kI,MW$,$"$j$^$9!#(B</li>        <li><module>mpm_netware</module> $B$O(B        <directive module="mpm_common">MinSpareThreads</directive>        $B$h$j$bBg$-$$I,MW$,$"$j$^$9!#(B</li>        <li><module>leader</module>, <module>threadpool</module>,         <module>worker</module> $B$G$O!"(B        <directive module="mpm_common">MinSpareThreads</directive> $B$H(B        <directive module="mpm_common">ThreadsPerChild</directive>        $B$G7h$^$kAmOB$HEy$7$$$+Bg$-$$I,MW$,$"$j$^$9!#(B</li>      </ul>    </note></usage><seealso><directive module="mpm_common">MinSpareThreads</directive></seealso><seealso><directive module="mpm_common">StartServers</directive></seealso></directivesynopsis><directivesynopsis><name>MinSpareThreads</name><description>$B%j%/%(%9%H$K1~Ez$9$k$3$H$N$G$-$k(B$B%"%$%I%k%9%l%C%I?t$N:G>.?t(B</description><syntax>MinSpareThreads <var>number</var></syntax><default>$B>\:Y$O;HMQJ}K!$r$4Mw2<$5$$!#(B</default><contextlist><context>server config</context></contextlist><modulelist><module>beos</module><module>leader</module><module>mpm_netware</module><module>mpmt_os2</module><module>perchild</module><module>threadpool</module><module>worker</module></modulelist><usage>    <p>$B%j%/%(%9%H$K1~Ez$9$k%9%l%C%I?t$N:G>.CM$G$9!#(B    $B0[$J$k(B MPM $B$G$O$=$l$>$l!"(B    $B$3$N%G%#%l%/%F%#%V$O0[$J$k<h$j07$o$lJ}$r$7$^$9!#(B</p>    <p><module>perchild</module> $B$G$O!"(B    $B%G%U%)%k%H$O(B <code>MinSpareThreads 5</code> $B$G!"(B    $B%"%$%I%k%9%l%C%I?t$r;R%W%m%;%9Kh$K4F;k$7$^$9!#(B    $B$b$7;R%W%m%;%9$K==J,$J?t$N%9%l%C%I$,$J$1$l$P!"(B    $B%5!<%P$O$=$N;R%W%m%;%9$K?7$7$$%9%l%C%I$r:n$j;O$a$^$9!#(B    $B$G$9$+$i!"(B<directive module="perchild">NumServers</directive>    $B$r(B 10 $B$K!"(B<directive>MinSpareThreads</directive> $B$r(B    5 $B$K$7$?>l9g$O!":G>.$G$b(B 50 $B$N%"%$%I%k%9%l%C%I$,(B    $B%7%9%F%`>e$K$"$k$3$H$K$J$j$^$9!#(B</p>    <p><module>worker</module>, <module>leader</module>,    <module>threadpool</module> $B$G$O!"(B    $B%G%U%)%k%H$O(B <code>MinSpareThreads 75</code> $B$G!"(B    $B%"%$%I%k%9%l%C%I?t$r%5!<%PA4BN$G4F;k$7$^$9!#(B    $B$b$7%5!<%P$K==J,$J?t$N%"%$%I%k%9%l%C%I$,$J$1$l$P!"(B    $B%"%$%I%k%9%l%C%I?t$,$3$N?t$h$j$bBg$-$/$J$k$^$G(B    $B?7$7$$;R%W%m%;%9$,@8@.$5$l$^$9!#(B</p>    <p><module>mpm_netware</module> $B$G$O!"(B    $B%G%U%)%k%H$O(B <code>MinSpareThreads 10</code> $B$G!"(B    $B%7%s%0%k%W%m%;%9(B MPM $B$G$9$N$G!"%5!<%PA4BN$G4IM}$5$l$^$9!#(B</p>    <p><module>beos</module> $B$H(B <module>mpmt_os2</module> $B$O!"(B    <module>mpm_netware</module>$B$K$h$/;w$F$$$^$9!#(B    <module>beos</module> $B$G$N%G%U%)%k%H$O(B <code>MinSpareThreads 1</code>    $B$G$9!#(B<module>mpmt_os2</module> $B$G$N%G%U%)%k%H$O(B    <code>5</code> $B$G$9!#(B</p></usage><seealso><directive module="mpm_common">MaxSpareThreads</directive></seealso><seealso><directive module="mpm_common">StartServers</directive></seealso></directivesynopsis><directivesynopsis><name>ScoreBoardFile</name><description>$B;R%W%m%;%9$HO"7H$9$k$?$a$N%G!<%?$rJ]B8$9$k(B$B%U%!%$%k$N0LCV(B</description><syntax>ScoreBoardFile <var>file-path</var></syntax><default>ScoreBoardFile logs/apache_status</default><contextlist><context>server config</context></contextlist><modulelist><module>beos</module><module>leader</module><module>mpm_winnt</module><module>perchild</module><module>prefork</module><module>threadpool</module><module>worker</module></modulelist>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -