php + apache ã®ã¡ã¢ãªéããããã(2) workerã使ã£ã¦ã¿ã
php + apache ã®ã¡ã¢ãªéããããã(2) workerã使ã£ã¦ã¿ã
Google ããmod_pagespeedããªã Apache ã¢ã¸ã¥ã¼ã«ãå ¬éãã¦ããããã®ã¢ã¸ã¥ã¼ã«ãå°å ¥ãã㨠Apache ã§ã15 以ä¸ã®ã¹ãã¼ãæé©åããèªåçã«è¡ãããããã«ãªããWeb ãã¼ã¸ã®ããã©ã¼ãã³ã¹ãåä¸ããã¨ã®ã㨠(Google Webmaster Central Blog ã®è¨äºãã) ã Google 㯠mod_pagespeed ã®å°å ¥ã«ãããã¼ã¸ã®ãã¼ãã¿ã¤ã ã 50 % ã«ã¾ã§åæ¸ã§ããã¨è¿°ã¹ã¦ãããå®éã®ãã¢åç»ãå ¬éããã¦ãããApache ã¢ã¸ã¥ã¼ã«ãªã®ã§ãæ¢åã® CMS ã Web ãµã¤ãã«å¤æ´ãå ããã«å©ç¨ã§ããã®ãã¡ãªããã ããã ã mod_pagespeed ãè¡ã£ã¦ãããä½æ¥ã«ã¤ãã¦ã¯ mod_pagespeed filters ã§èª¬æããã¦ããããä¸è¨ã®ãããªä½æ¥ãèªåã§è¡ã£ã¦ãããã¨ã®ãã¨ã Web ãã¼ã¸ã®ãã£ãã·ã¥ä¿ææé
kazuhoããããããã®ãµã¼ã管çè ã®éã§ã¯åå¨ä¾¡å¤ãçåè¦ããã¦ä¹ ãã (Min|Max)SpareServers ã ã¨æããã¨æ¸ããããhirose31ãããå»å¹´ã®YAPC::Asiaã§{Start,{Min,Max}Spare}Servers,MaxClientsã¯åãã«ãã¦ãããã¨çºè¡¨ããããå®éåè·ã®ãµã¼ãã¯ãã®ããã«è¨å®ããã¦ããã®ã§ãããèªåã§ãã¾ã説æãã§ãã¦ãªãã£ãã®ã§ã調ã¹ãªããæ¸ãã¦ã¿ãã æ¬å½ã¯ã¤ã³ãã©ããã°ç¨ã«æ¸ãã¦ãããã®ã§ãããããã°ã£ãã®ã§è»¢è¼ã åæã¨ãã¦ãCPUã®ä½¿ç¨çã«ãããsystemã¨fork Re: ã¯ã©ã¦ãããããã¯ã¼ã¯ã²ã¼ã éçºè ã«ããããã¦ããããã® - blog.nomadscafe.jpã§ãæ¸ãã¦ããéãforkã£ã¦ã®ã¯ãµã¼ãã«ã¨ã£ã¦éãé¨é¡ã®å¦çã«ãªãã¾ããã¤ã¾ãè² è·ã®é«ãã¨ãã«forkã大éã«è¡ãã®ã¯ãã¦ã¯ãªããªããã¨ã®ï¼ã¤ã§ãã
å°¾è¤æ£äººã§ãã ã¢ã¯ã»ã¹æ°ã®å¤ãã³ã³ã·ã¥ã¼ãåãã® web ãµã¼ãã¹ã¯ãå¦çé度ãããªãéè¦ã«ãªã£ã¦ãã¾ãã å¿çé度ãé ãã¨ä½¿ç¨ãã¦ããã¦ã¼ã¶ã«ã¨ã£ã¦ã¹ãã¬ã¹ã«ãªãã¾ããã å¦çã«æéããããã°ãµã¼ãã«å¯¾ããè² è·ãé«ããªãã¾ã(å³å¯ã«è¨ãã¨éã)ã ããã§ã¦ãã¦ã§ã¯ãããããªå·¥å¤«ããã¦å¦çé度ã®é«éåãè¡ã£ã¦ãã¾ãã ä¸å£ã«é«éåã¨ãã£ã¦ããããããªè¦ç´ ãããã¾ããã大ããåãã¦3ã¤ã®æ®µéãããã¾ãã ã»ãã¼ãã¦ã§ã¢ã«ããé«éå ã»ã½ããã¦ã§ã¢ã«ããé«éå ã»ããã°ã©ã ã®å·¥å¤«ã«ããé«éå ããããããã3ã¤ã¯ç¬ç«ã§ã¯ãªããäºãã«å½±é¿ããã£ã¦ããã®ã§å®å ¨ã«åãã¦èãããã¨ã¯ã§ãã¾ããã ãããããã©ã®ãããªé¨åã«å½±é¿ãä¸ãã¦ããã®ããã¡ããã¨ç解ãã¦ãã¥ã¼ãã³ã°ãããã¨ã大äºã§ãã ãã ããé«éåããã¨ãã«å¿ãã¦ãããªãã®ããé«å¯ç¨æ§ã§ãã ãããé«éã«åä½ãã¦ãå®å®ãã¦åä½ã
以åVirtualDocumentRootã®ãã¨ã«ã¤ãã¦æ¸ãã¾ãããã ããããä½ããããã£ããã¨ããã¨ã test.comçã®ç¹å®ã®ãã¡ã¤ã³ã®å ´åã«ã¯ãVirtualHostãæå¹ã«ã aaa.test.com ã®ããã«æ®éã®ãµããã¡ã¤ã³ã®å ´åã¯ã æ¯åVirtualHostãè¨å®ããªãã¦ããããã«VirtualDocumentRootãã ã¨ãããããªå ¥ãçµãã ä»çµã¿ã«ãããã£ãããã§ãã ä¸é¨ç¹æ®ãªè¨å®ããã¦ãããµããã¡ã¤ã³ãªã©ãããã®ã§ã å ¨é¨ãVirtualDocumentRootã«ã§ããªãã£ãã®ã§ãæ¢ãã¦ã¾ããã ã§ããããããªãµã¤ããåèã«ãã¦ãçµè«ã¨ãã¦ã¯ã以ä¸ã®ããã«ãªã£ã¦ã¾ãã ## ããã©ã«ãã®è¨å® ServerName local ServerAdmin hara@dedede.net VirtualDocumentRoot /home/%2+/%1 ## ç¹æ®ãªè¨
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}