]> granicus.if.org Git - apache/blob - docs/manual/mod/worker.xml.ja
update license header text
[apache] / docs / manual / mod / worker.xml.ja
1 <?xml version="1.0" encoding="iso-2022-jp"?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
4 <!-- English Revision: 151408:395228 (outdated) -->
5
6 <!--
7  Licensed to the Apache Software Foundation (ASF) under one or more
8  contributor license agreements.  See the NOTICE file distributed with
9  this work for additional information regarding copyright ownership.
10  The ASF licenses this file to You under the Apache License, Version 2.0
11  (the "License"); you may not use this file except in compliance with
12  the License.  You may obtain a copy of the License at
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
16  Unless required by applicable law or agreed to in writing, software
17  distributed under the License is distributed on an "AS IS" BASIS,
18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  See the License for the specific language governing permissions and
20  limitations under the License.
21 -->
22
23 <modulesynopsis metafile="worker.xml.meta">
24
25 <name>worker</name>
26 <description>\e$B%^%k%A%9%l%C%I$H%^%k%A%W%m%;%9$N%O%$%V%j%C%I7?\e(B
27 \e$B%&%'%V%5!<%P$r<BAu$7$?%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B</description>
28 <status>MPM</status>
29 <sourcefile>worker.c</sourcefile>
30 <identifier>mpm_worker_module</identifier>
31
32 <summary>
33     <p>\e$B$3$N%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B (MPM) 
34     \e$B$O!"%^%k%A%9%l%C%I$H%^%k%A%W%m%;%9$N%O%$%V%j%C%I7?%5!<%P$r\e(B
35     \e$B<BAu$7$F$$$^$9!#%j%/%(%9%H$N1~Ez$K%9%l%C%I$r;H$&$H!"\e(B
36     \e$B%W%m%;%9%Y!<%9$N%5!<%P$h$j$b>/$J$$%7%9%F%`;q8;$G!"\e(B
37     \e$BB?$/$N%j%/%(%9%H$K1~Ez$9$k$3$H$,$G$-$^$9!#\e(B
38     \e$B$5$i$K!"B?$/$N%9%l%C%I$r;}$C$?J#?t$N%W%m%;%9$r0];}$9$k$3$H$G!"\e(B
39     \e$B%W%m%;%9%Y!<%9$N%5!<%P$N;}$D0BDj@-$rJ];}$7$F$$$^$9!#\e(B</p>
40
41     <p>\e$B$3$N\e(B MPM \e$B$r@)8f$9$k$N$K;H$o$l$k:G$b=EMW$J%G%#%l%/%F%#%V$O!"\e(B
42     <directive module="mpm_common">ThreadsPerChild</directive> \e$B$H\e(B
43     <directive module="mpm_common">MaxClients</directive> \e$B$G$9!#\e(B
44     <directive module="mpm_common">ThreadsPerChild</directive> \e$B$O\e(B
45     \e$B3F;R%W%m%;%9$GMQ0U$5$l$k%9%l%C%I?t$r@)8f$7$F!"\e(B
46     <directive module="mpm_common">MaxClients</directive> \e$B$O\e(B
47     \e$B5/F0$5$l$k%9%l%C%I$NAm?t$N:GBgCM$r@)8B$7$^$9!#\e(B</p>
48 </summary>
49 <seealso><a href="../bind.html">Apache 
50 \e$B$N;HMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj\e(B</a></seealso>
51
52 <section id="how-it-works"><title>\e$BF0:nJ}K!\e(B</title>
53     <p>\e$B0l$D$N@)8fMQ%W%m%;%9\e(B (\e$B?F\e(B) \e$B$,;R%W%m%;%9$r5/F0$7$^$9!#\e(B
54     \e$B;R%W%m%;%9$O\e(B
55     <directive module="mpm_common">ThreadsPerChild</directive>
56     \e$B%G%#%l%/%F%#%V$G;XDj$5$l$?0lDj?t$N%5!<%P%9%l%C%I$H@\B3$r\e(B
57     listen \e$B$9$k%9%l%C%I$r0l$D:n$j$^$9!#\e(B
58     Listener \e$B%9%l%C%I$O@\B3$,Mh$?$H$-$K%5!<%P%W%m%;%9$KEO$7$^$9!#\e(B</p>
59
60     <p>Apache \e$B$O\e(B<dfn>\e$B%9%Z%"$N\e(B</dfn>\e$B!"$D$^$j%"%$%I%k$J%5!<%P%9%l%C%I$N\e(B
61     \e$B%W!<%k$r>o$K0];}$7$F$$$F!"$=$l$i$OF~$C$F$/$k%j%/%(%9%H$K\e(B
62     \e$BEz$($i$l$k$h$&$KBT5!$7$F$$$^$9!#\e(B
63     \e$B$3$N$h$&$K$7$F!"%/%i%$%"%s%H$O%j%/%(%9%H$N1~Ez$,F@$i$l$k$h$&$K$J$k$?$a$K\e(B
64     \e$B?7$7$$%9%l%C%I$d%W%m%;%9$,@8@.$5$l$k$N$r\e(B
65     \e$BBT$?$J$/$F$b$h$$$h$&$K$J$C$F$$$^$9!#\e(B
66     \e$B5/F0=i4|;~$N%W%m%;%9Am?t$O!"\e(B
67     <directive module="mpm_common">StartServers</directive>
68     \e$B%G%#%l%/%F%#%V$G@_Dj$5$l$^$9!#$=$N8e$N2TF/Cf$K!"\e(B
69     Apache \e$B$OA4%W%m%;%9$N%"%$%I%k%9%l%C%I$N9g7W?t$r8+@Q$b$C$F!"\e(B
70     <directive module="mpm_common">MinSpareThreads</directive> \e$B$H\e(B
71     <directive module="mpm_common">MaxSpareThreads</directive>
72     \e$B$G;XDj$5$l$?HO0O$NCf$K$3$N?t$,<}$^$k$h$&$K\e(B fork \e$B$7$?$j\e(B
73     kill \e$B$7$?$j$7$^$9!#$3$NA`:n$OHs>o$K<+N'E*$J$N$G!"\e(B
74     \e$B$3$l$i$N%G%#%l%/%F%#%V$r%G%U%)%k%HCM$+$iJQ99$9$kI,MW$O\e(B
75     \e$B$a$C$?$K$J$$$G$7$g$&!#\e(B
76     \e$BF1;~$K1~Ez$9$k$3$H$N$G$-$k%/%i%$%"%s%H?t$N:GBg?t\e(B
77     (\e$B$D$^$jA4%W%m%;%9Cf$NAm%9%l%C%I?t$N:GBgCM\e(B) \e$B$O\e(B
78     <directive module="mpm_common">MaxClients</directive>
79     \e$B%G%#%l%/%F%#%V$G7hDj$5$l$^$9!#\e(B
80     \e$B3hF0Cf$N;R%W%m%;%9?t$N:GBgCM$O\e(B
81     <directive module="mpm_common">MaxClients</directive> \e$B$r\e(B
82     <directive module="mpm_common">ThreadsPerChild</directive> \e$B$G3d$C$?\e(B
83     \e$B$b$N$K$J$j$^$9!#\e(B</p>
84     
85     <p>\e$B3hF0Cf$N;R%W%m%;%9$N?t$H;R%W%m%;%9Cf$N%5!<%P%9%l%C%I$N?t$N1[$($i$l$J$$\e(B
86     \e$B>e8B$r@_Dj$9$k%G%#%l%/%F%#%V$,Fs$D$"$j$^$9!#$3$l$i$O%5!<%P$r\e(B
87     \e$B40A4$KDd;_$7$F!":F5/F0$9$k$3$H$G$7$+JQ99$9$k$3$H$O$G$-$^$;$s!#\e(B
88     <directive module="mpm_common">ServerLimit
89     </directive> \e$B$O3hF0Cf$N;R%W%m%;%9$N1[$($i$l$J$$>e8B$r@_Dj$7!"\e(B
90     <directive module="mpm_common">MaxClients</directive> \e$B%G%#%l%/%F%#%V\e(B
91     \e$B$NCM$r\e(B <directive module="mpm_common">
92     ThreadsPerChild</directive> \e$B$NCM$G3d$C$?CM0J>e$G$"$k\e(B
93     \e$BI,MW$,$"$j$^$9!#\e(B<directive module="mpm_common">ThreadLimit</directive> \e$B$O\e(B
94     \e$B%5!<%P%9%l%C%I$N1[$($i$l$J$$>e8B$G!"\e(B<directive 
95     module="mpm_common">ThreadsPerChild</directive> \e$B%G%#%l%/%F%#%V$N\e(B
96     \e$BCM0J>e$G$"$kI,MW$,$"$j$^$9!#%G%U%)%k%H0J30$NCM$r;XDj$9$k>l9g$O\e(B
97     \e$BB>$N\e(B <module>worker</module> \e$B%G%#%l%/%F%#%V$h$j$bA0$K=q$+$l$F$$$k\e(B
98     \e$BI,MW$,$"$j$^$9!#\e(B</p>
99
100     <p>\e$B3hF0Cf$N;R%W%m%;%972$K2C$($F!">/$J$/$H$b0l$D$N%5!<%P%9%l%C%I$,\e(B
101     \e$B4{B8$N%/%i%$%"%s%H$+$i$N@\B3$r07$C$F$$$k=*N;$7$h$&$H$7$F$$$k\e(B
102     \e$B;R%W%m%;%9$,$"$k2DG=@-$,$"$j$^$9!#=*N;Cf$N%W%m%;%9$O\e(B <directive 
103     module="mpm_common">MaxClients</directive> \e$B$G;XDj$5$l$??t$^$G\e(B
104     \e$BB8:_$G$-$^$9$,!"<B:]$K4|BT$5$l$k?t$O$:$C$H>/$J$/$J$j$^$9!#$3$N\e(B
105     \e$B?6Iq$$$O3F;R%W%m%;%9$r=*N;$5$;$J$$$h$&$K$9$k$3$H$G2sHr$G$-$^$9!#\e(B
106     \e$B$3$l$O0J2<$NMM$K$7$F<B8=$G$-$^$9!#\e(B</p>
107      
108     <ul>
109       <li><directive module="mpm_common">
110       MaxRequestsPerChild</directive> \e$B$NCM$r\e(B 0 \e$B$K@_Dj$9$k\e(B</li>
111
112       <li><directive module="mpm_common">
113       MaxSpareThreads</directive> \e$B$NCM$r\e(B
114       <directive module="mpm_common">MaxClients</directive>
115       \e$B$HF1$8CM$K$9$k\e(B</li>
116     </ul>
117
118     <p><module>worker</module> MPM \e$B$NE57?E*$J%W%m%;%9!&%9%l%C%I@)8f$N\e(B
119     \e$B@_Dj$G$O!"<!$N$h$&$K$J$j$^$9!#\e(B</p>
120
121     <example>
122       ServerLimit         16<br />
123       StartServers         2<br />
124       MaxClients         150<br />
125       MinSpareThreads     25<br />
126       MaxSpareThreads     75<br />
127       ThreadsPerChild     25
128     </example>
129
130     <p>\e$BDL>o\e(B Unix \e$B$G$O?F%W%m%;%9$O\e(B 80 \e$BHV%]!<%H$K%P%$%s%I$9$k$?$a$K\e(B
131     <code>root</code> \e$B$G5/F0$5$l$^$9$,!";R%W%m%;%9$d%9%l%C%I$O\e(B
132     \e$B$b$C$HDc$$8"8B$N%f!<%6$G\e(B Apache \e$B$K$h$C$F5/F0$5$l$^$9!#\e(B
133     <directive module="mpm_common">User</directive> \e$B$H\e(B
134     <directive module="mpm_common">Group</directive> \e$B%G%#%l%/%F%#%V$O\e(B
135     Apache \e$B$N;R%W%m%;%9$N8"8B$r@_Dj$9$k$N$KMQ$$$i$l$^$9!#\e(B
136     \e$B;R%W%m%;%9$O%/%i%$%"%s%H$KAw$k%3%s%F%s%DA4$F$rFI$a$J$$$H$$$1$^$;$s$,!"\e(B
137     \e$B2DG=$J8B$jI,MW:G>.8B$N8"8B$N$_$r;}$C$F$$$k$h$&$K$9$k$Y$-$G$9!#\e(B
138     \e$B$5$i$K!"\e(B<program>suexec</program>
139     \e$B$,;HMQ$5$l$F$$$J$$8B$j!"$3$l$i$N%G%#%l%/%F%#%V$O\e(B
140     CGI \e$B%9%/%j%W%H$G7Q>5$5$l$k8"8B$b@_Dj$7$^$9!#\e(B</p>
141
142     <p><directive module="mpm_common">MaxRequestsPerChild</directive>
143     \e$B$O!"8E$$%W%m%;%9$rDd;_$7$F?7$7$$%W%m%;%9$r5/F0$9$k$3$H$K$h$C$F!"\e(B
144     \e$B$I$NDxEY$NIQEY$G%5!<%P$,%W%m%;%9$r%j%5%$%/%k$9$k$+$r@)8f$7$^$9!#\e(B</p>
145 </section>
146
147 <directivesynopsis location="mpm_common"><name>AcceptMutex</name>
148 </directivesynopsis>
149 <directivesynopsis location="mpm_common"><name>CoreDumpDirectory</name>
150 </directivesynopsis>
151 <directivesynopsis location="mpm_common"><name>EnableExceptionHook</name>
152 </directivesynopsis>
153 <directivesynopsis location="mpm_common"><name>Group</name>
154 </directivesynopsis>
155 <directivesynopsis location="mpm_common"><name>PidFile</name>
156 </directivesynopsis>
157 <directivesynopsis location="mpm_common"><name>Listen</name>
158 </directivesynopsis>
159 <directivesynopsis location="mpm_common"><name>ListenBacklog</name>
160 </directivesynopsis>
161 <directivesynopsis location="mpm_common"><name>LockFile</name>
162 </directivesynopsis>
163 <directivesynopsis location="mpm_common"><name>MaxClients</name>
164 </directivesynopsis>
165 <directivesynopsis location="mpm_common"><name>MaxMemFree</name>
166 </directivesynopsis>
167 <directivesynopsis location="mpm_common"><name>MaxRequestsPerChild</name>
168 </directivesynopsis>
169 <directivesynopsis location="mpm_common"><name>MaxSpareThreads</name>
170 </directivesynopsis>
171 <directivesynopsis location="mpm_common"><name>MinSpareThreads</name>
172 </directivesynopsis>
173 <directivesynopsis location="mpm_common"><name>ScoreBoardFile</name>
174 </directivesynopsis>
175 <directivesynopsis location="mpm_common"><name>SendBufferSize</name>
176 </directivesynopsis>
177 <directivesynopsis location="mpm_common"><name>ServerLimit</name>
178 </directivesynopsis>
179 <directivesynopsis location="mpm_common"><name>StartServers</name>
180 </directivesynopsis>
181 <directivesynopsis location="mpm_common"><name>ThreadLimit</name>
182 </directivesynopsis>
183 <directivesynopsis location="mpm_common"><name>ThreadsPerChild</name>
184 </directivesynopsis>
185 <directivesynopsis location="mpm_common"><name>ThreadStackSize</name>
186 </directivesynopsis>
187 <directivesynopsis location="mpm_common"><name>User</name>
188 </directivesynopsis>
189
190 </modulesynopsis>