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
|
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
<!-- English Revision: 1.9 -->
<!--
Copyright 2003-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manualpage metafile="mpm.xml.meta">
<title>´ÙÁßó¸® ¸ðµâ (MPM)</title>
<summary>
<p>ÀÌ ¹®¼´Â ´ÙÁßó¸® ¸ðµâ (Multi-Processing Module)ÀÌ ¹«¾ùÀ̸ç,
¾ÆÆÄÄ¡ À¥¼¹ö°¡ À̸¦ ¾î¶»°Ô »ç¿ëÇÏ´ÂÁö ¼³¸íÇÑ´Ù.</p>
</summary>
<section id="introduction"><title>¼Ò°³</title>
<p>¾ÆÆÄÄ¡ À¥¼¹ö´Â ´Ù¾çÇÑ È¯°æÀÇ ´Ù¾çÇÑ Ç÷¡Æû¿¡¼ µ¿ÀÛÇÒ
¼ö ÀÖµµ·Ï °·ÂÇÏ°í À¯¿¬ÇÏ°Ô ¼³°èµÇ¾ú´Ù. ´Ù¸¥ Ç÷¡Æû°ú ´Ù¸¥
ȯ°æÀº º¸Åë ´Ù¸¥ ±â´ÉÀ» ¿ä±¸Çϸç, ¾î¶² ±â´ÉÀ» °¡Àå È¿À²ÀûÀ¸·Î
±¸ÇöÇÏ´Â ¹æ¹ýÀÌ ´Ù¸¦ ¼ö ÀÖ´Ù. ¾ÆÆÄÄ¡´Â ¸ðµâÈµÈ ¼³°è·Î ÀÌ·±
´Ù¾çÇÑ È¯°æ¿¡ Ç×»ó ÀûÀÀÇØ¿Ô´Ù. ±×·¡¼ À¥¸¶½ºÅÍ´Â ÄÄÆÄÀϽÃ
ȤÀº ½ÇÇà½Ã ¾î¶² ¸ðµâÀ» ÀоîµéÀÏÁö ¼±ÅÃÇÏ¿© ¼¹ö¿¡ Æ÷ÇÔÇÒ
±â´ÉÀ» °áÁ¤ÇÒ ¼ö ÀÖ´Ù.</p>
<p>Apache 2.0Àº ÀÌ·± ¸ðµâÈµÈ ¼³°è¸¦ À¥¼¹öÀÇ °¡Àå ±âº»ÀûÀÎ
ºÎºÐ¿¡±îÁö È®ÀåÇß´Ù. ¼¹ö´Â ½Ã½ºÅÛÀÇ ³×Æ®¿÷ Æ÷Æ®¿¡ ¿¬°áÇÏ°í,
¿äûÀ» ¹Þ¾ÆµéÀ̸ç, ¹Þ¾ÆµéÀÎ ¿äûÀ» ó¸®ÇϱâÀ§ÇØ Àڽĵ鿡°Ô
ºÐ¹èÇÏ´Â ´ÙÁßó¸® ¸ðµâ (Multi-Processing Modules, MPMs)À»
¼±ÅÃÇÒ ¼ö ÀÖ´Ù.</p>
<p>¼¹ö¸¦ ÀÌ Á¤µµ·Î ¸ðµâÈÇÏ¸é µÎ°¡Áö Áß¿äÇÑ ÀåÁ¡ÀÌ
ÀÖ´Ù:</p>
<ul>
<li><module>mpm_winnt</module>°¡ Apache 1.3¿¡¼ »ç¿ëÇÑ
POSIXÃþ ´ë½Å ÀÚü ³×Æ®¿÷ ±â´ÉÀ» »ç¿ëÇÒ ¼ö ÀÖ´Â µî,
¾ÆÆÄÄ¡´Â ¿©·¯ ´Ù¾çÇÑ ¿î¿µÃ¼Á¦¸¦ ´õ ±ò²ûÇÏ°í È¿À²ÀûÀ¸·Î
Áö¿øÇÒ ¼ö ÀÖ´Ù. ÀÌ ÀåÁ¡Àº Æ¯ÈµÈ MPMÀ» ±¸ÇöÇÑ ´Ù¸¥
¿î¿µÃ¼Á¦¿¡µµ Àû¿ëµÈ´Ù.</li>
<li>¼¹ö´Â ƯÁ¤ »çÀÌÆ®ÀÇ ¿ä±¸Á¶°Ç¿¡ ´õ Æ¯ÈµÉ ¼ö ÀÖ´Ù.
¿¹¸¦ µé¾î ³ôÀº È®Àå°¡´É¼º(scalability)ÀÌ ÇÊ¿äÇÑ »çÀÌÆ®´Â
<module>worker</module>¿Í °°Àº ¾²·¹µå MPMÀ» »ç¿ëÇÏ°í,
¾ÈÁ¤¼º°ú ¿À·¡µÈ ¼ÒÇÁÆ®¿þ¾î¿ÍÀÇ È£È¯¼ºÀÌ ÇÊ¿äÇÑ »çÀÌÆ®´Â
<module>preforking MPM</module>À» »ç¿ëÇÒ ¼ö ÀÖ´Ù.
Ãß°¡·Î ´Ù¸¥ »ç¿ëÀÚ¾ÆÀ̵ð·Î ¿©·¯ È£½ºÆ®¸¦ ¼ºñ½ºÇÏ´Â
°Í(<module>perchild</module>)°ú °°Àº Ưº°ÇÑ ±â´Éµµ
Á¦°øµÈ´Ù.</li>
</ul>
<p>»ç¿ëÀÚ°¡ º¸±â¿¡ MPMÀº ´Ù¸¥ ¾ÆÆÄÄ¡ ¸ðµâ°ú °ÅÀÇ ºñ½ÁÇØ
º¸ÀδÙ. ÁÖµÈ Â÷ÀÌ´Â ¼¹ö´Â Çѹø¿¡ ¿ÀÁ÷ ÇÑ MPM¸¸À» »ç¿ëÇؾß
ÇÑ´Ù´Â Á¡ÀÌ´Ù. »ç¿ë°¡´ÉÇÑ MPM ¸ñ·ÏÀº <a href="mod/">¸ðµâ
¸ñ·Ï ÆäÀÌÁö</a>¿¡ ÀÖ´Ù.</p>
</section>
<section id="choosing"><title>MPM ¼±ÅÃÇϱâ</title>
<p>MPMs´Â ±¸¼ºÁß¿¡ ¼±ÅÃÇÏ¿© ¼¹ö¿¡ ÄÄÆÄÀÏµÇ¾ß ÇÑ´Ù.
¾²·¹µå¸¦ »ç¿ëÇÏ´Â °ÍÀ» ÄÄÆÄÀÏ·¯°¡ ¾Ë¸é ¸¹Àº ÇÔ¼ö¸¦
ÃÖÀûÈÇÒ ¼ö ÀÖ´Ù. À¯´Ð½º¿¡¼ ¸î¸î MPMÀº ¾²·¹µå¸¦ ¾²°í
³ª¸ÓÁö´Â ¾Æ´Ï¹Ç·Î, MPMÀÌ ±¸¼ºÁß¿¡ ¼±ÅÃµÇ¾î ¾ÆÆÄÄ¡¿¡
ÄÄÆÄÀϵɶ§ ¾ÆÆÄÄ¡´Â ´õ ºü¸¥ ¼Óµµ¸¦ ³½´Ù.</p>
<p>¿øÇÏ´Â MPMÀ» ¼±ÅÃÇÏ·Á¸é ./configure ½ºÅ©¸³Æ®¿¡
with-mpm= <em>NAME</em> ¾Æ±Ô¸ÕÆ®¸¦ »ç¿ëÇ϶ó. <em>NAME</em>Àº
¿øÇÏ´Â MPM À̸§ÀÌ´Ù.</p>
<p>¼¹ö¸¦ ÄÄÆÄÀÏÇÑÈÄ <code>./httpd -l</code> ¸í·É¾î·Î ¼±ÅÃÇÑ
MPMÀ» ¾Ë ¼ö ÀÖ´Ù. ÀÌ ¸í·É¾î´Â MPMÀ» Æ÷ÇÔÇÏ¿© ¼¹ö¿¡ ÄÄÆÄÀϵÈ
¸ðµç ¸ðµâÀ» ¾Ë·ÁÁØ´Ù.</p>
</section>
<section id="defaults"><title>MPM ±âº»°ª</title>
<p>´ÙÀ½ Ç¥´Â ¿©·¯ ¿î¿µÃ¼Á¦ÀÇ ±âº» MPMÀ» º¸¿©ÁØ´Ù. ÄÄÆÄÀϽÃ
´Ù¸£°Ô ¼±ÅÃÇÏÁö ¾ÊÀ¸¸é ÀÌ MPMÀÌ ¼±ÅõȴÙ.</p>
<table>
<columnspec><column width=".2"/><column width=".2"/></columnspec>
<tr><td>BeOS</td><td><module>beos</module></td></tr>
<tr><td>Netware</td><td><module>mpm_netware</module></td></tr>
<tr><td>OS/2</td><td><module>mpmt_os2</module></td></tr>
<tr><td>À¯´Ð½º</td><td><module>prefork</module></td></tr>
<tr><td>À©µµ¿ìÁî</td><td><module>mpm_winnt</module></td></tr>
</table>
</section>
</manualpage>
|