home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 November
/
PCWorld_2003-11_cd.bin
/
Komunik
/
apache
/
apache_2.0.47-win32-x86-no_ssl.msi
/
Data.Cab
/
F251417_fdlimits.html.ko.euckr
< prev
next >
Wrap
Extensible Markup Language
|
2003-05-29
|
6KB
|
124 lines
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>╞─└╧▒Γ╝·└┌(file descriptor) ╟╤░Φ - Apache HTTP Server</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page" class="no-sidebar"><div id="page-header">
<p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p>
<p class="apache">Apache HTTP Server Version 2.0</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">░í╗≤╚ú╜║╞«</a></div><div id="page-content"><div id="preamble"><h1>╞─└╧▒Γ╝·└┌(file descriptor) ╟╤░Φ</h1>
<div class="toplang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/vhosts/fd-limits.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/vhosts/fd-limits.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="../ko/vhosts/fd-limits.html" title="Korean"> ko </a></p>
</div>
<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>╖╬▒╫╞─└╧ ░│╝÷╕ª ┴┘└╬┤┘. <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> ╝╜╝╟┐í╝¡ ╖╬▒╫╞─└╧└╗
┴÷┴ñ╟╧┴÷ ╛╩░φ ┴╓ ╖╬▒╫╞─└╧└╗ ╗τ┐δ╟╤┤┘. (┤⌡ └┌╝╝╟╤ ╣µ╣²└║
╛╞╖í <a href="#splitlogs">╖╬▒╫╞─└╧ │¬┤⌐▒Γ</a>╕ª ┬ⁿ░φ╟╧╢≤.)</li>
<li>
╗τ┐δ╟╧┤┬ ╜├╜║┼█└╠ (└º└╟) 1╣°┬░│¬ 2╣°┬░ ░µ┐∞┐í ╟╪┤τ╟╤┤┘╕Θ,
┤┘└╜░· ░░└║ ╜║┼⌐╕│╞«╖╬ ╛╞╞──í╕ª ╜├└█╟╧▒Γ └ⁿ┐í ╞─└╧▒Γ╝·└┌
╟╤░Φ╕ª ┤├╕░┤┘.
<div class="example"><p><code>
<code>#!/bin/sh<br />
ulimit -S -n 100<br />
exec httpd</code>
</code></p></div>
</li>
</ul>
<p>╞─└╧▒Γ╝·└┌ ╣«┴ª┐═ ░ó ┐ε┐╡├╝┴ª┐í╝¡└╟ ╟╪░ß╣µ╣²┐í ┤δ╟╤
└┌╝╝╟╤ │╗┐δ└║ <a href="../misc/descriptors.html">╞─└╧▒Γ╝·└┌┐═
╛╞╞──í</a> ╣«╝¡╕ª ┬ⁿ░φ╟╧╢≤.</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="splitlogs" id="splitlogs">╖╬▒╫╞─└╧ │¬┤⌐▒Γ</a></h2>
<p>┐⌐╖» ░í╗≤╚ú╜║╞«░í ░░└║ ╖╬▒╫╞─└╧└╗ ╗τ┐δ╟╤┤┘╕Θ │¬┴▀┐í ░ó
░í╗≤╚ú╜║╞«└╟ ┼δ░Φ║╨╝«└╗ └º╟╪ ╖╬▒╫╞─└╧└╗ │¬┤⌐░φ ╜═└╗ ░═└╠┤┘.
└╠ └█╛≈└║ ┤┘└╜░· ░░└╠ ╟╥ ╝÷ └╓┤┘.</p>
<p>╕╒└· ╖╬▒╫ ╟╫╕±┐í ░í╗≤╚ú╜║╞« ┴ñ║╕╕ª ├▀░í╟╤┤┘. └╠╕ª └º╟╪
<code class="directive"><a href="../mod/mod_log_config.html#logformat">LogFormat</a></code>
┴÷╜├╛ε┐═ <code>%v</code> ║»╝÷╕ª ╗τ┐δ╟╤┤┘. └╠ ║»╝÷╕ª ╖╬▒╫
╟ⁿ╜─╣«└┌┐¡ ╛╒┐í ├▀░í╟╤┤┘:</p>
<div class="example"><p><code>
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost<br />
CustomLog logs/multiple_vhost_log vhost
</code></p></div>
<p>▒╫╖»╕Θ common ╖╬▒╫╟ⁿ╜─ ╛╒┐í (<code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> ┴÷╜├╛ε┐í │¬┐└┤┬) ┴ñ▒╘
░í╗≤╚ú╜║╞«╕ª ╞≈╟╘╟╧┐⌐ ╖╬▒╫╞─└╧└╗ ▒Γ╖╧╟╤┤┘. (╖╬▒╫╞─└╧
╗τ┐δ└┌┴ñ└╟┐í ░ⁿ╟╤ │╗┐δ└║ <code class="directive"><a href="../mod/mod_log_config.html#╗τ┐δ└┌┴ñ└╟ ╖╬▒╫╟ⁿ╜─">╗τ┐δ└┌┴ñ└╟ ╖╬▒╫╟ⁿ╜─</a></code>└╗
┬ⁿ░φ╟╧╢≤.)</p>
<p>╖╬▒╫╞─└╧└╗ (░í╗≤╚ú╜║╞«┤τ ╟╤ ╞─└╧╛┐) │¬┤⌐░φ ╜═┤┘╕Θ <code><a href="../programs/other.html">split-logfile</a></code> ╟┴╖╬▒╫╖Ñ└╗
╗τ┐δ╟╤┤┘. └╠ ╟┴╖╬▒╫╖Ñ└║ ╛╞╞──í ╣Φ╞≈║╗└╟ <code>support</code>
╡≡╖║┼Σ╕«┐í └╓┤┘.</p>
<p>┤┘└╜░· ░░└╠ ╟┴╖╬▒╫╖Ñ└╗ ╜╟╟α╟╤┤┘:</p>
<div class="example"><p><code>
split-logfile < /logs/multiple_vhost_log
</code></p></div>
<p>░í╗≤╚ú╜║╞« ╖╬▒╫╞─└╧└╗ ░í┴÷░φ └╠ ╟┴╖╬▒╫╖Ñ└╗ ╜╟╟α╟╧╕Θ ╖╬▒╫╞─└╧┐í
│¬┐└┤┬ ░ó ░í╗≤╚ú╜║╞«┤τ ╞─└╧└╗ ╟╧│¬╛┐ ╕╕╡τ┤┘. ░ó░ó└╟ ╞─└╧╕φ└║
<code>hostname.log</code>└╠┤┘.</p>
</div></div>
<div class="bottomlang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/vhosts/fd-limits.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/vhosts/fd-limits.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="../ko/vhosts/fd-limits.html" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p></div>
</body></html>