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