stopping.html.ko.euc-kr revision 35714556a25fceb7c9bf9c4e01791b2e2a4c27c3
<?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>�ߴܰ� ����� - 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"><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.1</p>
<img alt="" src="/images/feather.gif" /></div>
<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
<div id="path">
<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-project/">Documentation</a> &gt; <a href="./">Version 2.1</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">&nbsp;de&nbsp;</a> |
<a href="/en/stopping.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/ja/stopping.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="/ko/stopping.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<p>�� ������ ���н��� �ý��ۿ��� ����ġ�� �ߴ��ϰ� ������ϴ�
������ ����ִ�. �������� NT, 2000, XP ����ڴ� <a href="platform/windows.html#winsvc">���񽺷� ����ġ
�����ϱ�</a>����, �������� 9x�� ME ����ڴ� <a href="platform/windows.html#wincons">�ݼ� ���α׷�����
����ġ �����ϱ�</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">�η�: �ñ׳ΰ� ���̽� �����</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>����ġ�� �ߴ��ϰ� ������Ϸ��� �����ϰ� �ִ�
<code>httpd</code> ���μ����� �ñ׳��� ������ �Ѵ�. �ñ׳���
������ ����� �ΰ�����. �ϳ��� ���н� <code>kill</code>
��ɾ ����Ͽ� ���μ����� ���� �ñ׳��� ������ ����̴�.
�ý��ۿ� ���� <code>httpd</code>�� ���������, <code class="directive"><a href="/mod/mpm_common.html#pidfile">PidFile</a></code>�� pid�� ��ϵ� �θ�ܿ�
�ٸ� ���μ����� �ñ׳�(signal)�� ������ �ȵȴ�. ��, �θ��̿ܿ�
�ٸ� ���μ����� �ñ׳��� ���� �ʿ䰡 ��ٴ� ���̴�. �θ𿡰�
���� �� �ִ� �ñ׳��� ��������, ���� ������ <code><a href="#term">TERM</a></code>, <code><a href="#hup">HUP</a></code>, <code><a href="#graceful">USR1</a></code>�̴�.</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> ���������� �ƱԸ�Ʈ���̴�.
�׷��� �� �ƱԸ�Ʈ��� <code>httpd</code>�� �����ϴ�, <a href="programs/apachectl.html">apachectl</a> ��ũ��Ʈ��
����ϱ� ���Ѵ�.</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> ������ �˸°� �����϶�.</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>. �θ�� ����������
�ٽ��а� �α����ϵ� �ٽ� ����. �ڽ��� ���������� �θ��
���� �ڽĴ�� ���ο� ���� <em>����</em>�� ������ �ڽ���
�����Ͽ� ��� ��û�� ó���ϰ� �Ѵ�.</p>
<div class="note">������ �����(graceful restart)���� <code>USR1</code>��
����� �� ��� �÷����� ��� (<code>WINCH</code>�� ����)
�ٸ� �ñ׳��� ����� �� �ִ�. <code>apachectl graceful</code>��
�÷��� �˸��� �ñ׳��� ������.</div>
<p>������ ������� �׻� MPM�� ���μ��� ���� ���þ� ������
����Ͽ�, ����۵��� Ŭ���̾�Ʈ�� �����ϴ� ���μ����� �����尡
����� ���� �����ϵ��� ����Ǿ��. �Դٰ� <code class="directive"><a href="/mod/mpm_common.html#startservers">StartServers</a></code>��, ���� ��
�ּ��� StartServers��ŭ ���ο� �ڽ��� �ȸ�������� �ڽ���
StartServers ���� �ǵ��� ���� �����. ��, ���α׷��� ������
���� ���Ͽ� �˸��� �ڽ��� ������ �����ϸ�,
<code class="directive">StartServers</code> �Ķ���ͷ� ������ �����
��븦 �����Ѵ�.</p>
<p><code class="module"><a href="/mod/mod_status.html">mod_status</a></code> ����ڴ� <code>USR1</code>��
������ ���� ��谡 0�� ���� <strong>������</strong> ����
���̴�. ������ ���ο� ��û�� (�ü���� �̵��� ť�� ��Ƽ�
� ��쿡�� �Ҿ������ �ʴ´�) ó������ ���ϴ� �ð���
�ּ�ȭ�ϰ� ����� Ʃ�� �Ķ���͸� �����ϵ��� ���������.
�̸� ���� ���밣 ��� �ڽ��� ����ϴ� <em>scoreboard</em>��
�����Ѵ�.</p>
<p>status ����� ���� ������ ����� �� �����Ͽ� ������
��û�� ó���ϰ� �ִ� �ڽ��� <code>G</code>�� �˷��ش�.</p>
<p>����δ� <code>USR1</code>�� ����ϴ� �α׼�ȯ ��ũ��Ʈ��
������� ��� �ڽ��� �α��ۼ��� ���ƴ��� �� �� �ִ�
����� ���. �츮�� <code>USR1</code> �ñ׳��� ������
����� �ð��� ������ ���� �α׸� �ٷ絵�� �����Ѵ�. ����
��� ���� �뿪�� ������� ��� ���� ��κ��� ��ġ�µ� 10����
�Ȱɸ��ٸ�, ���� �α׸� �ٷ���� 15�� ��ٸ���.</p>
<div class="note">�������Ͽ� ���� �ִٸ� ����۽� �θ�� ���������
�ʰ� ���� ���� �����Ѵ�. ��, ������ ������� ��� �����Ҷ�
�ڽ��� ����ǵ��� ���д�. (�ڽĵ��� �ڽ��� ������ ��û��
ó���ϰ� "���ݰ� �����Ѵ�".) �̴� ������ ������Ҷ�
������ �ȴ�. ������ �ڽ��� ��ٸ� ��Ʈ�� �������� ���Ѵ�.
������� <code>-t</code> ����� �ɼ�(<a href="programs/httpd.html">httpd</a> ���)���� ��������
������ �˻��� �� �ִ�. �׷��� �̷� �˻絵 ������ �ùٷ�
����������� �������� ���Ѵ�. ���������� ������ �ƴ� �ǹ̸�
�˻��Ϸ��� root�� �ƴ� ����ڷ� <code>httpd</code>�� �����غ� �� �ִ�.
root�� �ƴϱ⶧���� (�ƴϸ� ���� �� ��Ʈ�� ����ϴ�
<code>httpd</code>�� ����DZ⶧����) ���� ��ٸ� ���ϰ�
�α������� ������ �õ��ϴ� �������� ������ ���̴�. �ٸ�
���������� �����Ѵٸ� �Ƹ��� �������Ͽ� ���� ���� ���̴�.
������ ������� �ϱ��� ���� ���ľ��Ѵ�.</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>�� ���� ��� �ڽ���
�������� �θ�� �������� �ʴ´�. �θ�� ���������� �ٽ��а�
�α������� �ٽ� ����. �׸��� ���ο� �ڽĵ��� ����� ���񽺸�
����Ѵ�.</p>
<p><code class="module"><a href="/mod/mod_status.html">mod_status</a></code> ����ڴ� <code>HUP</code>��
������ ���� ��谡 0�� ���� �� �� �ִ�.</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">�η�: �ñ׳ΰ� ���̽� �����</a></h2>
<p>Apache 1.2b9 ����� ����۰� ���� �ñ׳ο� ����
<em>���̽� �����(race condition)</em>�� �־��. (���̽�
������� ������ �������ڸ�, � ���� �߸�ȶ� �Ͼ��
����Ѵ�� �������� �ʴ� �ð��� �ΰ��� ������.) "�ùٸ�"
����� �ִ� ��Ű���Ŀ��� �츮�� �̷� ������ �ִ��� �ذ��ߴ�.
�׷��� � ��Ű���Ŀ��� ������ ���̽� ������� ��������
�����϶�.</p>
<p><code class="directive"><a href="/mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code>��
��ũ�� �����ϴ� ��Ű���Ĵ� scoreboard�� ����Ʈ�� ���ɼ���
�ִ�. �׷��� (<code>HUP</code>��) "bind: Address already in use"
Ȥ�� (<code>USR1</code> ��) "long lost child came home!"��
�߻��� �� �ִ�. ���ڴ� �ɰ��� �����̰�, ���ڴ� ���� ������
scoreboard slot�� �Ұ� �����. �׷��� ���� ������� ���̰�
������ ������� ����ϱ� ��õ�Ѵ�. �� ������ �ذ��ϱ� �ſ�
����. �׷��� �������� ��κ��� ��Ű���Ĵ� scoreboard�� ������
������� �ʴ´�. ������ ����ϴ� ��Ű���Ķ�� <code class="directive"><a href="/mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code> ������ ����϶�.</p>
<p>��� ��Ű���Ŀ��� ���ӵǴ� 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">&nbsp;de&nbsp;</a> |
<a href="/en/stopping.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/ja/stopping.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="/ko/stopping.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div><div id="footer">
<p class="apache">Copyright 1999-2004 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>
<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>