blob: dad46146ba3277228ba080e019ce9e849154b3a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
<?xml version="1.0" encoding="EUC-JP"?>
<!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><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>worker - Apache HTTP ������</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>
<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 ������ ������� 2.3</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.3</a> > <a href="./">�⥸�塼��</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache MPM worker</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../de/mod/worker.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="../en/mod/worker.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/worker.html" title="Japanese"> ja </a></p>
</div>
<div class="outofdate">This translation may be out of date. Check the
English version for recent changes.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>�ޥ������åɤȥޥ���ץ������Υϥ��֥�åɷ�
�����֥����Ф���������ޥ���ץ����å��⥸�塼��</td></tr>
<tr><th><a href="module-dict.html#Status">���ơ�����:</a></th><td>MPM</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">�⥸�塼�뼱�̻�:</a></th><td>mpm_worker_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">�������ե�����:</a></th><td>worker.c</td></tr></table>
<h3>����</h3>
<p>���Υޥ���ץ����å��⥸�塼�� (MPM)
�ϡ��ޥ������åɤȥޥ���ץ������Υϥ��֥�åɷ������Ф�
�������Ƥ��ޤ����ꥯ�����Ȥα����˥���åɤ�Ȥ��ȡ�
�ץ������١����Υ����Ф��⾯�ʤ������ƥ�ǡ�
¿���Υꥯ�����Ȥ˱������뤳�Ȥ��Ǥ��ޤ���
����ˡ�¿���Υ���åɤ���ä�ʣ���Υץ�������ݻ����뤳�Ȥǡ�
�ץ������١����Υ����Фλ��İ��������ݻ����Ƥ��ޤ���</p>
<p>���� MPM �����椹��Τ˻Ȥ���Ǥ���פʥǥ��쥯�ƥ��֤ϡ�
<code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> ��
<code class="directive"><a href="../mod/mpm_common.html#maxclients">MaxClients</a></code> �Ǥ���
<code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> ��
�ƻҥץ��������Ѱդ���륹��åɿ������椷�ơ�
<code class="directive"><a href="../mod/mpm_common.html#maxclients">MaxClients</a></code> ��
��ư����륹��åɤ������κ����ͤ����¤��ޤ���</p>
</div>
<div id="quickview"><h3 class="directives">�ǥ��쥯�ƥ���</h3>
<ul id="toc">
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#acceptmutex">AcceptMutex</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#coredumpdirectory">CoreDumpDirectory</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#enableexceptionhook">EnableExceptionHook</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#group">Group</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#listen">Listen</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#listenbacklog">ListenBacklog</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#lockfile">LockFile</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#maxclients">MaxClients</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#maxmemfree">MaxMemFree</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#maxsparethreads">MaxSpareThreads</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#minsparethreads">MinSpareThreads</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#pidfile">PidFile</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#scoreboardfile">ScoreBoardFile</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#sendbuffersize">SendBufferSize</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#serverlimit">ServerLimit</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#startservers">StartServers</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#threadlimit">ThreadLimit</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#threadsperchild">ThreadsPerChild</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#threadstacksize">ThreadStackSize</a></li>
<li><img alt="" src="../images/right.gif" /> <a href="mpm_common.html#user">User</a></li>
</ul>
<h3>�ȥԥå�</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#how-it-works">ư����ˡ</a></li>
</ul><h3>����</h3>
<ul class="seealso">
<li><a href="../bind.html">Apache
�λ��Ѥ��륢�ɥ쥹�ȥݡ��Ȥ�����</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="how-it-works" id="how-it-works">ư����ˡ</a></h2>
<p>��Ĥ������ѥץ����� (��) ���ҥץ�������ư���ޤ���
�ҥץ�������
<code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code>
�ǥ��쥯�ƥ��֤ǻ��ꤵ�줿������Υ����Х���åɤ���³��
listen ���륹��åɤ��ĺ��ޤ���
Listener ����åɤ���³���褿�Ȥ��˥����Хץ��������Ϥ��ޤ���</p>
<p>Apache ��<dfn>���ڥ���</dfn>���Ĥޤꥢ���ɥ�ʥ����Х���åɤ�
�ס�����˰ݻ����Ƥ��ơ����������äƤ���ꥯ�����Ȥ�
��������褦���Ե����Ƥ��ޤ���
���Τ褦�ˤ��ơ����饤����Ȥϥꥯ�����Ȥα�����������褦�ˤʤ뤿���
����������åɤ�ץ����������������Τ�
�Ԥ��ʤ��Ƥ�褤�褦�ˤʤäƤ��ޤ���
��ư������Υץ����������ϡ�
<code class="directive"><a href="../mod/mpm_common.html#startservers">StartServers</a></code>
�ǥ��쥯�ƥ��֤����ꤵ��ޤ������θ�β�Ư��ˡ�
Apache �����ץ������Υ����ɥ륹��åɤι�����Ѥ�äơ�
<code class="directive"><a href="../mod/mpm_common.html#minsparethreads">MinSpareThreads</a></code> ��
<code class="directive"><a href="../mod/mpm_common.html#maxsparethreads">MaxSpareThreads</a></code>
�ǻ��ꤵ�줿�ϰϤ���ˤ��ο������ޤ�褦�� fork ������
kill �����ꤷ�ޤ��������������˼�ΧŪ�ʤΤǡ�
�����Υǥ��쥯�ƥ��֤�ǥե�����ͤ����ѹ�����ɬ�פ�
��ä��ˤʤ��Ǥ��礦��
Ʊ���˱������뤳�ȤΤǤ��륯�饤����ȿ��κ����
(�Ĥޤ����ץ��������������åɿ��κ�����) ��
<code class="directive"><a href="../mod/mpm_common.html#maxclients">MaxClients</a></code>
�ǥ��쥯�ƥ��֤Ƿ��ꤵ��ޤ���
��ư��λҥץ��������κ����ͤ�
<code class="directive"><a href="../mod/mpm_common.html#maxclients">MaxClients</a></code> ��
<code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> �dz�ä�
��Τˤʤ�ޤ���</p>
<p>��ư��λҥץ������ο��Ȼҥץ�������Υ����Х���åɤο��αۤ����ʤ�
��¤����ꤹ��ǥ��쥯�ƥ��֤���Ĥ���ޤ��������ϥ����Ф�
��������ߤ��ơ��Ƶ�ư���뤳�ȤǤ����ѹ����뤳�ȤϤǤ��ޤ���
<code class="directive"><a href="../mod/mpm_common.html#serverlimit ">ServerLimit
</a></code> �ϳ�ư��λҥץ������αۤ����ʤ���¤����ꤷ��
<code class="directive"><a href="../mod/mpm_common.html#maxclients">MaxClients</a></code> �ǥ��쥯�ƥ���
���ͤ� <code class="directive"><a href="../mod/mpm_common.html# threadsperchild">
ThreadsPerChild</a></code> ���ͤdz�ä��Ͱʾ�Ǥ���
ɬ�פ�����ޤ���<code class="directive"><a href="../mod/mpm_common.html#threadlimit">ThreadLimit</a></code> ��
�����Х���åɤαۤ����ʤ���¤ǡ�<code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> �ǥ��쥯�ƥ��֤�
�Ͱʾ�Ǥ���ɬ�פ�����ޤ����ǥե���Ȱʳ����ͤ���ꤹ�����
¾�� <code class="module"><a href="../mod/worker.html">worker</a></code> �ǥ��쥯�ƥ��֤������˽�Ƥ���
ɬ�פ�����ޤ���</p>
<p>��ư��λҥץ��������˲ä��ơ����ʤ��Ȥ��ĤΥ����Х���åɤ�
��¸�Υ��饤����Ȥ������³�äƤ��뽪λ���褦�Ȥ��Ƥ���
�ҥץ������������ǽ��������ޤ�����λ��Υץ������� <code class="directive"><a href="../mod/mpm_common.html#maxclients">MaxClients</a></code> �ǻ��ꤵ�줿���ޤ�
¸�ߤǤ��ޤ������ºݤ˴��Ԥ������Ϥ��äȾ��ʤ��ʤ�ޤ�������
���ϳƻҥץ�������λ�����ʤ��褦�ˤ��뤳�ȤDz���Ǥ��ޤ���
����ϰʲ����ͤˤ��Ƽ¸��Ǥ��ޤ���</p>
<ul>
<li><code class="directive"><a href="../mod/mpm_common.html# maxrequestsperchild">
MaxRequestsPerChild</a></code> ���ͤ� 0 �����ꤹ��</li>
<li><code class="directive"><a href="../mod/mpm_common.html# maxsparethreads">
MaxSpareThreads</a></code> ���ͤ�
<code class="directive"><a href="../mod/mpm_common.html#maxclients">MaxClients</a></code>
��Ʊ���ͤˤ���</li>
</ul>
<p><code class="module"><a href="../mod/worker.html">worker</a></code> MPM ��ŵ��Ū�ʥץ�����������å������
����Ǥϡ����Τ褦�ˤʤ�ޤ���</p>
<div class="example"><p><code>
ServerLimit 16<br />
StartServers 2<br />
MaxClients 150<br />
MinSpareThreads 25<br />
MaxSpareThreads 75<br />
ThreadsPerChild 25
</code></p></div>
<p>�̾� Unix �ǤϿƥץ������� 80 �֥ݡ��Ȥ˥Х���ɤ��뤿���
<code>root</code> �ǵ�ư����ޤ������ҥץ������䥹��åɤ�
��ä��㤤���¤Υ桼���� Apache �ˤ�äƵ�ư����ޤ���
<code class="directive"><a href="../mod/mpm_common.html#user">User</a></code> ��
<code class="directive"><a href="../mod/mpm_common.html#group">Group</a></code> �ǥ��쥯�ƥ��֤�
Apache �λҥץ������θ��¤����ꤹ��Τ��Ѥ����ޤ���
�ҥץ������ϥ��饤����Ȥ����륳��ƥ�����Ƥ��ɤ�ʤ��Ȥ����ޤ���
��ǽ�ʸ¤�ɬ�Ǿ��¤θ��¤Τߤ���äƤ���褦�ˤ���٤��Ǥ���
����ˡ�<code class="program"><a href="../programs/suexec.html">suexec</a></code>
�����Ѥ���Ƥ��ʤ��¤ꡢ�����Υǥ��쥯�ƥ��֤�
CGI ������ץȤǷѾ�����븢�¤����ꤷ�ޤ���</p>
<p><code class="directive"><a href="../mod/mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></code>
�ϡ��Ť��ץ���������ߤ��ƿ������ץ�������ư���뤳�Ȥˤ�äơ�
�ɤ����٤����٤ǥ����Ф��ץ�������ꥵ�����뤹�뤫�����椷�ޤ���</p>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../de/mod/worker.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="../en/mod/worker.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/worker.html" title="Japanese"> ja </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 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>
|