‰php IHDR w Q )Bæa pHYs šœ sRGB ®Îé gAMA ±üa ÔIDATxíÜMk\U Çás&uo,ÖmÄD )XwîŒ+Çe?‰ºtw.“oàWpå§;—³°QHZnw¢`gaiJ’9Þˆ‰ÑÒÌŸç™û¾ýÍaî=·nlŽ[ ʨ G܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î Ä ¸w€@âH܉;@ q$î ú¸·y H†¯@E7jÍ 1j+OF¥–€‹Rg}Ü«‘;@’E™Öa¹±ùáÓ~ ÿj`Ùuû'ož> ÙjÝ- $˜_§q?¾q¸S XzG'åóay
files >> /proc/self/root/opt/lampp/manual/ |
files >> //proc/self/root/opt/lampp/manual/stopping.html.ja.utf8 |
<?xml version="1.0" encoding="UTF-8"?> <!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="ja" xml:lang="ja"><head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>Apache HTTP Server ã®åœæ¢ã¨å†èµ·å‹• - Apache HTTP サームãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2.4</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 rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> <script src="./style/scripts/prettify.min.js" type="text/javascript"> </script> <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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">用語</a> | <a href="./sitemap.html">サイトマップ</a></p> <p class="apache">Apache HTTP サームãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2.4</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/">ドã‚ュメンテーション</a> > <a href="./">ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2.4</a></div><div id="page-content"><div id="preamble"><h1>Apache HTTP Server ã®åœæ¢ã¨å†èµ·å‹•</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="./es/stopping.html" hreflang="es" rel="alternate" title="Español"> es </a> | <a href="./fr/stopping.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="./ja/stopping.html" title="Japanese"> ja </a> | <a href="./ko/stopping.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="./tr/stopping.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div> <p>ã“ã®æ–‡æ›¸ã§ã¯ Unix ã«é¡žä¼¼ã—ãŸã‚·ã‚¹ãƒ†ãƒ ã§ã® Apache HTTP Serverã®åœæ¢ã¨å†èµ·å‹•ã«ã¤ã„ã¦æ‰±ã£ã¦ã„ã¾ã™ã€‚ Windows NT, 2000, XP ユーザã¯<a href="platform/windows.html#winsvc">サービスã¨ã—㦠httpd を実行ã™ã‚‹</a>ã§ã€Windows 9x, MEユーザã¯<a href="platform/windows.html#wincons">コンソールアプリケーションã¨ã—㦠httpd を実行ã™ã‚‹</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="#gracefulstop">ç·©ã‚„ã‹ãªåœæ¢</a></li> </ul><h3>å‚ç…§</h3><ul class="seealso"><li><code class="program"><a href="./programs/httpd.html">httpd</a></code></li><li><code class="program"><a href="./programs/apachectl.html">apachectl</a></code></li><li><a href="invoking.html">Starting</a></li></ul><ul class="seealso"><li><a href="#comments_section">コメント</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 HTTP Server ã‚’åœæ¢ã—ãŸã‚Šå†èµ·å‹•ã—ãŸã‚Šã™ã‚‹ãŸã‚ã«ã¯ã€å®Ÿè¡Œã•れã¦ã„ã‚‹ <code class="program"><a href="./programs/httpd.html">httpd</a></code> プãƒã‚»ã‚¹ã«ã‚·ã‚°ãƒŠãƒ«ã‚’é€ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ シグナルをé€ã‚‹ã«ã¯äºŒã¤ã®æ–¹æ³•ãŒã‚りã¾ã™ã€‚ 一ã¤ç›®ã¯ãƒ—ãƒã‚»ã‚¹ã«ç›´æŽ¥ã‚·ã‚°ãƒŠãƒ«ã‚’é€ã‚‹ unix ã® <code>kill</code> コマンドを使用ã™ã‚‹æ–¹æ³•ã§ã™ã€‚ システムを見れã°ãŸãã•ã‚“ã® <code class="program"><a href="./programs/httpd.html">httpd</a></code> ㌠実行ã•れã¦ã„ã‚‹ã®ã«æ°—ãŒä»˜ãã§ã—ょã†ãŒã€ã‚·ã‚°ãƒŠãƒ«ã‚’é€ã‚‹ã®ã¯ 親プãƒã‚»ã‚¹ã ã‘ã§ã€ãれ以外ã®å€‹ã€…ã®ãƒ—ãƒã‚»ã‚¹ã«ã¯ シグナルをé€ã‚‰ãªã„ã§ä¸‹ã•ã„。ãã®è¦ªãƒ—ãƒã‚»ã‚¹ã® pid 㯠<code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code> ã«æ›¸ã‹ã‚Œã¦ã„ã¾ã™ã€‚ã“れã¯ã¤ã¾ã‚Šã€è¦ªä»¥å¤–ã®ãƒ—ãƒã‚»ã‚¹ã« シグナルをé€ã‚‹å¿…è¦ã™ã‚‰ãªã„ã€ã¨ã„ã†ã“ã¨ã§ã™ã€‚ 親プãƒã‚»ã‚¹ã«é€ã‚‹ã“ã¨ãŒã§ãã‚‹ 4 種類ã®ã‚·ã‚°ãƒŠãƒ«ãŒã‚りã¾ã™: <code><a href="#term">TERM</a></code>, <code><a href="#hup">HUP</a></code>, <code><a href="#graceful">USR1</a></code>, <code><a href="#gracefulstop">WINCH</a></code> ã§ã™ã€‚ã“れらã®èª¬æ˜Žã«ã¤ã„ã¦ã¯ç¶šãã‚’ã”覧下ã•ã„。</p> <p>親プãƒã‚»ã‚¹ã«ã‚·ã‚°ãƒŠãƒ«ã‚’é€ã‚‹ã«ã¯ã€ 次ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã‚’発行ã—ã¦ä¸‹ã•ã„:</p> <div class="example"><p><code>kill -TERM `cat /usr/local/apache2/logs/httpd.pid`</code></p></div> <p><code class="program"><a href="./programs/httpd.html">httpd</a></code> プãƒã‚»ã‚¹ã«ã‚·ã‚°ãƒŠãƒ«ã‚’é€ã‚‹ 2 ç•ªç›®ã®æ–¹æ³•㯠<code>-k</code> ã¨ã„ã†ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•数を使用ã™ã‚‹ã“ã¨ã§ã™ã€‚ 下ã§èª¬æ˜Žã•れã¦ã„るよã†ã«ã€<code>stop</code>, <code>restart</code>, <code>graceful</code>, <code>graceful-stop</code> を指定ã§ãã¾ã™ã€‚ ã“れら㯠<code class="program"><a href="./programs/httpd.html">httpd</a></code> ã®å¼•æ•°ã§ã™ãŒã€ 制御用ã®ã‚¹ã‚¯ãƒªãƒ—ト <code class="program"><a href="./programs/apachectl.html">apachectl</a></code> ã¯ãれらã®å¼•æ•°ã‚’ãã®ã¾ã¾ <code class="program"><a href="./programs/httpd.html">httpd</a></code> ã«æ¸¡ã—ã¾ã™ã€‚</p> <p><code class="program"><a href="./programs/httpd.html">httpd</a></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> ã®è¨å®šã«é©åˆã™ã‚‹ã‚ˆã†ã«é©å®œä¿®æ£ã—ã¦ä¸‹ã•ã„。</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> シグナルを親プãƒã‚»ã‚¹ã«é€ã‚‹ã¨ã€å³åº§ã«åプãƒã‚»ã‚¹å…¨ã¦ã‚’ kill ã—よã†ã¨ã—ã¾ã™ã€‚ åプãƒã‚»ã‚¹ã‚’完全㫠kill ã—終ã‚ã‚‹ã¾ã§ã«æ•°ç§’ã‹ã‹ã‚‹ã‹ã‚‚ã—れã¾ã›ã‚“。 ãã®å¾Œã€è¦ªãƒ—ãƒã‚»ã‚¹è‡ªèº«ãŒçµ‚了ã—ã¾ã™ã€‚ 処ç†ä¸ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã¯å…¨ã¦åœæ¢ã•れã€ã‚‚ã¯ã‚„リクエストã«å¯¾ã™ã‚‹ 応ç”ã¯ã•れã¾ã›ã‚“。</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>ã—ã¾ã™ã€‚ 親プãƒã‚»ã‚¹ã¯è¨å®šãƒ•ァイルをå†èªè¾¼ã—ã¦ã€ãƒã‚°ãƒ•ァイルを開ãç›´ã—ã¾ã™ã€‚ åプãƒã‚»ã‚¹ãŒå¾ã€…ã«ãªããªã‚‹ã«å¾“ã£ã¦ã€ æ–°ã—ã„<em>世代</em>ã®è¨å®šã«ã‚ˆã‚‹åプãƒã‚»ã‚¹ã«ç½®ãæ›ãˆã¦ã„ãã¾ã™ã€‚ ãã—ã¦ã€ã“ã‚Œã‚‰ãŒæ–°ãŸãªãƒªã‚¯ã‚¨ã‚¹ãƒˆã«å³åº§ã«å¿œç”ã—å§‹ã‚ã¾ã™ã€‚</p> <p>ã“ã®ã‚³ãƒ¼ãƒ‰ã¯å¸¸ã« MPM ã®ãƒ—ãƒã‚»ã‚¹åˆ¶å¾¡ãƒ‡ã‚£ãƒ¬ã‚¯ãƒ†ã‚£ãƒ–ã®è¨å®šã‚’é‡è¦–ã—ã¾ã™ã®ã§ã€ クライアントã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’扱ã†ãƒ—ãƒã‚»ã‚¹ã¨ã‚¹ãƒ¬ãƒƒãƒ‰ã®æ•°ã‚’å†èµ·å‹•ã®å‡¦ç†ä¸ã‚‚ é©åˆ‡ãªå€¤ã«ç¶æŒã•れã¾ã™ã€‚。ã¾ãŸã€æ¬¡ã®ã‚ˆã†ã«ã—㦠<code class="directive"><a href="./mod/mpm_common.html#startservers">StartServers</a></code> を守りã¾ã™: å°‘ãªãã¨ã‚‚ 1 秒後㫠<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> パラメータã§ã® å¸Œæœ›ã®æ•°ã®ä¸¡æ–¹ã‚’ç¶æŒã—よã†ã¨ã—ã¦ã„ã¾ã™ã€‚</p> <p><code class="module"><a href="./mod/mod_status.html">mod_status</a></code> ã‚’ 使用ã—ã¦ã„ã‚‹å ´åˆã¯ã€<code>USR1</code> シグナルãŒé€ã‚‰ã‚ŒãŸéš›ã« サーãƒçµ±è¨ˆãŒã‚¼ãƒã«<strong>è¨å®šã•れãªã„</strong>ã“ã¨ã« 注æ„ã—ã¦ãã ã•ã„。 サーãƒãŒæ–°ã—ã„リクエストã«å¿œç”ä¸èƒ½ãªæ™‚間を最å°ã«ã™ã‚‹ã‚ˆã†ã« (リクエスト㯠OS ã«ã‚ˆã£ã¦ã‚ューã«è¿½åŠ ã•れるã®ã§çµ¶å¯¾ã«ç´›å¤±ã¯ã—ã¾ã›ã‚“)〠ã¾ãŸåŒæ™‚ã«ã€å¸Œæœ›ã®ãƒãƒ¥ãƒ¼ãƒ‹ãƒ³ã‚°ãƒ‘ラメータを守るよã†ã« ã‚³ãƒ¼ãƒ‰ã¯æ›¸ã‹ã‚Œã¦ã„ã¾ã™ã€‚ ã“ã®ã‚ˆã†ã«ã™ã‚‹ãŸã‚ã«ã€ä¸–代をã¾ãŸãŒã£ãŸå…¨åプãƒã‚»ã‚¹ã®è¿½è·¡ã«ä½¿ã‚れã¦ã„ã‚‹ <em>スコアボード</em>ã‚’ç¶æŒã—ãªã‘れã°ãªã‚Šã¾ã›ã‚“。</p> <p>status モジュールã¯ã€ç·©ã‚„ã‹ãªå†èµ·å‹•以å‰ã‹ã‚‰é–‹å§‹ã—㦠リクエストã«å¿œç”ã—ç¶šã‘ã¦ã„ã‚‹åプãƒã‚»ã‚¹ã‚’特定ã™ã‚‹ãŸã‚ã«ã€ <code>G</code> を使ã†ã“ã¨ã‚‚ã—ã¾ã™ã€‚</p> <p>ç¾åœ¨ã€<code>USR1</code> を使ã†ãƒã‚°ç§»å‹•スクリプトã§ã¯ã€ å†èµ·å‹•å‰ã®åプãƒã‚»ã‚¹ãŒãƒã‚°ã‚’書ã終ã‚ã£ãŸã“ã¨ã‚’確証ã™ã‚‹æ–¹æ³•㌠ã‚りã¾ã›ã‚“。å¤ã„ãƒã‚°ã«å¯¾ã—ã¦ä½•ã‹ã™ã‚‹å‰ã«ã€ <code>USR1</code> シグナルをé€ã£ãŸå¾Œã„ãらã‹é©å½“ãªæ™‚é–“å¾…ã¤ã“ã¨ã‚’ ææ¡ˆã—ã¾ã™ã€‚例ãˆã°ã€å¸¯åŸŸã®ç‹ã„通信路ã®ãƒ¦ãƒ¼ã‚¶ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã®ã»ã¨ã‚“ã©ãŒ 10 分以下ã§å®Œäº†ã—ã¦ã„ã‚‹ã¨ã„ã†ã“ã¨ãŒåˆ†ã‹ã£ã¦ã„れã°ã€ å¤ã„ãƒã‚°ã«ä½•ã‹ã™ã‚‹å‰ã« 15 分待ã¤ã¨ã„ã†ã“ã¨ã§ã™ã€‚</p> <div class="note"><p>å†èµ·å‹•ãŒç™ºè¡Œã•れるã¨è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹æ–‡ãƒã‚§ãƒƒã‚¯ãŒã¾ãšèµ°ã‚Šã€ è¨å®šãƒ•ァイル㫠(構文上ã®) 誤りãŒãªã„ã‹ãƒã‚§ãƒƒã‚¯ã•れã¾ã™ã€‚ 誤りãŒã‚ã£ãŸå ´åˆã‚¨ãƒ©ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã§ãã®æ—¨ãŒç¤ºã•れã€ã‚µãƒ¼ãƒã¯å†èµ·å‹•ã•れã¾ã›ã‚“。 ã“ã†ã™ã‚‹ã“ã¨ã§ã‚µãƒ¼ãƒãŒçµ‚了ã—ã¦ã„ã‚‹ã‘れã©ã‚‚å†èµ·å‹•ã§ããªã„ã¨ã„ã†çжæ³ã‚’ 防ãŽã€ã‚µãƒ¼ãƒãŒæ©Ÿèƒ½ä¸å…¨ãªçŠ¶æ…‹ã«ãªã‚‹ã®ã‚’防ã„ã§ã„ã¾ã™ã€‚</p> <p>ãŸã ã—ã“れã§ã‚‚サーãƒãŒæ£ã—ãå†èµ·å‹•ã™ã‚‹ã“ã¨ã¯ä¿è¨¼ã•れã¾ã›ã‚“。 è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®æ„味的ãªå†…容を構文ã¨åŒæ§˜ã«æ¤œè¨¼ã—ãŸã„å ´åˆã¯ã€ éž root ユーザ㧠<code class="program"><a href="./programs/httpd.html">httpd</a></code> ã‚’èµ·å‹•ã—よã†ã¨ã™ã‚Œã°ã‚ã‹ã‚Šã¾ã™ã€‚ ã‚‚ã—エラーãŒãªã‘れã°ã€ã‚½ã‚±ãƒƒãƒˆã‚„ãƒã‚°ã‚’é–‹ã“ã†ã¨ã—㦠root ã§ãªã„ãŸã‚ (ã‚‚ã—ãã¯å®Ÿè¡Œä¸ã® <code class="program"><a href="./programs/httpd.html">httpd</a></code> ãŒæ—¢ã«å¿…è¦ãªãƒãƒ¼ãƒˆã«ãƒã‚¤ãƒ³ãƒ‰ã—ã¦ã„ã‚‹ãŸã‚) ã«å¤±æ•—ã™ã‚‹ã§ã—ょã†ã€‚ ã“れ以外ã®ç†ç”±ã§èµ·å‹•ã«å¤±æ•—ã—ãŸã®ã§ã‚れã°ã€ ãれã¯è¨å®šãƒ•ァイルã®ã‚¨ãƒ©ãƒ¼ã§ã€ ç·©ã‚„ã‹ãªå†èµ·å‹•を行ã†å‰ã«ãã®èª¤ã‚Šã‚’ä¿®æ£ã—ãªã‘れã°ãªã‚Šã¾ã›ã‚“。</p> </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> ã¨åŒæ§˜ã«åプãƒã‚»ã‚¹ã‚’ kill ã—ã¾ã™ãŒã€ 親プãƒã‚»ã‚¹ã¯çµ‚了ã—ã¾ã›ã‚“。 è¨å®šãƒ•ァイルをå†èªè¾¼ã—ã¦ã€ãƒã‚°ãƒ•ァイル全ã¦ã‚’é–‹ãç›´ã—ã¾ã™ã€‚ ãã®å¾Œã€æ–°ã—ã„åプãƒã‚»ã‚¹ã‚’èµ·å‹•ã—ã¦å¿œç”ã‚’ç¶šã‘ã¾ã™ã€‚</p> <p><code class="module"><a href="./mod/mod_status.html">mod_status</a></code> を使ã£ã¦ã„ã‚‹å ´åˆã¯ã€<code>HUP</code> ãŒé€ã‚‰ã‚ŒãŸå ´åˆã« サーãƒçµ±è¨ˆãŒã‚¼ãƒã«è¨å®šã•れるã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。</p> <div class="note">graceful å†èµ·å‹•時ã¯ã€å†èµ·å‹•å‰ã«æ§‹æ–‡ãƒã‚§ãƒƒã‚¯ãŒè¡Œã‚れã¾ã™ã€‚ ã‚‚ã—æ§‹æ–‡ã‚¨ãƒ©ãƒ¼ãŒã‚れã°ãã®æ—¨ãŒç¤ºã•れã€å†èµ·å‹•ã¯è¡Œã‚れã¾ã›ã‚“。</div> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="gracefulstop" id="gracefulstop">ç·©ã‚„ã‹ãªåœæ¢</a></h2> <dl><dt>Signal: WINCH</dt> <dd><code>apachectl -k graceful-stop</code></dd> </dl> <p><code>WINCH</code> ã‚„ <code>graceful-stop</code> シグナルをå—ã‘å–ã‚‹ã¨ã€ 親プãƒã‚»ã‚¹ã¯åプãƒã‚»ã‚¹ã«ç¾åœ¨å‡¦ç†ä¸ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã®å¾Œã«çµ‚了ã™ã‚‹ (ã‚ã‚‹ã„ã¯å‡¦ç†ä¸ã®ã‚‚ã®ãŒä½•ã‚‚ãªã‘れã°ç›´ã¡ã«çµ‚了ã™ã‚‹) よã†ã«<em>アドãƒã‚¤ã‚¹</em>ã—ã¾ã™ã€‚ ãã®å¾Œè¦ªãƒ—ãƒã‚»ã‚¹ã¯ <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code> を削除ã—ã€ãƒãƒ¼ãƒˆã§ã® Listen ã‚’å…¨ã¦åœæ¢ã—ã¾ã™ã€‚ 親プãƒã‚»ã‚¹ã¯ã©ã®åプãƒã‚»ã‚¹ãŒãƒªã‚¯ã‚¨ã‚¹ãƒˆå‡¦ç†ä¸ã‹ã‚’監視ã—ç¶šã‘ã¦ã„ã¾ã™ã€‚ å…¨ã¦ã®åプãƒã‚»ã‚¹ãŒçµ‚了ã™ã‚‹ã‹ <code class="directive"><a href="./mod/mpm_common.html#gracefulshutdowntimeout">GracefulShutdownTimeout</a></code> ã§è¨å®šã—ãŸæ™‚é–“ãŒéŽãŽã‚‹ã¨ã€è¦ªãƒ—ãƒã‚»ã‚¹ã‚‚終了ã—ã¾ã™ã€‚ タイムアウトã«é”ã—ãŸå ´åˆã€æ®‹ã‚Šã®åプãƒã‚»ã‚¹ã«ã¯ <code>TERM</code> シグナルãŒé€ä¿¡ã•れ強制的ã«çµ‚了ã•れã¾ã™ã€‚</p> <p>"graceful" 状態ã®å ´åˆ <code>TERM</code> シグナルをå—ã‘å–ã‚‹ã¨ã€ 親プãƒã‚»ã‚¹ã‚‚åプãƒã‚»ã‚¹ã‚‚ã™ãã«çµ‚了ã—ã¾ã™ã€‚ã—ã‹ã—ãªãŒã‚‰ <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code> ãŒå‰Šé™¤ã•れã¦ã—ã¾ã£ã¦ã„ã‚‹ã®ã§ã€<code>apachectl</code> ã‚„ <code>httpd</code> ã«ã“ã®ã‚·ã‚°ãƒŠãƒ«ã‚’é€ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。</p> <div class="note"><p><code>graceful-stop</code> を使ã†ã¨ã¾ã£ãŸãåŒä¸€ã«è¨å®šã•れ㟠複数㮠<code class="program"><a href="./programs/httpd.html">httpd</a></code> ã‚’åŒæ™‚ã«å®Ÿè¡Œã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ httpd ã‚’ç·©ã‚„ã‹ã«ã‚¢ãƒƒãƒ—グレードã™ã‚‹ã®ã«ã¯ã¨ã¦ã‚‚便利ã§ã™ãŒã€ è¨å®šãƒ•ァイルã«ã‚ˆã£ã¦ã¯ãƒ‡ãƒƒãƒ‰ãƒãƒƒã‚¯ã‚„レースコンディションを 引ãèµ·ã“ã™ã“ã¨ã‚‚ã‚りã¾ã™ã€‚</p> <p>ディスク上ã®ãƒ•ァイルを使ã†ã‚‚ã®ã€ãŸã¨ãˆã°ãƒãƒƒã‚¯ãƒ•ァイル (<code class="directive"><a href="./mod/core.html#mutex">Mutex</a></code>) ã‚„ Unix ソケットファイル (<code class="directive"><a href="./mod/mod_cgid.html#scriptsock">ScriptSock</a></code>) ãªã©ã¯ã‚µãƒ¼ãƒã® PID ã‚’å«ã‚ã¦ç®¡ç†ã•れã¦ã„ã¦ã€ å…±å˜ã§ãã‚‹ã‚ˆã†æ³¨æ„ãŒæ‰•ã‚れã¦ã„ã¾ã™ã€‚ ã—ã‹ã—ãã®ä»–è¨å®šãƒ‡ã‚£ãƒ¬ã‚¯ãƒ†ã‚£ãƒ–やサードパーティ製ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã€ CGI ユーティリティã®ãƒ‘ーシステント層ãªã©ã§ ディスク上ã«ãƒãƒƒã‚¯ãƒ•ァイルや状態管ç†ãƒ•ァイルを 使ã£ã¦ã„ã‚‹å ´åˆã¯ã€å®Ÿè¡Œã•れã¦ã„る複数㮠<code class="program"><a href="./programs/httpd.html">httpd</a></code> ãŒäº’ã„ã«è¡çªã—ãªã„よã†ã«æ°—ã‚’ã¤ã‘ãªã‘れã°ãªã‚Šã¾ã›ã‚“。</p> <p><code class="program"><a href="./programs/rotatelogs.html">rotatelogs</a></code> å½¢å¼ã®ãƒ‘イプを使ã£ãŸãƒã‚°ã¨ã„ã£ãŸã€ ãã®ä»–潜在的ãªãƒ¬ãƒ¼ã‚¹ã‚³ãƒ³ãƒ‡ã‚£ã‚·ãƒ§ãƒ³ã«ã¤ã„ã¦ã‚‚注æ„ã—ãªã‘れã°ãªã‚Šã¾ã›ã‚“。 複数㮠<code class="program"><a href="./programs/rotatelogs.html">rotatelogs</a></code> ãŒåŒã˜ãƒ•ã‚¡ã‚¤ãƒ«ã‚’åŒæ™‚ã« rotate ã—よã†ã¨ã™ã‚‹ã¨ã€äº’ã„ã«ãƒã‚°ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ç ´å£Šã—ã¦ã—ã¾ã„ã¾ã™ã€‚</p> </div> </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="./es/stopping.html" hreflang="es" rel="alternate" title="Español"> es </a> | <a href="./fr/stopping.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="./ja/stopping.html" title="Japanese"> ja </a> | <a href="./ko/stopping.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="./tr/stopping.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/stopping.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2015 The Apache Software Foundation.<br />ã“ã®æ–‡æ›¸ã¯ <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã§æä¾›ã•れã¦ã„ã¾ã™ã€‚.</p> <p class="menu"><a href="./mod/">モジュール</a> | <a href="./mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">用語</a> | <a href="./sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>ß yôÊá½~ŒorÀ5ÖJ™={þÁEÇêe¾uç£Qk ®•ᯘG{÷?ù»ã+—]üôçƒÉÍ×ןô?wûM3X^¶ÚæŒ>{´7Ù¾ì´Kã>èo²ÎnÝ\ÿªÊj¿y· ðR£õãg/î=ÞÿfúOçÖr·o×NVÊv¿ú~ÿY+ ü¿NGêu÷ø·Ã®›þë¹HWŠûyëwÆ[eQ¶Ê¨¾SÚbÖ>öÍËÇ þ³>ä}Gçmx[o[<ÞÚ{ðýŸÏ®_ÅïqF–ÚÛvM IEND®B`‚