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

📄 fd-limits.xml.ko

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 KO
字号:
<?xml version='1.0' encoding='EUC-KR' ?><!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd"><?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?><!-- English Revision: 151405 --><!-- Copyright 2003-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.--><manualpage metafile="fd-limits.xml.meta"><parentdocument href="./">啊惑龋胶飘</parentdocument>  <title>颇老扁贱磊(file descriptor) 茄拌</title><summary>    <p>啊惑龋胶飘甫 腹捞 荤侩窍绊 阿 啊惑龋胶飘俊 辑肺 促弗    肺弊颇老阑 瘤沥窍搁, 酒颇摹啊 荤侩啊瓷茄 颇老扁贱磊(file    descriptor, 如洒 <cite>颇老勤甸(file handle)</cite>捞扼绊    何抚)甫 促 结滚副 荐 乐促. 酒颇摹啊 荤侩窍绰 颇老扁贱磊狼    醚 俺荐绰 坷幅 肺弊颇老寸 茄俺, 促弗 肺弊颇老 瘤矫绢寸    茄俺, 眠啊肺 郴何侩档肺 10-20俺甫 歹茄 荐促. 蜡葱胶 款康眉力绰    橇肺技胶啊 荤侩且 荐 乐绰 颇老扁贱磊 俺荐甫 力茄茄促. 捞 茄拌绰    焊烹 64俺肺, 焊烹 捞焊促 奴 hard-limit鳖瘤 疵副 荐 乐促.</p>    <p>酒颇摹绰 捞 茄拌甫 鞘夸茄父怒 疵府妨绊 窍瘤父, 角菩窍绰    版快啊 乐促:</p>    <ol>      <li>矫胶袍捞 <code>setrlimit()</code> 矫胶袍龋免阑      力傍窍瘤 臼绰促.</li>      <li>(Solaris 2.3苞 鞍捞) 矫胶袍俊辑      <code>setrlimit(RLIMIT_NOFILE)</code> 窃荐啊 悼累窍瘤      臼绰促.</li>      <li>鞘夸茄 颇老扁贱磊 俺荐啊 hard limit 焊促 腹促.</li>            <li>(Solaris 2) 矫胶袍捞 stdio 胶飘覆阑 256捞窍狼      颇老扁贱磊父阑 荤侩窍档废 力茄窍绰 殿 颇老扁贱磊俊      力距阑 啊茄促.</li>    </ol>	<p>捞 版快 秦搬氓篮:</p>    <ul>      <li>肺弊颇老 俺荐甫 临牢促. <directive type="section"      module="core">VirtualHost</directive> 冀记俊辑 肺弊颇老阑      瘤沥窍瘤 臼绊 林 肺弊颇老阑 荤侩茄促. (歹 磊技茄 规过篮      酒贰 <a href="#splitlogs">肺弊颇老 唱穿扁</a>甫 曼绊窍扼.)</li>      <li>        荤侩窍绰 矫胶袍捞 (困狼) 1锅掳唱 2锅掳 版快俊 秦寸茄促搁,        促澜苞 鞍篮 胶农赋飘肺 酒颇摹甫 矫累窍扁 傈俊 颇老扁贱磊        茄拌甫 疵赴促.        <example>          <code>#!/bin/sh<br />           ulimit -S -n 100<br />           exec httpd</code>        </example>      </li>    </ul>    <p>颇老扁贱磊 巩力客 阿 款康眉力俊辑狼 秦搬规过俊 措茄    磊技茄 郴侩篮 <a href="../misc/descriptors.html">颇老扁贱磊客    酒颇摹</a> 巩辑甫 曼绊窍扼.</p></summary><section id="splitlogs"><title>肺弊颇老 唱穿扁</title><p>咯矾 啊惑龋胶飘啊 鞍篮 肺弊颇老阑 荤侩茄促搁 唱吝俊 阿啊惑龋胶飘狼 烹拌盒籍阑 困秦 肺弊颇老阑 唱穿绊 酵阑 巴捞促.捞 累诀篮 促澜苞 鞍捞 且 荐 乐促.</p><p>刚历 肺弊 亲格俊 啊惑龋胶飘 沥焊甫 眠啊茄促. 捞甫 困秦<directive module="mod_log_config">LogFormat</directive>瘤矫绢客 <code>%v</code> 函荐甫 荤侩茄促. 捞 函荐甫 肺弊屈侥巩磊凯 菊俊 眠啊茄促:</p><example>LogFormat "%v %h %l %u %t \"%r\" %&gt;s %b" vhost<br />CustomLog logs/multiple_vhost_log vhost</example><p>弊矾搁 common 肺弊屈侥 菊俊 (<directivemodule="core">ServerName</directive> 瘤矫绢俊 唱坷绰) 沥痹啊惑龋胶飘甫 器窃窍咯 肺弊颇老阑 扁废茄促. (肺弊颇老荤侩磊沥狼俊 包茄 郴侩篮 <directivemodule="mod_log_config">荤侩磊沥狼 肺弊屈侥</directive>阑曼绊窍扼.)</p><p>肺弊颇老阑 (啊惑龋胶飘寸 茄 颇老究) 唱穿绊 酵促搁 <code><ahref="../programs/other.html">split-logfile</a></code> 橇肺弊伐阑荤侩茄促. 捞 橇肺弊伐篮 酒颇摹 硅器夯狼 <code>support</code>叼泛配府俊 乐促.</p><p>促澜苞 鞍捞 橇肺弊伐阑 角青茄促:</p><example>split-logfile &lt; /logs/multiple_vhost_log</example><p>啊惑龋胶飘 肺弊颇老阑 啊瘤绊 捞 橇肺弊伐阑 角青窍搁 肺弊颇老俊唱坷绰 阿 啊惑龋胶飘寸 颇老阑 窍唱究 父电促. 阿阿狼 颇老疙篮<code>hostname.log</code>捞促.</p></section></manualpage>

⌨️ 快捷键说明

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