Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãã®ã¢ã¸ã¥ã¼ã«ã¯ Apache ã®ãããã·/ã²ã¼ãã¦ã§ã¤æ©è½ãå®è£ ãã¦ãã¾ãã AJP13 (Apache JServe Protocol version 1.3), FTP, CONNECT (SSL ç¨), HTTP/0.9, HTTP/1.0, HTTP/1.1 ã®ãããã·æ©è½ãå®è£ ãã¦ãã¾ãããããã®ãããã³ã«ããã®ä»ã®ãããã³ã«ç¨ã® ãããã·æ©è½ãæã£ããä»ã®ã¢ã¸ã¥ã¼ã«ã«æ¥ç¶ããããã«ãè¨å®ã§ãã¾ãã Apache ã®ãããã·æ©è½ã¯ mod_proxy ã®ä»ã«ã ããã¤ãã®ã¢ã¸ã¥ã¼ã«ã«åå²ããã¦ãã¾ã: mod_proxy_http, mod_proxy_ftp, mod_proxy_ajp, mod_proxy_balancer, mod_proxy_connect ã§ããã§ãããã ç¹å®ã®ãããã·ã®æ©è½ã使ãããå ´åã¯ãmod_proxy 㨠該å½ããã¢ã¸ã¥ã¼ã«ããµã¼ãã« (
æ¦è¦ Webãµã¼ãã¹æä¾ã®éãããã³ãã«è¤æ°ã®Apacheãµã¼ããç½®ãã¦ãã®å¾ãã«ã¯ã©ã¹ã¿æ§æã®Tomcatãç½®ãã¦ã¢ããªãµã¼ãã¨ããéã®ããæ¹ããªãããããããã¼ã¸ãä½ã£ã¦ããã¦ã¢ã¬ã§ãããç§ã¯Tomcatå«ãã§ããã¡ã³ãã¤ããã æ´æ°æ¥ï¼2012/03/27 æ§æ ã¾ãããã¾ããã«ãä¾ãåºãã¦ãåããã«ããã®ã§ãããã³ãã«2å°ã®Apacheï¼Webãµã¼ãï¼ãå¾ãã«2å°ã®Tomcatï¼ã¢ããªãµã¼ãï¼ã¨ããåé·åããæå°æ§æãèãããããããã®ãã¼ãåã¨IPã¢ãã¬ã¹ã¯ãweb1(192.168.1.1), web2(192.168.1.2), apl1(192.168.1.3), apl2(192.168.1.4)ã¨ãããã ã¦ã¼ã¶ããã®ãªã¯ã¨ã¹ãã«ã¤ãã¦ãç»åãã¡ã¤ã«ãªã©éçãã¡ã¤ã«ã¯å段ã®Apacheãè¿ããããã¦ç¹å®ã®ãã¹ãå©ãããå ´åã«ã¯ãApacheã¯ã¢ããªãµã¼ãã¸ä¸ç¶ãã¦ãã®çµ
What is mod_evasive? mod_evasive is an evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack. It is also designed to be a detection and network management tool, and can be easily configured to talk to ipchains, firewalls, routers, and etcetera. mod_evasive presently reports abuses via email and syslog facilities. Detection is
HTTPãªã¢ããªã±ã¼ã·ã§ã³ã®ãããã°ã®ããã«åºåã®ä¸é¨ãæ¸ãæãããã¨ãããã¨ããããã¢ããªã±ã¼ã·ã§ã³ãæ¸ãæããããªãç¶æ³ã§ã¯Apache HTTPãµã¼ãã®ãã£ã«ã¿ã§å¯¾å¿ã§ãããã ãããããããã§ãä½ãé©å½ãªã¢ã¸ã¥ã¼ã«ã¯ãªãã ãããæ¤ç´¢ãã¦ã¿ãã¨ãããApache HTTPãµã¼ãã®ãã¼ã¸ã§ã³2.2ã«ã¯æ¨æºã§mod_substituteã¨ããã¢ã¸ã¥ã¼ã«ãç¨æããã¦ããã mod_substitute(Apache 2.2) - ï¼¼ay diary ãªï¼ãªãã¨ãããªä¾¿å©ãªãã®ãï¼ã¨æã£ã¦èª¿ã¹ã¦ã¿ããï¼Apache 2.2.8 以éï¼å³å¯ã«ã¯ 2.2.7 以éï¼ã§è¿½å ããã¦ããã§ããã ã¬ã¹ãã³ã¹ããã£ãæ£è¦è¡¨ç¾ã§æ¸ãæãããã®ã§ãè¨å®ã®é½åä¸ã/ãããã¾ãæ±ããªããããªã®ããã¾ãã¡ã ã mod_substitute(Apache 2.2) - ï¼¼ay diary ã¨ã®ãã¨ã§ããï¼ If ei
Apacheã¯1ã¤ã®ç©ççãµã¼ãã«è¤æ°ã®ä»®æ³çãªWebãµã¼ããä½ããã¨ãå¯è½ã«ããããã¼ãã£ã«ãã¹ããã¨ããæ©è½ãåãã¦ãã¾ãããã®æ©è½ã®æ¦è¦ã¨ãè¨å®æ¹æ³ã解説ãã¾ããï¼ç·¨éé¨ï¼ 1ã¤ã®Webãµã¼ãã«è¤æ°ã®ä»®æ³çãªãµã¼ããæ§æ ååããApache HTTP Serverï¼ä»¥ä¸Apacheï¼ã®è¨å®ã«ã¨ãããã£ã¦ãã¾ããApacheã®è¨å®ãã¡ã¤ã«ãè¨è¿°ããåã«è¦ãã¦ããããåºæ¬ã解説ãã¾ãããè¨å®ãã¡ã¤ã«ã¯ããã¹ããã¡ã¤ã«ã§ãããããã«ã¯ã»ã¯ã·ã§ã³ãã³ã³ããã¹ãã¨ãã£ãæ§é ãããã¾ãã ã³ã³ããã¹ãã®ä¸ç¨®ã«ããã¼ãã£ã«ãã¹ããããã¾ãããã¼ãã£ã«ãã¹ãã¨ããã®ã¯ã1ã¤ã®ãµã¼ãã®ä¸ã«è¤æ°ã®ä»®æ³çãªãµã¼ããæ§æãããã¨ãå¯è½ã«ããæ©è½ã§ããããã§ãããµã¼ãã¨ã¯ãOSããã¼ãã¦ã§ã¢ã®ãã¨ã§ã¯ãªããApacheãªãWebãµã¼ãã¨ãããã¨ã«ãªãã¾ããã¤ã¾ããApacheãµã¼ãã1ã¤ããã°ãè¤æ°ã®Web
Apache 2.2ã§Webãµã¤ããããã©ã¼ãã³ã¹ã¢ããï¼ ï¼ ææ°Apacheã®æ©è½ã¨è¨å®æ¹æ³æãã¾ã ï¼ é¶´é· é®ä¸ï¼[email protected]ï¼ 2006/3/14 å¼·åãããããã¥ã¡ã³ããã£ãã·ã¥æ©è½ã使ã ããã¥ã¡ã³ããã£ãã·ã¥æ©è½ãå°å ¥ããã¨ãApacheã®å¿çæ§ãåä¸ããããã¨ãã§ãã¾ãã å¾æ¥ã®Apache 2.0ã§ããmod_file_cacheã¢ã¸ã¥ã¼ã«ã使ç¨ãããã¨ã§é常ã³ã³ãã³ãã®ã¬ã¹ãã³ã¹ãåä¸ããããã¨ãã§ãã¾ããããã ããmod_file_cacheã®ä»çµã¿ã¯Apacheã®èµ·åæã«ãã¡ã¤ã«ãã¡ã¢ãªã«èªã¿è¾¼ã¾ããã¨ãããã®ã§ãã³ã³ãã³ãã«å¤æ´ããã£ãå ´åã¯åèµ·åãå¿ è¦ã«ãªããªã©ãåçãªãã£ãã·ã³ã°ã«ã¯å¯¾å¿ãã¦ãã¾ããã§ããã Apache 2.2ã§ã¯ãRFC 2616ã«æºæ ããHTTPã³ã³ãã³ããã£ãã·ã¥ãå¯è½ã«ãªãã¾ãããCache-Controlãã
nginxãvarnishãªã©ãã¢ããã§ãããApacheãã¾ã ã¾ã å®ç¸¾ãå®å®æ§ããæ¡ç¨ããã¦ããã¨æãã¾ããããã§ã¯ããã©ã«ãã¨ã¯ç°ãªãå¤ã«å¤æ´ãããµã¼ãè¨å®ãä¸å¿ã«ãããã©ã¼ãã³ã¹æ¹åãå®å ¨æ§åä¸ã®ããã®Apacheã®è¨å®ãç´¹ä»ãã¾ãã mpmã®ç¢ºèª > /path/to/bin/httpd -V Server version: Apache/2.2.19 (Unix) Server built: Jun 23 2011 17:13:13 Server's Module Magic Number: 20051115:28 Server loaded: APR 1.4.5, APR-Util 1.3.12 Compiled using: APR 1.4.5, APR-Util 1.3.12 Architecture: 64-bit Server MPM: Worker PreforkãW
Squidãæ¤ç´¢ãã度ã«æåã«è¡¨ç¤ºãããç»åæ¤ç´¢ã®çµæã«å¹ãåºãããã«ãªãéçºé¨ã»ã·ã¹ãã éç¨ã°ã«ã¼ãã®é·éã§ããååã®ãã³ã°ãã¼ã«ãªç»åé ä¿¡ã®ãã®2ã¨ãããã¨ã§ãå®éã®ç»åé ä¿¡ã·ã¹ãã ã«ã¤ãã¦æ¸ããã¦é ãã¾ãã â ãããã£ã¼ã«ç»åã®é ä¿¡ã«ã¤ã㦠ååç´¹ä»ãã¾ããããmixiã«ããã¦ãããã£ã¼ã«åçãè¨å®ãè¨å®ãã¦ããã¦ã¼ã¶æ°ã¯å ¨ä½ã®ç´70%ã1,000ä¸äººã®æ¹ãè¨å®ãããã¦ãã¾ããç¾å¨é ä¿¡ããã¦ãããããã£ã¼ã«ç»åã®ãµã¤ãºã¯180x180ã76x76ã40x40ã¨ï¼ãµã¤ãºãããåè¨3,000ä¸ä»¥ä¸ã®ãã¡ã¤ã«æ°ã«ãªã£ã¦ãã¾ããã¾ãããã£ã¨ããã使ããã76x76ã®ãµã¤ãº1,000ä¸ä»¶ã«ããã¦ã1æ¥ã«ã¢ã¯ã»ã¹ãããç»åã®æ°ã¯800ä¸ãã¡ã¤ã«ä»¥ä¸ããã¡97%ã30å以ä¸ã¨é常ã«åºç¯å²ã«æ¸¡ã£ã¦ã¢ã¯ã»ã¹ããã¦ãã¾ãããã®ãã大éã®ç»åãé ä¿¡ã§ããä»çµã¿ãå¿ è¦ã«ãªãã¾ãã â é ä¿¡ã·ã¹ãã ã®å ¨ä½å ã
ä»æ¥ã¯æè¡çãªãããã¯ãæ±ãã¾ãã é常ãã¦ã§ããã¼ã¸ãããåå¨ããªããªã£ãã¨ãã¯404ã®HTTPã¹ãã¼ã¿ã¹ã³ã¼ããè¿ãã¾ãã ããã¨ããã°ãããã°æ¤ç´¢çµæãããæ¶ãã¾ãã ãããGoogleã¦ã§ããã¹ã¿ã¼ãã¼ã«ã§ã¯ããã£ã¨ä»¥åã«ãªããªã£ãã¯ãã®ãã¼ã¸ããã¯ãã¼ã«ã¨ã©ã¼ãã»ã¯ã·ã§ã³ã§ãè¦ã¤ããã¾ããã§ãããã¨ãã¦è¡¨ç¤ºããããã¨ãããã¾ãã çç±ã¯ã404ã¨ã©ã¼ãè¿ãããã¼ã¸ãä»ã§ããªãã¾ã¾ãªã®ã確èªããããã«Googlebotãå訪åããããã§ãã 404ã¯âNot Foundâï¼è¦ã¤ãããªãï¼ã§ããã¼ã¸ããªããªã£ããã¨ã§ã¯ãªãã¢ã¯ã»ã¹ã§ããªãç¶æ ã示ãã¾ãã ã¢ã¯ã»ã¹ã§ããªãçç±ã¯ããã¼ã¸ãåé¤ãããã¨ã§ã¯ãªããããã¯ã¼ã¯ã®é害ããµã¼ãã¼ã®ä¸å ·åã«ããä¸æçãªãã®ããããã¾ããã é常ã®ãã¼ã¸ããã¯é »åº¦ãä½ãã§ããããã®404ãè¿ãããã¼ã¸ãåã³è¨ªåãã¦ç¸å¤ããããªãã¾ã¾ãªã®ãããã¨ãå
14:30 | Keep-Alive on / off ã«é¢ããæç®ã®å¤ããææ§ã§ãããã¨ãæ°ã«ãªã£ã¦ããã®ã§ãã¾ã¨ãã¦ã¿ã¾ãããApacheã®ããã¥ã¡ã³ããããKeep-Aliveã®èª¬æãæåãã¾ãã¨ãHTTP/1.0 ã® Keep-Alive æ¡å¼µã¨ HTTP/1.1 ã®æç¶çæ¥ç¶ã®æ©è½ã¯ãè¤æ°ã®ãªã¯ã¨ã¹ããåãTCPã®æ¥ç¶ã§éããããé·æéæç¶ãã HTTP ã»ãã·ã§ã³ãæä¾ãã¾ããã¤ã¾ããKeep-Aliveã¯ããTCP 3ã¦ã§ã¤ãã³ãã·ã§ã¤ã¯ã®ç¯ç´ãã§ããã¨ããç¹ãç解ããªããã°ãªãã¾ãããããã¦ãã®æç®ã¯ãç»åãCSSãå¤ããµã¤ãã§ã¯ãæ¥ç¶ã使ãåããã¨ã«ããç¡é§é£ãããªãããã¨ãã説æããã¦ãã¾ããããã®æ¥ç¶ã使ãåãã¨ãã表ç¾ãææ§ãªæ°ããã¾ããä½ã¨ãªãåãã£ãæ°ã«ãªã£ã¦ãã¾ã人ãå¤ãã®ã§ã¯ãªãã§ãããããããã§ã¯ãã¾ãã¯ä»¥ä¸ã®ãããªhttpd.confã§ãApacheã®å
ASFã¯è±éãã¡ãã¤ãããã ãã§ãªãããJava SE 7ãä»æ§ã«å対票ãæããæ¹éãæããã«ãã¦ãããã»ãã®ã¡ã³ãã¼ã«ãå調ããããå¼ã³æãã¦ããã ç±³Apache Software Foundationï¼ASFï¼ã¯ãç±³OracleããHarmonyãããã¸ã§ã¯ãã«å¯¾ãã¦ãã¹ããããã®ã©ã¤ã»ã³ã¹ãæã¿ç¶ããã®ã§ããã°ãJava管çå£ä½ããå®å ¨ã«è±éããã¨è ããããã¦ããã ASFã¯11æ9æ¥ï¼ç¾å°æéï¼ãåå£ä½ã®ããã°ã«æ²è¼ããçºè¡¨æã§ãJavaä»æ§ã®ã¤ã³ããªã¡ã³ã¿ã¼ã¨ãã¦ã®ASFã®æ¨©å©ãèªããããªããã®ã§ããã°ãJava Community Processï¼JCPï¼ããè±éããã¨è¿°ã¹ã¦ããã ASFãææããåé¡ã¨ã¯ãJava SEã®ãã¹ããããã©ã¤ã»ã³ã¹ï¼TKLï¼ãApache Harmonyããã¸ã§ã¯ãã«æä¾ãããã©ããããããOracleã¨ã®è«äºã®ãã¨ã ãHarmonyã¯Java
Apacheã®è¨å®ã§ Order deny,allowã¨ã Satisfy anyã¨ãããªãã ãæå³ãããã人ã®ããã«ãåã¯ãã£ã¨ããã£ã¦ãªãã£ãã åºæ¬ Apacheã®ã¢ã¯ã»ã¹å¶å¾¡ã«ã¯ã ãã¹ãã«ããå¶å¾¡ (Order,Allow,Deny) ã¦ã¼ã¶èªè¨¼ã«ããå¶å¾¡ (Auth*, Require) ã®2éããããã Satisfyã¯ã2éãããã¢ã¯ã»ã¹å¶å¾¡ã®ä¸¡æ¹ãæºããå¿ è¦ããããã©ããã決å®ãããããã©ã«ãã¯Satisfy allãSatisfy anyãªããã©ã¡ããçæ¹æºããã°ããã Order http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order Order deny,allowã¯ãå ¨ã¦ã®ãã¹ãããã®ã¢ã¯ã»ã¹ã許å¯ããã Order allow,denyã¯ãå ¨ã¦ã®ãã¹ãããã®ã¢ã¯ã»ã¹ãæå¦ããã Order d
kazuhoããããããã®ãµã¼ã管çè ã®éã§ã¯åå¨ä¾¡å¤ãçåè¦ããã¦ä¹ ãã (Min|Max)SpareServers ã ã¨æããã¨æ¸ããããhirose31ãããå»å¹´ã®YAPC::Asiaã§{Start,{Min,Max}Spare}Servers,MaxClientsã¯åãã«ãã¦ãããã¨çºè¡¨ããããå®éåè·ã®ãµã¼ãã¯ãã®ããã«è¨å®ããã¦ããã®ã§ãããèªåã§ãã¾ã説æãã§ãã¦ãªãã£ãã®ã§ã調ã¹ãªããæ¸ãã¦ã¿ãã æ¬å½ã¯ã¤ã³ãã©ããã°ç¨ã«æ¸ãã¦ãããã®ã§ãããããã°ã£ãã®ã§è»¢è¼ã åæã¨ãã¦ãCPUã®ä½¿ç¨çã«ãããsystemã¨fork Re: ã¯ã©ã¦ãããããã¯ã¼ã¯ã²ã¼ã éçºè ã«ããããã¦ããããã® - blog.nomadscafe.jpã§ãæ¸ãã¦ããéãforkã£ã¦ã®ã¯ãµã¼ãã«ã¨ã£ã¦éãé¨é¡ã®å¦çã«ãªãã¾ããã¤ã¾ãè² è·ã®é«ãã¨ãã«forkã大éã«è¡ãã®ã¯ãã¦ã¯ãªããªããã¨ã®ï¼ã¤ã§ãã
ããã«ã¡ã¯ãã¢ã·ã¢ã«ã®äºå·ã§ãã ä»æ¥ã¯Apacheã¢ã¸ã¥ã¼ã«éçºæ¹æ³ãç´¹ä»ãããã¨æãã¾ããé£ãããã«èãããããããã¾ããããApacheã®ãã¼ã«ï¼apxsï¼ã使ãã®ã§æå¤ã¨ç°¡åã«ä½æã§ãã¾ããã¾ããä»åä½æããã®ã¯"hello world"ãHTMLã®å é ã«å ããã ãã®ã·ã³ãã«ãªã¢ã¸ã¥ã¼ã«ã§ãã æ¬å½ã«ç°¡åãªã®ã§ããã²ä¸åº¦ä½ã£ã¦ã¿ã¦ä¸ããã éçºã®æµãã¯æ¬¡ã®éãã§ãã 0. éçºç°å¢ã®æºå 1. ã¢ã¸ã¥ã¼ã«ã®ã²ãªå½¢ã®ä½æ 2. ã³ã¼ãã®è¨è¿°ï¼Cè¨èªï¼ 3. ã³ã³ãã¤ã«ãã¦ã¤ã³ã¹ãã¼ã« 4. httpdã®åèµ·å éçºç°å¢ã¯æ¢ã«ã§ãã¦ããåæã§è©±ãé²ãã¾ããå¿ è¦ãªããã±ã¼ã¸ã¯ ã»httpd ã»httpd-devel ã»gcc ã§ãããæ¤è¨¼ç°å¢ã¯æ¬¡ã®éãã§ãã ã»CentOS 5.5 ã»Apache 2.2.3 ãã ããhttpdã«so_moduleãçµã¿è¾¼ã¾ãã¦ããå¿ è¦ãããã¾ãã次ã®ã³
30æ³æªæºã§å·¦ç¿¼ææ³ã§ãªãç·ã¯è¦ªæã®æ ã«æ¬ ããã ããã¦30æ³ãéãã¦ä¿å®ææ³ã§ãªãç·ã¯ç¥è½ã«æ¬ ããã ã¸ã§ã¼ã¸ï½¥ãã¼ãã¼ãã»ã·ã§ã¼ Apacheã§å®éã«HTTPãªã¯ã¨ã¹ããå¦çããã¨ã³ãã£ãã£ããã¹ããããã¨å¼ã¶ãããã¦ãã¹ããããéããApacheã®ãªã¯ã¨ã¹ãå¦çã®ç®¡çç¶æ ã®è¨é²ãã¹ã³ã¢ãã¼ãã¨å¼ã¶ãã¹ã³ã¢ãã¼ãã¯ãå¦çç³»ã«ããããã大æµã¯OSã®å ±æã¡ã¢ãªãå©ç¨ãã¦ããããªã¯ã¨ã¹ãå¦çãããããã»ã¹éã§å ±æå¯è½ãªè¨æ¶é åã¨ãªã£ã¦ãããå ±æã¡ã¢ãªãå©ç¨ã§ããªãä¸é¨ã®æ§å¼ãªå¦çç³»ã§ã¯ããã¡ã¤ã«ã§ç®¡çãããããã ã¹ãããã¯ãé¸æããApacheã®MPMï¼ãã«ãããã»ãã·ã³ã°ã¢ã¸ã¥ã¼ã«ï¼ã«ããããã»ã¹ã§ãã£ãããã¹ã¬ããã§ãã£ãããããUnixã®ããã©ã«ãã¯preforkã§ãããã¯ãã¹ã¦ã®HTTPãªã¯ã¨ã¹ãå¦çãããããããforkããï¼ã¤ã¾ãã"prefork"ããï¼åããã»ã¹ã«ã¦å®
ç®ç ããã³ããHTTPãªã¯ã¨ã¹ããåãã¦ãããã¯ã¨ã³ãã®ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã«reverse proxyãããããªæ§æã«ããã¦ãæå®ç§æ°ä»¥å ã«ä½ãããã®ã¬ã¹ãã³ã¹ãè¿ãããã 200ãè¿ããªãå ´åã¯ãå¦çãæã¡åã£ã¦500ãè¿ãããã èæ¯ ããã³ãã§ApacheãNginxãreverse proxyã¨ãã¦ä½¿ã£ã¦ããå ´åãããã¯ã¨ã³ããç¡å¿çã«ãªã£ã¦ãã¾ãã¨ãã¯ã©ã¤ã¢ã³ãã«ã¬ã¹ãã³ã¹ãè¿ãã®ã¯ããã©ã«ãã§æ°åãæ°ç¾ç§å¾(Apacheã®Timeoutã®ããã©ã«ãã¯300ç§ãNginxã®proxy_read_timeoutã®ããã©ã«ãã¯60ç§)ã«ãªã£ã¦ãã¾ãã¾ãã é常ã®Webãµã¼ãã¹ã§ã¯ãã®ãªã¼ãã¼ã®ã¿ã¤ã ã¢ã¦ãã§ãããã®ããããã¾ããããæ°ç§ä»¥å ã«(ã¨ã©ã¼ã§ãããã®ã§)ã¬ã¹ãã³ã¹ãè¿ããã¨ãæ±ããããç°å¢ãåå¨ãã¾ãã(æè¿ãç¹ã«å¤ãã®ã§ã¯ãªãã§ãããã:P) ãã¡ããããã¯ã¨ã³ãã
Apache 2.3ããMPMã®åæ¿ãå®è¡æ(èµ·åæ)ã«è¨å®ãã¡ã¤ã«ããåçã«é¸æã§ããããã«ãªãç¹ã«ã¤ãã¦ã以åå½DSASããã°å ã®è¨äºã§ç´¹ä»ãã¾ããããã®MPMã®åæ¿ã«ãã£ã¦ã©ã®ãããªã¡ãªãããå¾ãããã®ã§ãããããå®éã«ãããåããã¦ã¿ãã¨ãã®CPU使ç¨çã¨ãããã¯ã¼ã¯I/Oã®å¤åãè¦ãªãããããããã®MPMã¢ã¸ã¥ã¼ã«ã®æ§è½ã»ç¹æ§ãæ¯è¼ãã¦ã¿ããã¨æãã¾ãã ã¾ãã¯å®é¨ã§ãã以ä¸ã®ãããªç°å¢ãç¨æãã¾ãããã¯ã©ã¤ã¢ã³ãå´ã«ã¤ãã¦ã¯ãab(Apache Bench)ã«ãã£ã¦åä¸ã®URLãã²ããããã¦ã³ãã¼ãããåç´ãªãã®ã§ãããããéçãã¡ã¤ã«ãªã®ã§(ä¸èº«ã¯ããã¼)ãç´ç²ã«Apacheã®è»¢éè½åã®ã¿ã®æ¯è¼ã«ãªãã¾ãããµã¼ãã«ã¯ãCPUã¯Atom D510ãã¡ã¤ã³ã¡ã¢ãª4GBãç¨æãã¾ãããã¯ã©ã¤ã¢ã³ãã¨ãµã¼ãã®éã¯GbEã§ç¹ãã£ã¦ãããåä¸ã»ã°ã¡ã³ã(ä¸éãã¼ãç¡ã)ã¨ãªã£ã¦ããã¾ãã
Apache 2.3ã®ç¹é·ãæ¢ã ãã¦ãApache 2.3æ¢ç´¢ã·ãªã¼ãºã®ç¬¬3åã«ãªãã¾ãä»åãMPM(Multi-Processing Modules)ã«è©±é¡ã移ãã¾ãã å¾æ¥Apache 2.0/2.2ã§ã¯MPMã¯configureã§ã®ãªãã·ã§ã³æå®ã«ãã£ã¦é¸æãããã«ãã§ã¹ã¿ãã£ãã¯ãªã³ã¯ããã¾ãããã®ãããããMPMãå¤ããå ´åã¯configureã§ã®æå®ãå¤ãã¦ãã«ãããæããããç´ãã«ãªãã¾ãã2.3/2.4ããã¯ãããApacheã¢ã¸ã¥ã¼ã«ã¨åãããã«LoadModuleãã£ã¬ã¯ãã£ãã§å®è¡æã«é¸ã¶ãã¨ãã§ããããã«ãªãããã§ãã ãã®ä»çµã¿ãå©ç¨ããçºã«ã¯ãååã®ãã«ãã§ã®configureãªãã·ã§ã³ã«é ç®ã1ã¤è¿½å ããå¿ è¦ãããã¾ãã--enable-mpms-sharedãªãã·ã§ã³ã追å ããå¼æ°ã«allãä¸ãã¦ããä¸åº¦ãã«ãï¼ã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãããã $ confi
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}