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
/
F250582_stopping.html.ru.koi8r
< prev
next >
Wrap
Extensible Markup Language
|
2003-07-06
|
16KB
|
243 lines
<?xml version="1.0" encoding="KOI8-R"?>
<!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="ru" xml:lang="ru"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>∩╙╘┴╬╧╫ ╔ ╨┼╥┼┌┴╨╒╙╦ - HTTP ╙┼╥╫┼╥ Apache</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"><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">HTTP ╙┼╥╫┼╥ Apache ≈┼╥╙╔╤ 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 ╙┼╥╫┼╥</a> > <a href="http://httpd.apache.org/docs-project/">Σ╧╦╒═┼╬╘┴├╔╤</a> > <a href="./">≈┼╥╙╔╤ 2.0</a></div><div id="page-content"><div id="preamble"><h1>∩╙╘┴╬╧╫ ╔ ╨┼╥┼┌┴╨╒╙╦</h1>
<div class="toplang">
<p><span>Σ╧╙╘╒╨╬┘┼ ╤┌┘╦╔: </span><a href="./de/stopping.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="./en/stopping.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="./ja/stopping.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="./ko/stopping.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
<a href="./ru/stopping.html" title="Russian"> ru </a></p>
</div>
<p>ⁿ╘╧╘ ─╧╦╒═┼╬╘ ╥┴╙╙═┴╘╥╔╫┴┼╘ ╫╧╨╥╧╙┘ ╧╙╘┴╬╧╫╦╔ ╔ ╨┼╥┼┌┴╨╒╙╦┴ Apache ╬┴
Unix-╨╧─╧┬╬┘╚ ╙╔╙╘┼═┴╚. ≡╧╠╪┌╧╫┴╘┼╠╤═ Windows NT, 2000 ╔ XP ╙╠┼─╒┼╘ ▐╔╘┴╘╪ ╥┴┌─┼╠
<a href="platform/windows.html#winsvc">"≥┴┬╧╘┴ Apache ╦┴╦ ╙┼╥╫╔╙┴"</a>,
┴ ╨╧╠╪┌╧╫┴╘┼╠╤═ Windows 9x ╔ ME - <a href="platform/windows.html#wincons">"≥┴┬╧╘┴
Apache ╦┴╦ ╦╧╬╙╧╠╪╬╧╟╧ ╨╥╔╠╧╓┼╬╔╤"</a>, ─╠╤ ╨╧╠╒▐┼╬╔╤ ╔╬╞╧╥═┴├╔╔ ╧┬
╒╨╥┴╫╠┼╬╔╔ ╙┼╥╫┼╥╧═ ╬┴ ▄╘╔╚ ╨╠┴╘╞╧╥═┴╚.</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#introduction">≈╫┼─┼╬╔┼</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#term">ε┼═┼─╠┼╬╬┴╤ ╧╙╘┴╬╧╫╦┴</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#graceful">φ╤╟╦╔╩ ╨┼╥┼┌┴╨╒╙╦</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#hup">ε┼═┼─╠┼╬╬┘╩ ╨┼╥┼┌┴╨╒╙╦</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#race">≡╥╔╠╧╓┼╬╔┼: ╙╔╟╬┴╠┘ ╔ ╙╔╘╒┴├╔╔ ╟╧╬╦╔ (race conditions)</a></li>
</ul><h3>≤═. ╘┴╦╓┼</h3><ul class="seealso"><li><a href="programs/httpd.html">httpd</a></li><li><a href="programs/apachectl.html">apachectl</a></li></ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="introduction" id="introduction">≈╫┼─┼╬╔┼</a></h2>
<p>Σ╠╤ ╘╧╟╧, ▐╘╧┬┘ ╧╙╘┴╬╧╫╔╘╪ ╔╠╔ ╨┼╥┼┌┴╨╒╙╘╔╘╪ Apache, ╬┼╧┬╚╧─╔═╧ ╨╧╙╠┴╘╪
╙╔╟╬┴╠ ┌┴╨╒▌┼╬╬┘═ ╨╥╧├┼╙╙┴═ <code>httpd</code>. ≤╒▌┼╙╘╫╒┼╘ ─╫┴ ╙╨╧╙╧┬┴
╧╘╨╥┴╫╔╘╪ ╨╧─╧┬╬┘┼ ╙╔╟╬┴╠┘. ≈╧-╨┼╥╫┘╚, ≈┘ ═╧╓┼╘┼ ╨╧╙╠┴╘╪ ╙╔╟╬┴╠┘ ╬┼╨╧╙╥┼─╙╘╫┼╬╬╧
╨╥╧├┼╙╙┴═, ╔╙╨╧╠╪┌╒╤ ╦╧═┴╬─╒ unix'┴ <code>kill</code>. ∩┬╥┴╘╔╘┼ ╫╬╔═┴╬╔┼,
▐╘╧ ╨╥╧├┼╙╙╧╫ <code>httpd</code> ╫ ╙╔╙╘┼═┼ ╫┘╨╧╠╬╤┼╘╙╤ ╬┼╙╦╧╠╪╦╧,
╧─╬┴╦╧ ≈┘ ╬┼ ─╧╠╓╬┘ ╧╘╙┘╠┴╘╪ ╙╔╟╬┴╠┘ ╬╔ ╧─╬╧═╒ ╔┌ ╬╔╚, ╦╥╧═┼ ╥╧─╔╘┼╠╪╙╦╧╟╧ -
┼╟╧ pid (╔─┼╬╘╔╞╔╦┴╘╧╥ ╨╥╧├┼╙╙┴) ┌┴╨╔╙┘╫┴┼╘╙╤ ╫ ╞┴╩╠, ╨╒╘╪ ╦ ╦╧╘╧╥╧═╒ ┌┴─┴┼╘╙╤
─╔╥┼╦╘╔╫╧╩ <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code>. ≤╒▌┼╙╘╫╒└╘ ╘╥╔
╙╔╟╬┴╠┴, ╦╧╘╧╥┘┼ ≈┘ ═╧╓┼╘┼ ╧╘╨╥┴╫╔╘╪ ╥╧─╔╘┼╠╪╙╦╧═╒ ╨╥╧├┼╙╙╒:
<a href="#term"><code>TERM</code></a>,
<a href="#hup"><code>HUP</code></a>, ╔
<a href="#graceful"><code>USR1</code></a> - ╔╚ ┌╬┴▐┼╬╔┼ ┬╒─┼╘ ╧┬▀╤╙╬┼╬╧ ╬╔╓┼.</p>
<p>■╘╧┬┘ ╧╘╨╥┴╫╔╘╪ ╙╔╟╬┴╠ ╥╧─╔╘┼╠╪╙╦╧═╒ ╨╥╧├┼╙╙╒, ≈┴═ ╙╠┼─╒┼╘ ╬┴┬╥┴╘╪ ╙╠┼─╒└▌╒└ ╦╧═┴╬─╒:</p>
<div class="example"><p><code>kill -TERM `cat /usr/local/apache2/logs/httpd.pid`</code></p></div>
<p>≈╘╧╥╧╩ ╙╨╧╙╧┬ ╨┼╥┼─┴╘╪ ╙╔╟╬┴╠┘ ╨╥╧├┼╙╙┴═ <code>httpd</code> - ▄╘╧
╔╙╨╧╠╪┌╧╫┴╬╔┼ ╧╨├╔╔ <code>-k</code> ╫ ╦╧═┴╬─╬╧╩ ╙╘╥╧╦┼ ╙ ┴╥╟╒═┼╬╘┴═╔: <code>stop</code>,
<code>restart</code> ╔ <code>graceful</code>, ╦┴╦ ┬╒─┼╘ ╧╨╔╙┴╬╧ ╬╔╓┼.
ⁿ╘╧ ╨┴╥┴═┼╘╥┘ ╦╧═┴╬─╬╧╩ ╙╘╥╧╦╔ ─╠╤ ╔╙╨╧╠╬╤┼═╧╟╧ ╞┴╩╠┴ <a href="programs/httpd.html">httpd</a>,
╧─╬┴╦╧ ═┘ ╥┼╦╧═┼╬─╒┼═ ╨┼╥┼─┴╫┴╘╪ ╔╚, ╔╙╨╧╠╪┌╒╤ ╙╦╥╔╨╘ <a href="programs/apachectl.html">apachectl</a>, ╦╧╘╧╥┘╩ ╨┼╥┼─┴╙╘ ▄╘╔ ╨┴╥┴═┼╘╥┘
╨╥╧╟╥┴══┼ <code>httpd</code>.</p>
<p>≡╧╙╠┼ ╘╧╟╧, ╦┴╦ ┬╒─╒╘ ╧╘╨╥┴╫╠┼╬┘ ╙╔╟╬┴╠┘ ╨╥╧├┼╙╙╒ <code>httpd</code>, ╫┘ ═╧╓┼╘┼
╒┌╬┴╘╪ ╧ ╙╧╙╘╧╤╬╔╔ ╙┼╥╫┼╥┴, ╬┴┬╥┴╫:</p>
<div class="example"><p><code>tail -f /usr/local/apache2/logs/error_log</code></p></div>
<p>≈╬┼╙╔╘┼ ╬┼╧┬╚╧─╔═┘┼ ╔┌═┼╬┼╬╔╤ ╫ ▄╘╔ ╨╥╔═┼╥┘ ╙ ╒▐ú╘╧═
┌╬┴▐┼╬╔╤ ─╔╥┼╦╘╔╫ <code class="directive"><a href="./mod/core.html#serverroot">ServerRoot</a></code>
╔ <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code> ╫ ╦╧╬╞╔╟╒╥┴├╔╔
Apache.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="term" id="term">ε┼═┼─╠┼╬╬┴╤ ╧╙╘┴╬╧╫╦┴</a></h2>
<dl><dt>≤╔╟╬┴╠: TERM</dt>
<dd><code>apachectl -k stop</code></dd>
</dl>
<p>≡╧╙╠┼ ╨╧╠╒▐┼╬╔╤ ╙╔╟╬┴╠┴ <code>TERM</code> ╔╠╔ <code>stop</code>,
╥╧─╔╘┼╠╪╙╦╔╩ ╨╥╧├┼╙╙ ╨┘╘┴┼╘╙╤ ╬┼═┼─╠┼╬╬╧ ╒╬╔▐╘╧╓╔╘╪ ╫╙┼ ─╧▐┼╥╬╔┼ ╨╥╧├┼╙╙┘.
ⁿ╘╧ ═╧╓┼╘ ┌┴╬╤╘╪ ╬┼╙╦╧╠╪╦╧ ╙┼╦╒╬─. ·┴╘┼═ ╥╧─╔╘┼╠╪╙╦╔╩ ╨╥╧├┼╙╙ ╙┴═ ┌┴╫┼╥█┴┼╘ ╥┴┬╧╘╒,
╨╥╔ ▄╘╧═ ╫╙┼ ╘┼╦╒▌╔┼ ┌┴╨╥╧╙┘ ╨╥┼╦╥┴▌┴└╘ ╧┬╥┴┬┴╘┘╫┴╘╪╙╤, ┴ ╬╧╫┘┼ ┌┴╨╥╧╙┘ ╔╟╬╧╥╔╥╒└╘╙╤.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="graceful" id="graceful">φ╤╟╦╔╩ ╨┼╥┼┌┴╨╒╙╦</a></h2>
<dl><dt>≤╔╟╬┴╠: USR1</dt>
<dd><code>apachectl -k graceful</code></dd>
</dl>
<p>≡╥╔ ╨╧╠╒▐┼╬╔╔ ╙╔╟╬┴╠┴ <code>USR1</code> ╔╠╔ <code>graceful</code>,
╥╧─╔╘┼╠╪╙╦╔╩ ╨╥╧├┼╙╙ <em>╨╥╔┌┘╫┴┼╘</em> ─╧▐┼╥╬╔┼ ╨╥╧├┼╙╙┘ ╦ ┌┴╫┼╥█┼╬╔└ ╥┴┬╧╘┘
╙╥┴┌╒ ╓┼ ╨╧╙╠┼ ╧┬╥┴┬╧╘╦╔ ╙╫╧┼╟╧ ╘┼╦╒▌┼╟╧ ┌┴╨╥╧╙┴ (╔╠╔ ╦ ╬┼┌┴═┼─╠╔╘┼╠╪╬╧╩ ╧╙╘┴╬╧╫╦┼,
┼╙╠╔ ─╧▐┼╥╬╔╩ ╨╥╧├┼╙╙ ╬╔▐┼╟╧ ╬┼ ╧┬╥┴┬┴╘┘╫┴┼╘). ≥╧─╔╘┼╠╪╙╦╔╩ ╨╥╧├┼╙╙
╨┼╥┼▐╔╘┘╫┴┼╘ ╦╧╬╞╔╟╒╥┴├╔╧╬╬┘┼ ╞┴╩╠┘, ╧╘╦╥┘╫┴┼╘ ┌┴╬╧╫╧ log-╞┴╩╠┘
(╞┴╩╠┘, ╙╧─┼╥╓┴▌╔┼ ╓╒╥╬┴╠ ╥┴┬╧╘┘ ╙┼╥╫┼╥┴). ≡╧╙╠┼ ╘╧╟╧, ╦┴╦ ╦┴╦╧╩-╘╧ ╔┌
─╧▐┼╥╬╔╚ ╨╥╧├┼╙╙╧╫ ┌┴╫┼╥█┴┼╘ ╥┴┬╧╘╒, ╥╧─╔╘┼╠╪╙╦╔╩ ╨╥╧├┼╙╙ ┌┴═┼╬╤┼╘ ┼╟╧
─╧▐┼╥╬╔═ ╨╥╧├┼╙╙╧═ ╬╧╫╧╟╧ <em>╨╧╦╧╠┼╬╔╤</em>, ╘.┼. ╙ ╬╧╫╧╩ ╦╧╬╞╔╟╒╥┴├╔┼╩,
╦╧╘╧╥┘╩ ╬┴▐╔╬┴┼╘ ╧┬╥┴┬┴╘┘╫┴╘╪ ╬╧╫┘┼ ┌┴╨╥╧╙┘ ╬┼┌┴═┼─╠╔╘┼╠╪╬╧.</p>
<div class="note">ε┴ ╬┼╦╧╘╧╥┘╚ ╨╠┴╘╞╧╥═┴╚, ╬┼ ╨╧──┼╥╓╔╫┴└▌╔╚ ╨┼╥┼─┴▐╒ ╙╔╟╬┴╠┴ <code>USR1</code>
╦┴╦ ╙╔╟╬┴╠┴ ─╠╤ ╔╬╔├╔┴├╔╔ ═╤╟╦╧╟╧ ╨┼╥┼┌┴╨╒╙╦┴, ═╧╟╒╘
╔╙╨╧╠╪┌╧╫┴╘╪╙╤ ─╥╒╟╔┼ ╙╔╟╬┴╠┘ (╘┴╦╔┼ ╦┴╦ <code>WINCH</code>).
δ╧═┴╬─┴ <code>apachectl graceful</code> ╧╘╨╥┴╫╔╘ ╦╧╥╥┼╦╘╬┘╩ ╙╔╟╬┴╠
╬┴ ╠└┬╧╩ ╨╠┴╘╞╧╥═┼.</div>
<p>≡╥╧╟╥┴══┴ ╥┴┌╥┴┬╧╘┴╬┴ ╘┴╦╔═ ╧┬╥┴┌╧═, ▐╘╧ ╦╧╠╔▐┼╙╘╫╧ ╨╥╧├┼╙╙╧╫ ╔ ╨╧╘╧╦╧╫,
╧╨╥┼─┼╠ú╬╬╧┼ ─╔╥┼╦╘╔╫┴═╔ φ≡-═╧─╒╠╤ (═╒╠╪╘╔-╨╥╧├┼╙╙╬╧╟╧ ═╧─╒╠╤),
╧╙╘┴╫┴╠╧╙╪ ╬┼╔┌═┼╬╬┘═ ╬┴ ╨╥╧╘╤╓┼╬╔┼ ╫╙┼╟╧ ╨╥╧├┼╙╙┴ ╨┼╥┼┌┴╨╒╙╦┴.
δ╥╧═┼ ╘╧╟╧, ─╠╤ ╨╧──┼╥╓┴╬╔╤ ▐╔╙╠┴ ┌┴╨╒▌┼╬╬┘╚ ╨╥╧├┼╙╙╧╫, ╧╨╥┼─┼╠ú╬╬╧╟╧
─╔╥┼╦╘╔╫╧╩ <code class="directive"><a href="./mod/mpm_common.html#startservers">StartServers</a></code>,
╔╙╨╧╠╪┌╒┼╘╙╤ ╙╠┼─╒└▌╔╩ ╙╨╧╙╧┬: ┼╙╠╔ ╙╨╒╙╘╤ ╧─╬╒ ╙┼╦╒╬─╒ ╬┼ ┬┘╠╧
╙╧┌─┴╬╧ ╨╧ ╦╥┴╩╬┼╩ ═┼╥┼ ╘┴╦╧┼ ╦╧╠╔▐┼╙╘╫╧ ─╧▐┼╥╬╔╚ ╨╥╧├┼╙╙╧╫, ╦┴╦╧┼
╧╨╥┼─┼╠┼╬╧ ─╔╥┼╦╘╔╫╧╩ <code class="directive"><a href="./mod/mpm_common.html#startservers">StartServers</a></code>,
╘╧╟─┴ ╙╧┌─┴ú╘╙╤ ╘┴╦╧┼ ╦╧╠╔▐┼╙╘╫╧ ─╧▐┼╥╬╔╚ ╨╥╧├┼╙╙╧╫, ╦╧╘╧╥╧┼ ╨╧╠╬╧╙╘╪└
╫╧╙╨╧╠╬╔╠╧ ┬┘ ╬┼─╧╙╘┴╘╧╦. ⌠┴╦╔═ ╧┬╥┴┌╧═ ╙┼╥╫┼╥ ╨┘╘┴┼╘╙╤ ╧─╬╧╫╥┼═┼╬╬╧ ╔ ╙╧╚╥┴╬╔╘╪
╦╧╠╔▐┼╙╘╫╧ ╒╓┼ ╙╒▌┼╙╘╫╒└▌╔╚ ─╧▐┼╥╬╔╚ ╨╥╧├┼╙╙╧╫ ╬┼╔┌═┼╬╬┘═, ╔ ╒▐┼╙╘╪ ≈┴█╔
╘╥┼┬╧╫┴╬╔╤, ╒╦┴┌┴╬╬┘┼ ╫ ─╔╥┼╦╘╔╫┼ <code class="directive">StartServers</code>.</p>
<p>≡╧╠╪┌╧╫┴╘┼╠╔, ╔╙╨╧╠╪┌╒└▌╔┼ ═╧─╒╠╪ <code class="module"><a href="./mod/mod_status.html">mod_status</a></code>,
═╧╟╒╘ ╧┬╥┴╘╔╘╪ ╫╬╔═┴╬╔┼, ▐╘╧ ╙╘┴╘╔╙╘╔╦┴ ╙┼╥╫┼╥┴ ╨╥╔ ╨╧╠╒▐┼╬╔╔ ╙╔╟╬┴╠┴
<code>USR1</code> ╬┼ ╧┬╬╒╠╤┼╘╙╤. ⌠┴╦ ┬┘╠╧ ╙─┼╠┴╬╧ ─╠╤ ╘╧╟╧, ▐╘╧┬┘ ╒═┼╬╪█╔╘╪
╨╥╧═┼╓╒╘╧╦ ╫╥┼═┼╬╔, ╫ ╘┼▐┼╬╔┼ ╦╧╘╧╥╧╟╧ ╙┼╥╫┼╥ ╬┼ ═╧╓┼╘ ╧┬╥┴┬┴╘┘╫┴╘╪
╬╧╫┘┼ ┌┴╨╥╧╙┘ (╦╧╘╧╥┘┼ ╧╨┼╥┴├╔╧╬╬┴╤ ╙╔╙╘┼═┴ ┬╒─┼╘ ╙╘┴╫╔╘╪ ╫ ╧▐┼╥┼─╪,
╘.┼. ╧╬╔ ╬┼ ╨╥╧╨┴─╒╘ ╫ ╠└┬╧═ ╙╠╒▐┴┼), ┴ ╘┴╦╓┼ ─╠╤ ╘╧╟╧, ▐╘╧┬┘ ╒▐╔╘┘╫┴╘╪
≈┴█╔ ╬┴╙╘╥╧╩╦╔. Σ╠╤ ▄╘╧╟╧ ╙┼╥╫┼╥ ╚╥┴╬╔╘ <em>╘┴┬╠╔├╒ ╙╘┴╘╔╙╘╔╦╔</em>,
╫ ╦╧╘╧╥╒└ ┌┴╨╔╙┘╫┴└╘╙╤ ╥┼┌╒╠╪╘┴╘┘ ╥┴┬╧╘┘ ╫╙┼╚ ─╧▐┼╥╬╔╚ ╨╥╧├┼╙╙╧╫, ╫╬┼ ┌┴╫╔╙╔═╧╙╘╔ ╧╘ ╔╚ ╨╧╦╧╠┼╬╔╤.</p>
<p>φ╧─╒╠╪ <code>mod_status</code> ╘┴╦╓┼ ╔╙╨╧╠╪┌╒┼╘ ╙╔═╫╧╠ <code>G</code>, ▐╘╧┬┘
╒╦┴┌┴╘╪ ╘┼ ─╧▐┼╥╬╔┼ ╨╥╧├┼╙╙┘, ╦╧╘╧╥┘┼ ╫╙ú ┼▌ú ╧┬╥┴┬┴╘┘╫┴└╘ ┌┴╨╥╧╙┘ ╔ ╦╧╘╧╥┘┼ ┬┘╠╔
╙╧┌─┴╬┘ ─╧ ╙╔╟╬┴╠┴ ╦ ═╤╟╦╧═╒ ╨┼╥┼┌┴╨╒╙╦╒.</p>
<p>≈ ╬┴╙╘╧╤▌┼┼ ╫╥┼═╤ ╬┼╘ ╙╨╧╙╧┬┴ ╧╨╥┼─┼╠╔╘╪,
▐╘╧ ╫╙┼ ─╧▐┼╥╬╔┼ ╨╥╧├┼╙╙┘ ┌┴╦╧╬▐╔╠╔ ┌┴╨╔╙╪ ╫ ╙╘┴╥┘╩ log-╞┴╩╠ (╘.┼.
log-╞┴╩╠, ╫ ╦╧╘╧╥┘╩ ╨╥╧╔┌╫╧─╔╠┴╙╪ ┌┴╨╔╙╪ ─╧ ╨┼╥┼┌┴╨╒╙╦┴). φ┘
╨╥┼─╠┴╟┴┼═ ≈┴═ ╨╧─╧╓─┴╘╪ ╬┼╦╧╘╧╥╧┼ ╫╥┼═╤, ╨╧╙╠┼ ╘╧╟╧ ╦┴╦ ┬╒─┼╘
╨╧╙╠┴╬ ╙╔╟╬┴╠ <code>USR1</code>, ╨╥┼╓─┼ ▐┼═ ─┼╠┴╘╪ ▐╘╧-╠╔┬╧
╙╧ ╙╘┴╥┘═ log-╞┴╩╠╧═. ε┴╨╥╔═┼╥, ┼╙╠╔ ╬┴ ╫┘╨╧╠╬┼╬╔┼ ┌┴╨╥╧╙╧╫
╨╧╠╪┌╧╫┴╘┼╠┼╩, ╨╧─╦╠└▐ú╬╬┘╚ ▐┼╥┼┌ ╧▐┼╬╪ ═┼─╠┼╬╬┘╩ ╦┴╬┴╠, ╒╚╧─╔╘
╬┼ ┬╧╠┼┼ 10 ═╔╬╒╘, ╘╧╟─┴ ╠╧╟╔▐╬╧ ┬╒─┼╘ ╨╧─╧╓─┴╘╪ 15 ═╔╬╒╘, ╨╥┼╓─┼ ▐┼═
─┼╠┴╘╪ ▐╘╧-╠╔┬╧ ╙╧ ╙╘┴╥┘═ log-╞┴╩╠╧═.</p>
<div class="note">σ╙╠╔ ≈┴█ ╦╧╬╞╔╟╒╥┴├╔╧╬╬┘╩ ╞┴╩╠ ╙╧─┼╥╓╔╘ ╧█╔┬╦╔, ╘╧ ╨╧╨┘╘╦┴
╨┼╥┼┌┴╨╒╙╘╔╘╪ ╙┼╥╫┼╥ ╫┘┌╧╫┼╘ ╬┼═┼─╠┼╬╬╧┼ ╨╥┼╦╥┴▌┼╬╔┼ ╥┴┬╧╘┘ ╥╧─╔╘┼╠╪╙╦╧╟╧
╨╥╧├┼╙╙┴ ╙ ╙╧╧┬▌┼╬╔┼═ ╧┬ ╧█╔┬╦┼. ≈ ╙╠╒▐┴┼ ═╤╟╦╧╟╧ ╨┼╥┼┌┴╨╒╙╦┴
─╧▐┼╥╬╔┼ ╨╥╧├┼╙╙┘ ╨╥╧─╧╠╓┴└╘ ╧┬╥┴┬┴╘┘╫┴╘╪ ╙╫╧╔ ┌┴╨╥╧╙┘, ╨╧╙╠┼ ▐┼╟╧
╧╬╔ ┌┴╫┼╥█┴╘ ╙╫╧└ ╥┴┬╧╘╒. ⁿ╘╧ ═╧╓┼╘ ╫┘┌╫┴╘╪ ╨╥╧┬╠┼═┘,
╘┴╦ ╦┴╦ ╙┼╥╫┼╥ ╬┼ ┬╒─┼╘ ╫ ╙╧╙╘╧╤╬╔╔ ╒╙╘┴╬╧╫╔╘╪ ╙╧┼─╔╬┼╬╔┼ ╙ ╬┼╧┬╚╧─╔═┘═╔
╨╧╥╘┴═╔. ≡┼╥┼─ ╫┘╨╧╠╬┼╬╔┼═ ╨┼╥┼┌┴╨╒╙╦┴, ≈┘ ─╧╠╓╬┘
╨╥╧╫┼╥╔╘╪ ╙╔╬╘┴╦╙╔╙ ╦╧╬╞╔╟╒╥┴├╔╧╬╬┘╚ ╞┴╩╠╧╫ ╙ ╨╧═╧▌╪└ ╨┴╥┴═┼╘╥┴
<code>-t</code> ╦╧═┴╬─╬╧╩ ╙╘╥╧╦╔ (╙═. ╧╨╔╙┴╬╔┼ <a href="programs/httpd.html">httpd</a>).
∩─╬┴╦╧ ▄╘╧ ╫╙ú ┼▌ú ╬┼ ╟┴╥┴╬╘╔╥╒┼╘, ▐╘╧ ╙┼╥╫┼╥ ╨┼╥┼┌┴╨╒╙╘╔╘╙╤ ╦╧╥╥┼╦╘╬╧.
■╘╧ ╨╥╧╫┼╥╔╘╪ ╙┼═┴╬╘╔╦╒ ╦╧╬╞╔╟╒╥┴├╔╧╬╬┘╚ ╞┴╩╠╧╫, ╥┴╫╬╧ ╦┴╦ ╔ ╔╚ ╙╔╬╘┴╦╙╔╙,
≈┘ ═╧╓┼╘┼ ╨╧╨╥╧┬╧╫┴╘╪ ┌┴╨╒╙╘╔╘╪ <code>httpd</code>, ┬╒─╒▐╔ ╬┼╨╥╔╫╔╠┼╟╔╥╧╫┴╬╬┘═ ╨╧╠╪┌╧╫┴╘┼╠┼═.
σ╙╠╔ ╧█╔┬╦╔ ╧╘╙╒╘╙╘╫╒└╘, ╘╧ <code>httpd</code> ╨╧╨┘╘┴┼╘╙╤ ╧╘╦╥┘╘╪
╙╧╦┼╘┘ ╔ log-╞┴╩╠┘, ╬╧ ╬┼ ╙═╧╓┼╘ ▄╘╧╟╧ ╙─┼╠┴╘╪, ╨╧╘╧═╒ ▐╘╧ ╒ ╬┼╟╧ ╧╘╙╒╘╙╘╫╒└╘
╬┼╧┬╚╧─╔═┘┼ ─╠╤ ▄╘╧╟╧ ╨╥┴╫┴ (╔╠╔ ╨╧╘╧═╒ ▐╘╧ ╫ ╘┼╦╒▌┼┼ ╫╥┼═╤ ╥┴┬╧╘┴└▌╔╩ <code>httpd</code> ╒╓┼
╒╙╘┴╬╧╫╔╠ ╙╧┼─╔╬┼╬╔┼ ╙ ╬╒╓╬┘═╔ ╨╧╥╘┴═╔, ┌┴╬╤╫ ╔╚). σ╙╠╔ ╙┬╧╩
╨╥╧╔╙╚╧─╔╘ ╨╧ ╠└┬╧╩ ─╥╒╟╧╩ ╨╥╔▐╔╬┼ - ┌╬┴▐╔╘, ╙╦╧╥┼┼ ╫╙┼╟╧,
╙╒▌┼╙╘╫╒┼╘ ╧█╔┬╦┴ ╫ ╦╧╬╞╔╟╒╥┴├╔╧╬╬╧═ ╞┴╩╠┼, ╦╧╘╧╥┴╤ ─╧╠╓╬┴ ┬┘╘╪
╔╙╨╥┴╫╠┼╬┴ ╨┼╥┼─ ╬┴▐┴╠╧═ ═╤╟╦╧╟╧ ╨┼╥┼┌┴╨╒╙╦┴.</div>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="hup" id="hup">ε┼═┼─╠┼╬╬┘╩ ╨┼╥┼┌┴╨╒╙╦</a></h2>
<dl><dt>≤╔╟╬┴╠: HUP</dt>
<dd><code>apachectl -k restart</code></dd>
</dl>
<p>∩╘╨╥┴╫╠┼╬╬┘╩ ╥╧─╔╘┼╠╪╙╦╧═╒ ╨╥╧├┼╙╙╒ ╙╔╟╬┴╠ <code>HUP</code>
╔╠╔ <code>restart</code> ╫┘┌┘╫┴┼╘ ╬┼═┼─╠┼╬╬╧┼ ╒╬╔▐╘╧╓┼╬╔┼
╫╙┼╚ ─╧▐┼╥╬╔╚ ╨╥╧├┼╙╙╧╫, ╘┴╦╓┼ ╦┴╦ ╔ ╨╥╔ ╧┬╥┴┬╧╘╦┼ ╙╔╟╬┴╠┴
<code>TERM</code>, ╧─╬┴╦╧ ╥╧─╔╘┼╠╪╙╦╔╩ ╨╥╧├┼╙╙ ╬┼ ┌┴╫┼╥█┴┼╘ ╥┴┬╧╘╒.
∩╬ ╨┼╥┼▐╔╘┘╫┴┼╘ ╦╧╬╞╔╟╒╥┴├╔╧╬╬┘┼ ╞┴╩╠┘ ╔ ╧╘╦╥┘╫┴┼╘ ┌┴╬╧╫╧ log-╞┴╩╠┘
(╞┴╩╠┘, ╙╧─┼╥╓┴▌╔┼ ╓╒╥╬┴╠ ╥┴┬╧╘┘ ╙┼╥╫┼╥┴). ·┴╘┼═ ╧╬ ╨╧╥╧╓─┴┼╘
╬╧╫┘╚ ╨╧╘╧═╦╧╫ ╔ ╨╥╧─╧╠╓┴┼╘ ╧┬╥┴┬╧╘╦╒ ┌┴╨╥╧╙╧╫.</p>
<p>≡╧╠╪┌╧╫┴╘┼╠╔, ╔╙╨╧╠╪┌╒└▌╔┼ ═╧─╒╠╪ <code class="module"><a href="./mod/mod_status.html">mod_status</a></code>,
═╧╟╒╘ ╧┬╥┴╘╔╘╪ ╫╬╔═┴╬╔┼, ▐╘╧ ╙╘┴╘╔╙╘╔╦┴ ╙┼╥╫┼╥┴ ╨╥╔ ╨╧╠╒▐┼╬╔╔ ╙╔╟╬┴╠┴
<code>HUP</code> ╨╧╠╬╧╙╘╪└ ╧┬╬╒╠╤┼╘╙╤.</p>
<div class="note">σ╙╠╔ ≈┴█ ╦╧╬╞╔╟╒╥┴├╔╧╬╬┘╩ ╞┴╩╠ ╙╧─┼╥╓╔╘ ╧█╔┬╦╔, ╘╧ ╨╧╨┘╘╦┴
╨┼╥┼┌┴╨╒╙╘╔╘╪ ╙┼╥╫┼╥ ╫┘┌╧╫┼╘ ╬┼═┼─╠┼╬╬╧┼ ╨╥┼╦╥┴▌┼╬╔┼ ┼╟╧ ╥┴┬╧╘┘
╙ ╙╧╧┬▌┼╬╔┼═ ╧┬ ╧█╔┬╦┼. ≤╨╧╙╧┬┘ ╔┌┬┼╓┴╘╪ ▄╘╧╟╧ ╙═╧╘╥╔╘┼ ╫┘█┼.
</div>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="race" id="race">≡╥╔╠╧╓┼╬╔┼: ╙╔╟╬┴╠┘ ╔ ╙╔╘╒┴├╔╔ ╟╧╬╦╔ (race conditions)</a></h2>
<p>≈ Apache ─╧ ╫┼╥╙╔╔ 1.2b9 ╙╒▌┼╙╘╫╧╫┴╠╧ ╬┼╙╦╧╠╪╦╧ <em>╙╔╘╒┴├╔╩ ╟╧╬╦╔ (race
conditions)</em>, ╫╧┌╬╔╦┴└▌╔╚ ╨╥╔ ╨╧╠╒▐┼╬╔╔ ╙╔╟╬┴╠╧╫ ╦ ╨┼╥┼┌┴╨╒╙╦╒ ╔╠╔ ╧╙╘┴╬╧╫╒ (╨╥╧╙╘╧┼
╧┬▀╤╙╬┼╬╔┼ ╙╔╘╒┴├╔╩ ╟╧╬╦╔ (race conditions): ╨╥╧┬╠┼═┴, ╫╧┌╬╔╦┴└▌┴╤,
╦╧╟─┴ ▐╘╧-╘╧ ╨╥╧╔╙╚╧─╔╘ ╫ ╘╧ ╫╥┼═╤, ╦╧╟─┴ ╬┼ ─╧╠╓╬╧ ╨╥╧╔╙╚╧─╔╘╪,
╔┌-┌┴ ▐┼╟╧ ╬┴╥╒█┴┼╘╙╤ ╬╧╥═┴╠╪╬┴╤ ╥┴┬╧╘┴ ╨┴╥┴╠╠┼╠╪╬╧ ╫┘╨╧╠╬╤┼═┘╚ ╨╥╧├┼╙╙╧╫).
Σ╠╤ ╦╧═╨╪└╘┼╥╧╫ ╙ ┴╥╚╔╘┼╦╘╒╥┴═╔, ╔═┼└▌╔═╔ "╨╥┴╫╔╠╪╬┘╩", "╚╧╥╧█╔╩" ╬┴┬╧╥
╫╧┌═╧╓╬╧╙╘┼╩, ╨╧─╧┬╬┘┼ ╨╥╧┬╠┼═┘ ┬┘╠╔ ╒╙╘╥┴╬┼╬┘ ╫┼┌─┼, ╟─┼ ▄╘╧ ╫╧┌═╧╓╬╧.
∩─╬┴╦╧ ╙╠┼─╒┼╘ ╨╧═╬╔╘╪, ▐╘╧ ╬┴ ╦╧═╨╪└╘┼╥┴╚ ╙ ╬┼╦╧╘╧╥┘═╔ ┴╥╚╔╘┼╦╘╒╥┴═╔
╫╙ú ┼▌ú ╙╒▌┼╙╘╫╒┼╘ ╫╧┌═╧╓╬╧╙╘╪ ╫╧┌╬╔╦╬╧╫┼╬╔╤ ╙╔╘╒┴├╔╩ ╟╧╬╦╔ (race conditions).</p>
<p>δ╧═╨╪└╘┼╥┘ ╙ ┴╥╚╔╘┼╦╘╒╥┴═╔, ╬┴ ╦╧╘╧╥┘╚ ╘┴┬╠╔├┴ ╙╘┴╘╔╙╘╔╦╔ ╚╥┴╬╔╘╙╤
╫ ╞┴╩╠┼, ╧╨╔╙┴╬╬╧═ ─╔╥┼╦╘╔╫╧╩ <code class="directive"><a href="./mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code>,
╔═┼└╘ ╨╧╘┼╬├╔┴╠╪╬╒└ ╫╧┌═╧╓╬╧╙╘╪ ╨╧╫╥┼╓─┼╬╔╤ ╔╚ ╘┴┬╠╔├ ╙╘┴╘╔╙╘╔╦╔.
ⁿ╘╧ ═╧╓┼╘ ╫┘┌╫┴╘╪ ╧█╔┬╦╒ "bind: Address already in use" -
"╒╙╘┴╬╧╫╠┼╬╔┼ ╙╫╤┌╔: ß─╥┼╙ ╒╓┼ ╔╙╨╧╠╪┌╒┼╘╙╤" (╨╧╙╠┼ ╙╔╟╬┴╠┴ <code>HUP</code>)
╔╠╔ "long lost child came home!" - "≈╧┌╫╥┴╘ ╨╧╘┼╥╤╬╬╧╟╧ ─╧▐┼╥╬┼╟╧ ╨╥╧├┼╙╙┴"
(╨╧╙╠┼ ╙╔╟╬┴╠┴ <code>USR1</code>). ≡╧╙╠┼─╬┼┼ ╙╧╧┬▌┼╬╔┼ - ╞┴╘┴╠╪╬┴╤ ╧█╔┬╦┴,
╫ ╘╧ ╫╥┼═╤ ╦┴╦ ╨╥┼─┘─╒▌┼┼ ╫┘┌┘╫┴┼╘ ╘╧╠╪╦╧ ╨╧╘┼╥└ ╙╫╤┌╔ ╙ ╘┴┬╠╔├┼╩ ╙╘┴╘╔╙╘╔╦╔.
≡╧▄╘╧═╒ ═╧╓╬╧ ╨╧╥┼╦╧═┼╬─╧╫┴╘╪ ╔╙╨╧╠╪┌╧╫┴╘╪ ═╤╟╦╔╩ ╨┼╥┼┌┴╨╒╙╦, ╔ ╠╔█╪ ╫╥┼═╤ ╧╘ ╫╥┼═┼╬╔
─┼╠┴╘╪ ╓┼╙╘╦╔╩ ╨┼╥┼┌┴╨╒╙╦. ≤ ▄╘╔═╔ ╨╥╧┬╠┼═┴═╔ ╧▐┼╬╪ ╙╠╧╓╬╧ ┬╧╥╧╘╪╙╤,
╧─╬┴╦╧, ╦ ╙▐┴╙╘╪└, ┬╧╠╪█╔╬╙╘╫╧ ┴╥╚╔╘┼╦╘╒╥ ╬┼ ╘╥┼┬╒└╘ ╚╥┴╬╔╘╪ ╘┴┬╠╔├╒ ╙╘┴╘╔╙╘╔╦╔
╬┴ ─╔╙╦┼. ≤═╧╘╥╔╘┼ ─╧╦╒═┼╬╘┴├╔└ ╦ ─╔╥┼╦╘╔╫┼ <code class="directive"><a href="./mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code>, ▐╘╧┬┘ ╒┌╬┴╘╪, ╬┴ ╦┴╦╔╚ ┴╥╚╔╘┼╦╘╒╥┴╚
╔╙╨╧╠╪┌╒┼╘╙╤ ▄╘╧╘ ╞┴╩╠.</p>
<p>≈╧ ╫╙┼╚ ┴╥╚╔╘┼╦╘╒╥┴╚ ╙╒▌┼╙╘╫╒└╘ ╬┼┬╧╠╪█╔┼ ╙╔╘╒┴├╔╔ ╟╧╬╦╔ (race conditions)
╫ ╦┴╓─╧═ ─╧▐┼╥╬┼═ ╨╥╧├┼╙╙┼, ╬┴▐╔╬┴╤ ╙╧ ╫╘╧╥╧╟╧ ┌┴╨╥╧╙┴ ╨╥╔ ╨╧╙╘╧╤╬╬╧═
HTTP ╙╧┼─╔╬┼╬╔╔ (KeepAlive). ≡╥╧├┼╙╙ ═╧╓┼╘ ┌┴╫┼╥█╔╘╪╙╤ ╨╧╙╠┼ ▐╘┼╬╔╤
╙╘╥╧╦╔ ┌┴╨╥╧╙┴, ╬╧ ╨┼╥┼─ ▐╘┼╬╔┼═ ┌┴╟╧╠╧╫╦╧╫ ┌┴╨╥╧╙┴. Θ╙╨╥┴╫╠┼╬╔┼
╨╧╤╫╔╠╧╙╪ ╨╧┌╓┼ ╫┘╨╒╙╦┴ ╫┼╥╙╔╔ 1.2, ┴ ╨╧╘╧═╒ ╬┼ ╫╦╠└▐┼╬╧ ╫ ╬┼╟╧. ⌠┼╧╥┼╘╔▐┼╙╦╔, ▄╘╧
╬┼ ╨╥╧┬╠┼═┴, ╨╧╘╧═╒ ▐╘╧ KeepAlive-╦╠╔┼╬╘ ─╧╠╓┼╬ ╧╓╔─┴╘╪ ╘┴╦╔╚ ╙╧┬┘╘╔╩
╔┌-┌┴ ┌┴─┼╥╓┼╦ ╙┼╘╔ ╔ ╫╥┼═┼╬╔ ╧╓╔─┴╬╔╤ ╙┼╥╫┼╥┴. ≡╥┴╦╘╔▐┼╙╦╔,
╙╦╠┴─┘╫┴┼╘╙╤ ╫╨┼▐┴╘╠┼╬╔┼, ▐╘╧ ▄╘╧ ╘┴╦╓┼ ╬┼ ╧╦┴┌┘╫┴┼╘ ╬╔╦┴╦╧╟╧
╫╠╔╤╬╔╤ - ╫╧ ╫╥┼═╤ ╘┼╙╘╧╫ ╙┼╥╫┼╥ ╨┼╥┼┌┴╨╒╙╦┴╠╙╤ ╙ ▐┴╙╘╧╘╧╩ 20 ╥┴┌
╫ ╙┼╦╒╬─╒, ┴ ╦╠╔┼╬╘┘ ╒╙╨┼█╬╧ ╨╥╧╙═┴╘╥╔╫┴╠╔ ╙┴╩╘, ╬┼ ╨╧╠╒▐┴╤
╨╒╙╘┘╚ ─╧╦╒═┼╬╘╧╫ ╔ ╨╧╫╥┼╓─ú╬╬┘╚ ╦┴╥╘╔╬╧╦.</p>
</div></div>
<div class="bottomlang">
<p><span>Σ╧╙╘╒╨╬┘┼ ╤┌┘╦╔: </span><a href="./de/stopping.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="./en/stopping.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="./ja/stopping.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="./ko/stopping.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
<a href="./ru/stopping.html" title="Russian"> ru </a></p>
</div><div id="footer">
<p class="apache">≡╧──┼╥╓╦┴ ╧╙╒▌┼╙╘╫╠╤┼╘╙╤ <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>