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

📄 mpm_common.html.ja.euc-jp

📁 最新apache的源代码
💻 EUC-JP
📖 第 1 页 / 共 5 页
字号:
<tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/leader.html">leader</a></code>, <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code>, <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code>, <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code>, <code class="module"><a href="../mod/perchild.html">perchild</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/threadpool.html">threadpool</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table>    <p>瘦伪觉轮のコネクションのキュ〖の呵络墓です。    办忍弄には拇腊する涩妥はありませんし、拇腊は司ましくありません。    しかし、TCP SYN フラッドアタックの觉斗布におかれる眷圭に、    笼やした数が司ましいシステムもあります。    <code>listen(2)</code> システムコ〖ルのバックログパラメ〖タを    ご枉布さい。</p>    <p>この猛は OS により、井さな眶に娃えられます。    猛は OS 髓に佰なっています。また驴くの OS では、    バックログとして回年されている猛ちょうどまで蝗っているわけではなく、    肋年されている猛に答づいて (奶撅は肋年猛よりも络きな猛を)    蝗っていることに庙罢してください。</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="LockFile" id="LockFile">LockFile</a> <a name="lockfile" id="lockfile">ディレクティブ</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">棱汤:</a></th><td>减烧を木误步するためのロックファイルの疤弥</td></tr><tr><th><a href="directive-dict.html#Syntax">菇矢:</a></th><td><code>LockFile <var>filename</var></code></td></tr><tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>LockFile logs/accept.lock</code></td></tr><tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サ〖バ肋年ファイル</td></tr><tr><th><a href="directive-dict.html#Status">ステ〖タス:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td><code class="module"><a href="../mod/leader.html">leader</a></code>, <code class="module"><a href="../mod/perchild.html">perchild</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/threadpool.html">threadpool</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table>    <p><code class="directive"><a href="#acceptmutex">AcceptMutex</a></code>    が <code>fcntl</code> や <code>flock</code>    に肋年されて蝗脱されている眷圭に、蝗脱されるロックファイルへのパスを    <code class="directive">LockFile</code> ディレクティブで肋年します。    このディレクティブは奶撅はそのままにしておきます。    肩に <code>logs</code> ディレクトリが NFS    でマウントされている眷圭などに猛を恃えます。    なぜなら<strong>ロックファイルはロ〖カルディスクに    瘦赂されなければならない</strong>からです。    メインサ〖バプロセスの PID がファイル叹に极瓢弄に烧裁されます。</p>    <div class="warning"><h3>セキュリティ</h3>      <p><code>/var/tmp</code>      といった、茂でも今き哈めるディレクトリにファイルを      <em>弥かない</em>数がよいです。なぜなら、サ〖バが弹瓢箕に侯喇する      ロックファイルの侯喇极挛を烁巢することによって、      茂でもサ〖ビス雕容アタックを苞き弹こすことができるからです。</p>    </div><h3>徊救</h3><ul><li><code class="directive"><a href="#acceptmutex">AcceptMutex</a></code></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="MaxClients" id="MaxClients">MaxClients</a> <a name="maxclients" id="maxclients">ディレクティブ</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">棱汤:</a></th><td>リクエストに炳批するために侯喇される灰プロセスの呵络改眶</td></tr><tr><th><a href="directive-dict.html#Syntax">菇矢:</a></th><td><code>MaxClients <var>number</var></code></td></tr><tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>拒嘿は蝗脱恕をご枉布さい。</code></td></tr><tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サ〖バ肋年ファイル</td></tr><tr><th><a href="directive-dict.html#Status">ステ〖タス:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/leader.html">leader</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/threadpool.html">threadpool</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table>    <p><code class="directive">MaxClients</code> ディレクティブは、    炳批することのできる票箕リクエスト眶を肋年します。    <code class="directive">MaxClients</code> 扩嘎眶を臂えるコネクションは奶撅、    <code class="directive"><a href="#listenbacklog">ListenBacklog</a></code>    ディレクティブで肋年した眶までキュ〖に掐ります。    戮のリクエストの呵稿まで茫して灰プロセスが鄂くと、    肌のコネクションに炳批します。</p>    <p>スレッドを脱いないサ〖バ (<em>すなわち</em> <code class="module"><a href="../mod/prefork.html">prefork</a></code>)    では、<code class="directive">MaxClients</code>    は、リクエストに炳批するために弹瓢される    灰プロセスの呵络眶となります。    デフォルト猛は <code>256</code> で、これを笼裁させたい眷圭は、    <code class="directive"><a href="#serverlimit">ServerLimit</a></code>    の猛も笼裁させる涩妥があります。</p>    <p>スレッドを脱いるサ〖バや、ハイブリッドサ〖バ (<em>すなわち</em>    <code class="module"><a href="../mod/beos.html">beos</a></code> <code class="module"><a href="../mod/worker.html">worker</a></code>)    では、<code class="directive">MaxClients</code>     は、クライアントに炳批できるスレッドの另眶を扩嘎します。    <code class="module"><a href="../mod/beos.html">beos</a></code> でのデフォルト猛は <code>50</code> です。    ハイブリッド MPM でのデフォルト猛は 16    <code class="directive"><a href="#serverlimit">ServerLimit</a></code>    の <code>25</code> 擒 (<code class="directive"><a href="#threadsperchild">ThreadsPerChild</a></code>) です。    <code class="directive">MaxClients</code>    を 16 プロセス笆惧涩妥な猛まで笼裁させたい眷圭は、    <code class="directive"><a href="#serverlimit">ServerLimit</a></code>    も笼裁させる涩妥があります。</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="MaxMemFree" id="MaxMemFree">MaxMemFree</a> <a name="maxmemfree" id="maxmemfree">ディレクティブ</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">棱汤:</a></th><td><code>free()</code> が钙ばれない嘎り、肩メモリアロケ〖タが瘦积し鲁けられるメモリの呵络翁</td></tr><tr><th><a href="directive-dict.html#Syntax">菇矢:</a></th><td><code>MaxMemFree <var>KBytes</var></code></td></tr><tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>MaxMemFree 0</code></td></tr><tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サ〖バ肋年ファイル</td></tr><tr><th><a href="directive-dict.html#Status">ステ〖タス:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/leader.html">leader</a></code>, <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/threadpool.html">threadpool</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code>, <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code></td></tr></table>    <p><code class="directive">MaxMemFree</code> ディレクティブは    <code>free()</code> が钙ばれない嘎り、    肩アロケ〖タが瘦积できる鄂のメモリの呵络猛をキロバイト帽疤で肋年します。    肋年されていないか、雾に肋年されているときは、痰扩嘎になります。</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="MaxRequestsPerChild" id="MaxRequestsPerChild">MaxRequestsPerChild</a> <a name="maxrequestsperchild" id="maxrequestsperchild">ディレクティブ</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">棱汤:</a></th><td>改」の灰サ〖バが苍漂面に胺うリクエスト眶の惧嘎</td></tr><tr><th><a href="directive-dict.html#Syntax">菇矢:</a></th><td><code>MaxRequestsPerChild <var>number</var></code></td></tr><tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>MaxRequestsPerChild 10000</code></td></tr><tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サ〖バ肋年ファイル</td></tr><tr><th><a href="directive-dict.html#Status">ステ〖タス:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td><code class="module"><a href="../mod/leader.html">leader</a></code>, <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code>, <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code>, <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code>, <code class="module"><a href="../mod/perchild.html">perchild</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/threadpool.html">threadpool</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table>    <p><code class="directive">MaxRequestsPerChild</code> ディレクティブは、    改」の灰サ〖バプロセスが胺うことのできるリクエストの扩嘎眶を    肋年します。<code class="directive">MaxRequestsPerChild</code>    改のリクエストの稿に、灰プロセスは姜位します。    <code class="directive">MaxRequestsPerChild</code> が <code>0</code>    に肋年されている眷圭は、プロセスは袋嘎磊れにより姜位することはありません。</p>    <div class="note"><h3>その戮のデフォルト猛</h3>      <p><code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code> と <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code>      でのデフォルト猛は <code>0</code> です。</p>    </div>    <p><code class="directive">MaxRequestsPerChild</code>    を润ゼロに扩嘎することには、企つの网爬があります:</p>    <ul>      <li>(饿券弄な) メモリ〖リ〖クが弹こった眷圭に      プロセスが久锐するメモリの另翁を扩嘎できる</li>      <li>プロセスに铜嘎のライフタイムを肋年することで、      サ〖バ砷操が布がった箕にプロセス眶を警なくすることができる</li>    </ul>    <div class="note"><h3>庙</h3>      <p><code class="directive"><a href="../mod/core.html#keepalive">KeepAlive</a></code> リクエストの眷圭は、      办つ誊のリクエストだけがこの扩嘎に澈碰します。      悸跟弄には、办つの灰プロセスあたりの<em>コネクション</em>眶を      扩嘎するように刁瓢が恃步します。</p>    </div></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="MaxSpareThreads" id="MaxSpareThreads">MaxSpareThreads</a> <a name="maxsparethreads" id="maxsparethreads">ディレクティブ</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">棱汤:</a></th><td>アイドルスレッドの呵络眶</td></tr><tr><th><a href="directive-dict.html#Syntax">菇矢:</a></th><td><code>MaxSpareThreads <var>number</var></code></td></tr><tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>拒嘿は蝗脱恕をご枉布さい。</code></td></tr><tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サ〖バ肋年ファイル</td></tr><tr><th><a href="directive-dict.html#Status">ステ〖タス:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/leader.html">leader</a></code>, <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code>, <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code>, <code class="module"><a href="../mod/perchild.html">perchild</a></code>, <code class="module"><a href="../mod/threadpool.html">threadpool</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table>    <p>アイドルなスレッドの呵络眶です。佰なる MPM ではそれぞれ、    このディレクティブは佰なる艰り胺われ数をされます。</p>    <p><code class="module"><a href="../mod/perchild.html">perchild</a></code> では、

⌨️ 快捷键说明

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