1<?xml version="1.0" encoding="EUC-KR"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
4        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5              This file is generated from xml source: DO NOT EDIT
6        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7      -->
8<title>�ߴܰ� ����� - Apache HTTP Server</title>
9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11<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" />
12<script src="/style/scripts/prettify.min.js" type="text/javascript">
13</script>
14
15<link href="/images/favicon.ico" rel="shortcut icon" /></head>
16<body id="manual-page"><div id="page-header">
17<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>
18<p class="apache">Apache HTTP Server Version 2.4</p>
19<img alt="" src="/images/feather.gif" /></div>
20<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
21<div id="path">
22<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>�ߴܰ� �����</h1>
23<div class="toplang">
24<p><span>������ ���: </span><a href="/de/stopping.html" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
25<a href="/en/stopping.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
26<a href="/es/stopping.html" hreflang="es" rel="alternate" title="Espa&#241;ol">&nbsp;es&nbsp;</a> |
27<a href="/fr/stopping.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
28<a href="/ja/stopping.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
29<a href="/ko/stopping.html" title="Korean">&nbsp;ko&nbsp;</a> |
30<a href="/tr/stopping.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
31</div>
32<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
33            �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
34
35    <p>�� ������ ���н��� �ý��ۿ��� ����ġ�� �ߴ��ϰ� ������ϴ�
36    ������ ����ִ�. �������� NT, 2000, XP ����ڴ� <a href="platform/windows.html#winsvc">������ ����ġ
37    �����ϱ�</a>����, �������� 9x�� ME ����ڴ� <a href="platform/windows.html#wincons">�ݼ� ���α׷�����
38    ����ġ �����ϱ�</a>���� �÷��� ����ġ ���۹��� �� �� �ִ�.</p>
39</div>
40<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#introduction">�Ұ�</a></li>
41<li><img alt="" src="/images/down.gif" /> <a href="#term">���� �ߴ�</a></li>
42<li><img alt="" src="/images/down.gif" /> <a href="#graceful">������ �����</a></li>
43<li><img alt="" src="/images/down.gif" /> <a href="#hup">���� �����</a></li>
44<li><img alt="" src="/images/down.gif" /> <a href="#race">�η�: �ñ׳ΰ� ���̽� �����</a></li>
45</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><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
46<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
47<div class="section">
48<h2><a name="introduction" id="introduction">�Ұ�</a></h2>
49
50    <p>����ġ�� �ߴ��ϰ� ������Ϸ��� �����ϰ� �ִ�
51    <code>httpd</code> ���μ����� �ñ׳��� ������ �Ѵ�. �ñ׳���
52    ������ ����� �ΰ�����. �ϳ��� ���н� <code>kill</code>
53    ��ɾ ����Ͽ� ���μ����� ���� �ñ׳��� ������ ����̴�.
54    �ý��ۿ� ���� <code>httpd</code>�� ���������, <code class="directive"><a href="/mod/mpm_common.html#pidfile">PidFile</a></code>�� pid�� ��ϵ� �θ�ܿ�
55    �ٸ� ���μ����� �ñ׳�(signal)�� ������ �ȵȴ�. ��, �θ��̿ܿ�
56    �ٸ� ���μ����� �ñ׳��� ���� �ʿ䰡 ��ٴ� ���̴�. �θ���
57    ���� �� �ִ� �ñ׳��� ��������, ���� ������ <code><a href="#term">TERM</a></code>, <code><a href="#hup">HUP</a></code>, <code><a href="#graceful">USR1</a></code>�̴�.</p>
58
59    <p>������ ���� �θ��� �ñ׳��� ������:</p>
60
61<div class="example"><p><code>kill -TERM `cat /usr/local/apache2/logs/httpd.pid`</code></p></div>
62
63    <p><code>httpd</code> ���μ������� �ñ׳��� ������ �ٸ� �����
64    ����� �ɼ� <code>-k</code>�� ����ϴ� ���̴�. �Ʒ��� ������
65    <code>stop</code>, <code>restart</code>, <code>graceful</code>��
66    <a href="programs/httpd.html">httpd</a> ���������� �ƱԸ�Ʈ���̴�.
67    �׷��� �� �ƱԸ�Ʈ��� <code>httpd</code>�� �����ϴ�, <a href="programs/apachectl.html">apachectl</a> ��ũ��Ʈ��
68    ����ϱ� ���Ѵ�.</p>
69
70    <p><code>httpd</code>�� �ñ׳��� ������, ���� ��ɾ��
71    �����Ȳ�� �� �� �ִ�:</p>
72
73<div class="example"><p><code>tail -f /usr/local/apache2/logs/error_log</code></p></div>
74
75    <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>
76</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
77<div class="section">
78<h2><a name="term" id="term">���� �ߴ�</a></h2>
79
80<dl><dt>�ñ׳�: TERM</dt>
81<dd><code>apachectl -k stop</code></dd>
82</dl>
83
84    <p><code>TERM</code>�̳� <code>stop</code> �ñ׳��� �θ���
85    ������ ��� ��� �ڽ��� ���δ�. �ڽ��� ������ ���̴µ���
86    �� �ʰ� �ɸ� �� �ִ�. �׷��� �θ� �����Ѵ�. ó������ ��û��
87    �ߴܵǰ�, �� �̻� ��û�� �����ʴ´�.</p>
88</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
89<div class="section">
90<h2><a name="graceful" id="graceful">������ �����</a></h2>
91
92<dl><dt>�ñ׳�: USR1</dt>
93<dd><code>apachectl -k graceful</code></dd>
94</dl>
95
96    <p><code>USR1</code>�̳� <code>graceful</code> �ñ׳���
97    �θ��� ������ �θ� ���μ����� �ڽĵ鿡�� ���� ��û��
98    ó������ �����϶�� (Ȥ�� ���� �ƹ��͵� ó������ �ʴٸ�
99    ��� �����϶��) <em>�����Ѵ�</em>. �θ�� ����������
100    �ٽ��а� �α����ϵ� �ٽ� ����. �ڽ��� ���������� �θ��
101    ���� �ڽĴ�� ���ο� ���� <em>����</em>�� ������ �ڽ���
102    �����Ͽ� ��� ��û�� ó���ϰ� �Ѵ�.</p>
103
104    <div class="note">������ �����(graceful restart)���� <code>USR1</code>��
105    ����� �� ��� �÷����� ��� (<code>WINCH</code>�� ����)
106    �ٸ� �ñ׳��� ����� �� �ִ�. <code>apachectl graceful</code>��
107    �÷��� �˸��� �ñ׳��� ������.</div>
108
109    <p>������ ������� �׻� MPM�� ���μ��� ���� ���þ� ������
110    ����Ͽ�, ����۵��� Ŭ���̾�Ʈ�� �����ϴ� ���μ����� �����尡
111    ����� ���� �����ϵ��� ����Ǿ��. �Դٰ� <code class="directive"><a href="/mod/mpm_common.html#startservers">StartServers</a></code>��, ���� ��
112    �ּ��� StartServers��ŭ ���ο� �ڽ��� �ȸ�������� �ڽ���
113    StartServers ���� �ǵ��� ���� �����. ��, ���α׷��� ������
114    ���� ���Ͽ� �˸��� �ڽ��� ������ �����ϸ�,
115    <code class="directive">StartServers</code> �Ķ���ͷ� ������ �����
116    ��븦 �����Ѵ�.</p>
117
118    <p><code class="module"><a href="/mod/mod_status.html">mod_status</a></code> ����ڴ� <code>USR1</code>��
119    ������ ���� ��谡 0�� ���� <strong>������</strong> ����
120    ���̴�. ������ ���ο� ��û�� (�ü���� �̵��� ť�� ��Ƽ�
121    � ��쿡�� �Ҿ������ �ʴ´�) ó������ ���ϴ� �ð���
122    �ּ�ȭ�ϰ� ����� Ʃ�� �Ķ���͸� �����ϵ��� ���������.
123    �̸� ���� ���밣 ��� �ڽ��� ����ϴ� <em>scoreboard</em>��
124    �����Ѵ�.</p>
125
126    <p>status ����� ���� ������ ����� �� �����Ͽ� ������
127    ��û�� ó���ϰ� �ִ� �ڽ��� <code>G</code>�� �˷��ش�.</p>
128
129    <p>����δ� <code>USR1</code>�� ����ϴ� �α׼�ȯ ��ũ��Ʈ��
130    ������� ��� �ڽ��� �α��ۼ��� ���ƴ��� �� �� �ִ�
131    ����� ���. �츮�� <code>USR1</code> �ñ׳��� ������
132    ����� �ð��� ������ ���� �α׸� �ٷ絵�� �����Ѵ�. ����
133    ��� ���� �뿪�� ������� ��� ���� ��κ��� ��ġ�µ� 10����
134    �Ȱɸ��ٸ�, ���� �α׸� �ٷ���� 15�� ��ٸ���.</p>
135
136    <div class="note">�������Ͽ� ���� �ִٸ� ����۽� �θ�� ���������
137    �ʰ� ���� ���� �����Ѵ�. ��, ������ ������� ��� �����Ҷ�
138    �ڽ��� ����ǵ��� ���д�. (�ڽĵ��� �ڽ��� ������ ��û��
139    ó���ϰ� "���ݰ� �����Ѵ�".) �̴� ������ ������Ҷ�
140    ������ �ȴ�. ������ �ڽ��� ��ٸ� ��Ʈ�� �������� ���Ѵ�.
141    ������� <code>-t</code> ����� �ɼ�(<a href="programs/httpd.html">httpd</a> ���)���� ��������
142    ������ �˻��� �� �ִ�. �׷��� �̷� �˻絵 ������ �ùٷ�
143    ����������� �������� ���Ѵ�. ���������� ������ �ƴ� �ǹ̸�
144    �˻��Ϸ��� root�� �ƴ� ����ڷ� <code>httpd</code>�� �����غ� �� �ִ�.
145    root�� �ƴϱ⶧���� (�ƴϸ� ���� �� ��Ʈ�� ����ϴ�
146    <code>httpd</code>�� ����DZ⶧����) ���� ��ٸ� ���ϰ�
147    �α������� ������ �õ��ϴ� �������� ������ ���̴�. �ٸ�
148    ���������� �����Ѵٸ� �Ƹ��� �������Ͽ� ���� ���� ���̴�.
149    ������ ������� �ϱ��� ���� ���ľ��Ѵ�.</div>
150</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
151<div class="section">
152<h2><a name="hup" id="hup">���� �����</a></h2>
153
154<dl><dt>�ñ׳�: HUP</dt>
155<dd><code>apachectl -k restart</code></dd>
156</dl>
157
158    <p><code>HUP</code>�̳� <code>restart</code> �ñ׳���
159    �θ��� ������ <code>TERM</code>�� ���� ��� �ڽ���
160    �������� �θ�� �������� �ʴ´�. �θ�� ���������� �ٽ��а�
161    �α������� �ٽ� ����. �׸��� ���ο� �ڽĵ��� ����� ������
162    ����Ѵ�.</p>
163
164    <p><code class="module"><a href="/mod/mod_status.html">mod_status</a></code> ����ڴ� <code>HUP</code>��
165    ������ ���� ��谡 0�� ���� �� �� �ִ�.</p>
166
167<div class="note">�������Ͽ� ���� �ִٸ� ������� �ص� �θ�� ���������
168�ʰ� ���� ���� ������ ���̴�. �̸� ���ϴ� ����� ���� ����϶�.</div>
169</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
170<div class="section">
171<h2><a name="race" id="race">�η�: �ñ׳ΰ� ���̽� �����</a></h2>
172
173    <p>Apache 1.2b9 ����� ����۰� ���� �ñ׳ο� ����
174    <em>���̽� �����(race condition)</em>�� �־��. (���̽�
175    ������� ������ �������ڸ�, � ���� �߸�ȶ� �Ͼ��
176    ����Ѵ�� �������� �ʴ� �ð��� �ΰ��� ������.) "�ùٸ�"
177    ����� �ִ� ��Ű���Ŀ��� �츮�� �̷� ������ �ִ��� �ذ��ߴ�.
178    �׷��� � ��Ű���Ŀ��� ������ ���̽� ������� ��������
179    �����϶�.</p>
180
181    <p><code class="directive"><a href="/mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code>��
182    ��ũ�� �����ϴ� ��Ű���Ĵ� scoreboard�� ����Ʈ�� ���ɼ���
183    �ִ�. �׷��� (<code>HUP</code>��) "bind: Address already in use"
184    Ȥ�� (<code>USR1</code> ��) "long lost child came home!"��
185    �߻��� �� �ִ�. ���ڴ� �ɰ��� �����̰�, ���ڴ� ���� ������
186    scoreboard slot�� �Ұ� �����. �׷��� ���� ������� ���̰�
187    ������ ������� ����ϱ� ��õ�Ѵ�. �� ������ �ذ��ϱ� �ſ�
188    ����. �׷��� �������� ��κ��� ��Ű���Ĵ� scoreboard�� ������
189    ������� �ʴ´�. ������ ����ϴ� ��Ű���Ķ�� <code class="directive"><a href="/mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code> ������ ����϶�.</p>
190
191    <p>��� ��Ű���Ŀ��� ���ӵǴ� HTTP ���� (KeepAlive)����
192    �ι�° ���� ��û�� ó���ϴ� �ڽĿ� �ణ�� ���̽� �������
193    �ִ�. �ڽ��� ��û���� ���� �� ��û ����� �б��� ������ ��
194    �ִ�. �� ������ �ʹ� �ʰ� �߰��Ͽ� 1.2 ������ �����Ŀ���
195    �����Ǿ��. �׷��� ��Ʈ�� �����̳� ���� �ð����Ѷ����� KeepAlive
196    Ŭ���̾�Ʈ�� �̷� ��츦 �����ؾ��ϱ� ������ �̷л� ������
197    �ȵȴ�. ������ ������ �˻��ϱ����� ���ʿ� 20�� ������ϴ� ����
198    Ŭ���̾�Ʈ�� ���� �׸��̳� �� �������� ����Ʈ�� ����������
199    �о���̱� ������� �ʴ´ٸ� ������ �ȵȴ�.</p>
200</div></div>
201<div class="bottomlang">
202<p><span>������ ���: </span><a href="/de/stopping.html" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
203<a href="/en/stopping.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
204<a href="/es/stopping.html" hreflang="es" rel="alternate" title="Espa&#241;ol">&nbsp;es&nbsp;</a> |
205<a href="/fr/stopping.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
206<a href="/ja/stopping.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
207<a href="/ko/stopping.html" title="Korean">&nbsp;ko&nbsp;</a> |
208<a href="/tr/stopping.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
209</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">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;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>
210<script type="text/javascript"><!--//--><![CDATA[//><!--
211var comments_shortname = 'httpd';
212var comments_identifier = 'http://httpd.apache.org/docs/2.4/stopping.html';
213(function(w, d) {
214    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
215        d.write('<div id="comments_thread"><\/div>');
216        var s = d.createElement('script');
217        s.type = 'text/javascript';
218        s.async = true;
219        s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
220        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
221    }
222    else { 
223        d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
224    }
225})(window, document);
226//--><!]]></script></div><div id="footer">
227<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
228<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[//><!--
229if (typeof(prettyPrint) !== 'undefined') {
230    prettyPrint();
231}
232//--><!]]></script>
233</body></html>