{"id":266,"date":"2011-04-06T07:46:02","date_gmt":"2011-04-06T07:46:02","guid":{"rendered":"http:\/\/blog.toyzon.com\/?p=266"},"modified":"2011-04-06T07:46:02","modified_gmt":"2011-04-06T07:46:02","slug":"%ec%95%84%ed%8c%8c%ec%b9%98-worker-%ec%bb%b4%ed%8c%8c%ec%9d%bc","status":"publish","type":"post","link":"https:\/\/www.toyzon.com\/?p=266","title":{"rendered":"\uc544\ud30c\uce58 Worker \ucef4\ud30c\uc77c"},"content":{"rendered":"<p><P>\uc544\ud30c\uce58&nbsp;Worker \ucef4\ud30c\uc77c<\/p>\n<p>&#8211; \uae30\ubcf8\uc801\uc73c\ub85c RPM\uc73c\ub85c \uc544\ud30c\uce58\ub97c \uc124\uce58\ud558\uac8c\ub418\uba74 \uae30\ubcf8\uc124\uc815\uc774 prefork\uc785\ub2c8\ub2e4.<br \/>\n&nbsp;&nbsp; prefork \ub9d0\uace0 \uc544\ud30c\uce58\uc5d0\uc11c worker\ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc544\ud30c\uce58 \ucef4\ud30c\uc77c\uc744 \uc9c4\ud589\ud558\uc600\uc2b5\ub2c8\ub2e4.<\/p>\n<p>httpd-2.2.17.tar<br \/>\nOS : RHEL5.5 64BIT<\/p>\n<p>\/httpd-2.2.17\/server\/mpm\/worker\/worker.c<\/p>\n<p><TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=1 cellPadding=1 width=590 bgColor=#ffffff><br \/>\n<TBODY><br \/>\n<TR><br \/>\n<TD style=\"BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid\" width=\"100%\">&nbsp;&nbsp;&#8211; \uc544\ub798 \ubd80\ubd84 \uc218\uc815<br \/>\n#Ifndef DEFAULT_SERVER_LIMIT<br \/>\n#define DEFAULT_SERVER_LIMIT 16&nbsp;-&gt; 128 &lt;= \ubcc0\uacbd<br \/>\n#endif <\/TD><\/TR><\/TBODY><\/TABLE><\/p>\n<p>\uc704\uc758 \ubd80\ubd84\ub9cc \uc124\uc815 \ud6c4 \ucef4\ud30c\uc77c\uc744 \ud558\uba74 \ub429\ub2c8\ub2e4.<\/p>\n<p><TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=1 cellPadding=1 width=590 bgColor=#ffffff><br \/>\n<TBODY><br \/>\n<TR><br \/>\n<TD style=\"BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid\" width=\"100%\">&nbsp;.\/configure \\<br \/>\n&nbsp;&#8211;prefix=\/usr\/local\/apache2 \\<br \/>\n&nbsp;&#8211;enable-so \\<br \/>\n&nbsp;&#8211;enable-ssl \\<br \/>\n&nbsp;&#8211;with-mpm=worker \\<br \/>\n<P>make<br \/>\nmake install<\/P><\/TD><\/TR><\/TBODY><\/TABLE><\/p>\n<p>\ucef4\ud30c\uc77c\ud6c4<br \/>\n\/usr\/local\/apache2\/bin\/apachectl -V\ub97c \uc785\ub825\ud558\uba74 worker \ubc29\uc2dd\uc73c\ub85c \ub3d9\uc791\ud558\ub294 \uac83\uc744 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p><TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=1 cellPadding=1 width=590 bgColor=#ffffff><br \/>\n<TBODY><br \/>\n<TR><br \/>\n<TD style=\"BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid\" width=\"100%\">&nbsp;Server version: Apache\/2.2.17 (Unix)<br \/>\nServer built:&nbsp;&nbsp; Apr&nbsp; 5 2011 12:21:49<br \/>\nServer&#8217;s Module Magic Number: 20051115:25<br \/>\nServer loaded:&nbsp; APR 1.4.2, APR-Util 1.3.10<br \/>\nCompiled using: APR 1.4.2, APR-Util 1.3.10<br \/>\nArchitecture:&nbsp;&nbsp; 64-bit<br \/>\nServer MPM:&nbsp;&nbsp;&nbsp;&nbsp; Worker<br \/>\n&nbsp; threaded:&nbsp;&nbsp;&nbsp;&nbsp; yes (fixed thread count)<br \/>\n&nbsp;&nbsp;&nbsp; forked:&nbsp;&nbsp;&nbsp;&nbsp; yes (variable process count)<br \/>\nServer compiled with&#8230;.<br \/>\n&nbsp;-D APACHE_MPM_DIR=&#8221;server\/mpm\/worker&#8221;<br \/>\n&nbsp;-D APR_HAS_SENDFILE<br \/>\n&nbsp;-D APR_HAS_MMAP<br \/>\n&nbsp;-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<br \/>\n&nbsp;-D APR_USE_SYSVSEM_SERIALIZE<br \/>\n&nbsp;-D APR_USE_PTHREAD_SERIALIZE<br \/>\n&nbsp;-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<br \/>\n&nbsp;-D APR_HAS_OTHER_CHILD<br \/>\n&nbsp;-D AP_HAVE_RELIABLE_PIPED_LOGS<br \/>\n&nbsp;-D DYNAMIC_MODULE_LIMIT=128<br \/>\n&nbsp;-D HTTPD_ROOT=&#8221;\/usr\/apache2&#8243;<br \/>\n&nbsp;-D SUEXEC_BIN=&#8221;\/usr\/apache2\/bin\/suexec&#8221;<br \/>\n&nbsp;-D DEFAULT_SCOREBOARD=&#8221;logs\/apache_runtime_status&#8221;<br \/>\n&nbsp;-D DEFAULT_ERRORLOG=&#8221;logs\/error_log&#8221;<br \/>\n&nbsp;-D AP_TYPES_CONFIG_FILE=&#8221;conf\/mime.types&#8221;<br \/>\n&nbsp;-D SERVER_CONFIG_FILE=&#8221;conf\/httpd.conf&#8221;<\/TD><\/TR><\/TBODY><\/TABLE><\/p>\n<p>Worker \ud658\uacbd\uc124\uc815<br \/>\n\/usr\/local\/apache2\/conf\/extra\/httpd-mpm.conf<\/p>\n<p><TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=1 cellPadding=1 width=590 bgColor=#ffffff><br \/>\n<TBODY><br \/>\n<TR><br \/>\n<TD style=\"BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid\" width=\"100%\">&nbsp;# worker MPM<br \/>\n# StartServers: initial number of server processes to start<br \/>\n# MaxClients: maximum number of simultaneous client connections<br \/>\n# MinSpareThreads: minimum number of worker threads which are kept spare<br \/>\n# MaxSpareThreads: maximum number of worker threads which are kept spare<br \/>\n# ThreadsPerChild: constant number of worker threads in each server process<br \/>\n# MaxRequestsPerChild: maximum number of requests a server process serves<br \/>\n&lt;IfModule mpm_worker_module&gt;<br \/>\n&nbsp;&nbsp;&nbsp; StartServers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2<br \/>\n&nbsp;&nbsp;&nbsp; MaxClients&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 150<br \/>\n&nbsp;&nbsp;&nbsp; MinSpareThreads&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25<br \/>\n&nbsp;&nbsp;&nbsp; MaxSpareThreads&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 75 <br \/>\n&nbsp;&nbsp;&nbsp; ThreadsPerChild&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25<br \/>\n&nbsp;&nbsp;&nbsp; MaxRequestsPerChild&nbsp;&nbsp; 0<\/TD><\/TR><\/TBODY><\/TABLE><br \/>\n\uc0c1\ud669\uc5d0 \ub9de\uac8c \uc704\uc758 \uc218\uce58\ub97c \ubcc0\uacbd\ud558\uc5ec \uc0ac\uc6a9\ud558\uc2e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\n<\/P><\/p>\n <!-- AdSense Now! Lite: WP is not in the loop.  -->\n","protected":false},"excerpt":{"rendered":"<p>\uc544\ud30c\uce58&nbsp;Worker \ucef4\ud30c\uc77c &#8211; \uae30\ubcf8\uc801\uc73c\ub85c RPM\uc73c\ub85c \uc544\ud30c\uce58\ub97c \uc124\uce58\ud558\uac8c\ub418\uba74 \uae30\ubcf8\uc124\uc815\uc774 prefork\uc785\ub2c8\ub2e4. &nbsp;&nbsp; prefork \ub9d0\uace0 \uc544\ud30c\uce58\uc5d0\uc11c worker\ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc544\ud30c\uce58 \ucef4\ud30c\uc77c\uc744 \uc9c4\ud589\ud558\uc600\uc2b5\ub2c8\ub2e4. httpd-2.2.17.tar OS : RHEL5.5 64BIT \/httpd-2.2.17\/server\/mpm\/worker\/worker.c &nbsp;&nbsp;&#8211; \uc544\ub798 \ubd80\ubd84 \uc218\uc815 #Ifndef DEFAULT_SERVER_LIMIT #define DEFAULT_SERVER_LIMIT 16&nbsp;-&gt; 128 &lt;= \ubcc0\uacbd #endif \uc704\uc758 \ubd80\ubd84\ub9cc \uc124\uc815 \ud6c4 \ucef4\ud30c\uc77c\uc744 \ud558\uba74 \ub429\ub2c8\ub2e4. &nbsp;.\/configure \\ &nbsp;&#8211;prefix=\/usr\/local\/apache2 \\ &nbsp;&#8211;enable-so \\ &nbsp;&#8211;enable-ssl \\ &nbsp;&#8211;with-mpm=worker \\ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\uc544\ud30c\uce58 Worker \ucef4\ud30c\uc77c - ToyZon","description":"\uc544\ud30c\uce58&nbsp;Worker \ucef4\ud30c\uc77c - \uae30\ubcf8\uc801\uc73c\ub85c RPM\uc73c\ub85c \uc544\ud30c\uce58\ub97c \uc124\uce58\ud558\uac8c\ub418\uba74 \uae30\ubcf8\uc124\uc815\uc774 prefork\uc785\ub2c8\ub2e4. &nbsp;&nbsp; prefork \ub9d0\uace0 \uc544\ud30c\uce58\uc5d0\uc11c worker\ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc544\ud30c\uce58 \ucef4\ud30c\uc77c\uc744 \uc9c4\ud589\ud558\uc600\uc2b5\ub2c8\ub2e4. httpd-2.2.17.tar OS : RHEL5.5"},"footnotes":""},"categories":[243],"tags":[117,118,119],"class_list":["post-266","post","type-post","status-publish","format-standard","hentry","category-linux-","tag-httpd-mpm-conf","tag-worker-compile","tag--worker-"],"_links":{"self":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=266"}],"version-history":[{"count":0,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts\/266\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}