ã³ãã³ãã©ã¤ã³ããè¨å®ãã topã®çµæãlogã«åºåãã â Code Design top -b -d 60 > /log/top.log -b ãªãã·ã§ã³ã¯ãããã¢ã¼ããçµæãæ¨æºåºåã«åºåããã -d ãªãã·ã§ã³ã¯åä½ééãåä½ã¯ç§ï¼å°æ°ç¹ä»¥ä¸ã2æ¡ã¾ã§æå®å¯è½ããã¤ãã¹ã¯ä¸å¯ï¼ãçç¥ããã¨ããã©ã«ãè¨å®ã§èµ·åãããééãçãããããã¨ãã°ãè¨å¤§ã«ãªããããã®ã§ããã§ã¯60ç§ã§è¨å®ãç£è¦ç®çãªãã°çãæ¹ãè¯ããã¨ï¼å¹³åãææ¡ããããã®ã§ï¼ã æ¬å½ãªãè¨é²ãããã¡ã¤ã«ã¯æ±ºãã¦ããã¦ãåä½æéã§ãã¼ãã¼ã·ã§ã³ãããã®ãæ®éã ã¨æããã ãã©ãã¨ããããããã§ãåããã®ã§åèã¾ã§ã«ã top -b -d 60 > /log/top.log_`date +%y%m%d` ãtop.log_090609ãã¨ãããã¡ã¤ã«åã§ãã°ãä¿åãããã cronã§è¨å®ãã ããå®å¸¸çã«ãã°ãä¿åãããã¨ã«
ï¼æ§è½ãã¹ãï¼ â ããã«ããã¯ã®è§£æã®åºæ¬ æ§è½éçãçããå ´åã«ãããªããã·ã¹ãã ãªã½ã¼ã¹ã®è¨æ¸¬å¤ãã 調æ»ããã®ã¯ãµãããããªãã ãµã¼ãã¼ãªã½ã¼ã¹ã®ç´°ããè¨æ¸¬å¤ãè¤æ°åå¾ãã¦æ¯è¼æ¤è¨ãã¦ã ããã«ããã¯ãåãåãããããã ããã«ããã¯ã®çºçããã¿ã¤ãã³ã°ã¯ãµã¼ãã¼ãªã½ã¼ã¹ãè¨æ¸¬ããã¨ãããããâ å¿çæéï¼æ§è½ããã«ããã¯ãçºçããã¾ã§ã¯ä¸å®ã§æ¨ç§» ï¼ï¼éä¸å¿çé 延ãã¦ããæç¹ã§ããã«ãã㯠ã¹ã«ã¼ãããï¼æ§è½ããã«ããã¯ãçºçããã¾ã§ã¯å¢å ãç¶ãã ï¼ï¼éä¸é æã¡ã«ãªã£ã¦ããæç¹ãããã«ãã㯠â ããã«ããã¯è©³ç´°è¦å ã®åãåãæ¹æ³ ããã«ããã¯ã®ã¿ã¤ãã³ã°ã®ãµã¼ãã¼ãªã½ã¼ã¹ãç¢ºèª ï¼ï¼ãã¼ãåä½ã®åãåããã©ã®ãµã¼ãã¼ãããã«ããã¯ãï¼ ãããã¯ã¼ã¯æ©å¨ æ§è½éçæã«é¡èã«ãããç¾è±¡ï¼CPU使ç¨ç100%ã帯å使ç¨ç100% 主ãªå£åè¦å ï¼ç©çãã¼ãã®å¦çè½åéç ã·ã¹ãã ãã¹å¦
CEDEC 2012ã§ã¯ãã©ã´ã³ã¯ã¨ã¹ãXã¯ãä¸çã¯ä¸ã¤ããå®ç¾ããããã«ã©ã®ãããªãµã¼ãæ§æã«ãã¦ããã®ãï¼ã¨ãããã¨ã§ããªã³ã©ã¤ã³ä½åã§ãããã©ã¯ã¨Xãæ¯ãããµã¼ãã®æ§æãè¬æ¼ããã¾ããããã²ã¼ã ãµã¼ãã¼ï¼ãããã¯ã¼ã¯ã¨ã³ã¸ã³ãProudNetãã®éçºè ã§ããNettention社ã®CEOã§ããHyunjik Baeããã¯ãéå½ã®ãªã³ã©ã¤ã³ã²ã¼ã ã®ãµã¼ãã¼éçºã¨å©ç¨ã®çµé¨ãéãã¦å¤§è¦æ¨¡ãã¬ã¤ã¤ã¼ã®ããã®ãªã¢ã«ã¿ã¤ã ãããã¯ã¼ã¯åææè¡ã«ã¤ãã¦è¬æ¼ãã¾ããã ãµã¼ãã¼ãã·ã³ï¼å°ã§MMOåææ¥ç¶è æ°10,000åãå®ç¾ããæ¹æ³ | CEDEC 2012 | Computer Entertaintment Developers Conference http://cedec.cesa.or.jp/2012/program/AB/C12_I0284.html Hyunjik Baeï¼ ããã«ã¡
Jmeterã§é·æéã®ãã¹ã Jmeterã§Webã®è² è·ãã¹ãããããã¨èãã¦ããã®ã§ããããã¹ãã®çµã¿ç«ã¦æ¹ã§è¦æ ®ãã¦ãã¾ãã ãã¹ãå 容ã¯ãæ¥åæéå ã«æ®éã«å©ç¨ããã¦ãããããã®è² è·ãæ¥åæéåãããã¨ãã£ããã®ã§ãã 大ä½ã10åã§100ã¦ã¼ã¶ã¼ï¼6ç§ã§1ã¦ã¼ã¶ã¼ï¼ç¨åº¦ã®ã¢ã¯ã»ã¹ãèãã¦ãã¾ãã ãã®å ´åã600ç§ã§100ã¹ã¬ããããç¡éã«ã¼ãã§ç¹°ãè¿ãã¦ãã¹ã±ã¸ã¥ã¼ã©ã§ä¸å®æéå®è¡ããè¨å®ã«ããã¨ãæããã«6ç§ã§1ã¦ã¼ã¶ã¼ä»¥ä¸ã®ã¢ã¯ã»ã¹æ°ãçºçãã¦ãã¾ã£ã¦ãã¾ãã ããã¯ãJmeterã®ã«ã¼ãã®æ¦å¿µããã·ããªãªãç¹°ãè¿ãã®ã§ã¯ãªããã¹ã¬ããèµ·åæã®åæã¢ã¯ã»ã¹æ°ãã«ã¼ãã®æ°ã ãçæããåãã§ãããã¨ããåä½ã«èµ·å ãã¦ãããã®ã¨æãã¾ãï¼ä»¥ä¸ã®ããã°ãåèã«ãã¾ããï¼ã http://ameblo.jp/itboy/entry-10165742598.html ãã¨ãã£ã¦ãéã«å®è¡
ããã«ã¡ã¯ããã¼ãã¬ã¤ã¯ã·ã¹ãã ãºã®æ¨ä¸ã§ããã第7åï¼Apache+SSLç°å¢ãæ§ç¯ãããï¼ãã¯SSLã®ã¡ã«ããºã ã«ã¤ãã¦è§£èª¬ãã¾ãããä»åã¯ãApacheã®åºæ¬çãªè¨å®ã»ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã®ãã¤ã³ãã«ã¤ãã¦è§£èª¬ãã¾ãã Apacheã¯ãhttpd.confã¨ããããã¹ããã¡ã¤ã«ã«ããã£ã¬ã¯ãã£ãï¼å½ä»¤ãã³ãã³ãã®æï¼ãã¨å¼ã°ããå°ç¨ã®å½ä»¤ãè¨è¿°ãããã¨ã§è¨å®ãã¾ããæ¨æºApacheé å¸ã«å梱ããã¦ãããã£ã¬ã¯ãã£ãã ãã§ç´330ãããã¾ããé常ã«æ°ãå¤ãã®ã§ãæåãããã¹ã¦ãè¦ããå¿ è¦ã¯ããã¾ãããå¿ è¦ã«å¿ãã¦1ã¤1ã¤ç解ãã¦ããã¾ãããã ä»åã¯ãè¨å®ãã¡ã¤ã«ã®æ¸ãæ¹ã代表çãªãã£ã¬ã¯ãã£ããããã¤ãç´¹ä»ãã¾ãããã²çãããæãåããã¦ã試ãã¦ã¿ã¦ãã ããã Apacheè¨å®ãã¡ã¤ã«ã®æ§æã¯é常ã«åç´ã§1è¡ã«1ã¤ã®ãã£ã¬ã¯ãã£ãããæ§æããã¦ãã¾ããã¯ããã«ãã£ã¬ã¯ãã£ããè¨
å°¾è¤æ£äººã§ãã ã¢ã¯ã»ã¹æ°ã®å¤ãã³ã³ã·ã¥ã¼ãåãã® web ãµã¼ãã¹ã¯ãå¦çé度ãããªãéè¦ã«ãªã£ã¦ãã¾ãã å¿çé度ãé ãã¨ä½¿ç¨ãã¦ããã¦ã¼ã¶ã«ã¨ã£ã¦ã¹ãã¬ã¹ã«ãªãã¾ããã å¦çã«æéããããã°ãµã¼ãã«å¯¾ããè² è·ãé«ããªãã¾ã(å³å¯ã«è¨ãã¨éã)ã ããã§ã¦ãã¦ã§ã¯ãããããªå·¥å¤«ããã¦å¦çé度ã®é«éåãè¡ã£ã¦ãã¾ãã ä¸å£ã«é«éåã¨ãã£ã¦ããããããªè¦ç´ ãããã¾ããã大ããåãã¦3ã¤ã®æ®µéãããã¾ãã ã»ãã¼ãã¦ã§ã¢ã«ããé«éå ã»ã½ããã¦ã§ã¢ã«ããé«éå ã»ããã°ã©ã ã®å·¥å¤«ã«ããé«éå ããããããã3ã¤ã¯ç¬ç«ã§ã¯ãªããäºãã«å½±é¿ããã£ã¦ããã®ã§å®å ¨ã«åãã¦èãããã¨ã¯ã§ãã¾ããã ãããããã©ã®ãããªé¨åã«å½±é¿ãä¸ãã¦ããã®ããã¡ããã¨ç解ãã¦ãã¥ã¼ãã³ã°ãããã¨ã大äºã§ãã ãã ããé«éåããã¨ãã«å¿ãã¦ãããªãã®ããé«å¯ç¨æ§ã§ãã ãããé«éã«åä½ãã¦ãå®å®ãã¦åä½ã
Apache ã® MPMãprefork 㨠worker ã«ã¤ãã¦æ¤è¨¼ãã¦ã¿ã¾ãããMPM ã£ã¦ã®ã¯ Multi-Processing Module ã®ç¥ã§ã大éã®ãªã¯ã¨ã¹ããåæ»ã«å¦çããããã«ã©ãããããã£ã¦ã®ãå®è£ ãã¦ããé¨åã§ããApache ã§ã¯ããã®ãããªã½ããã¦ã§ã¢ã®ä¸æ ¸ã¨ãè¨ããé¨åãã¢ã¸ã¥ã¼ã«ã¨ãã¦äº¤æå¯è½ã«ãã¦ããã®ã§ãããããã§ããã詳ãã㯠Apache ã®ããã¥ã¡ã³ããèªãã§ãã ããã ãã«ãããã»ãã·ã³ã°ã¢ã¸ã¥ã¼ã« (MPM) â Apache HTTP ãµã¼ã ã§ãprefork 㨠worker ã®éãã¯ãåããã»ã¹ã®èµ·åæ¹å¼ãããã»ã¹ãã¹ã¬ãããã£ã¦ããç¹ã§ãããprefork 㯠ã¢ã¯ã»ã¹æ°ï¼ããã»ã¹æ° ãªã®ã«å¯¾ãã¦ãworker 㯠ã¢ã¯ã»ã¹æ°ï¼ã¹ã¬ããæ° ã«ãªãããã ã大éã®ã¹ã¬ããã 1 ã¤ã®ããã»ã¹å ã§å®è¡ããã¨å¼å®³ãããããã®ã§ãworker
ãä¹ ãã¶ãã§ããåãã¦ã®æ¥æ¬ã®å¤ã«å§åããã¦ãããã¼ã«ãã¨ãµã«ã§ãã ä»æ¥ã¯Linuxã«ããããããã¯ã¼ã¯ããã°ã©ãã³ã°é¢é£ã®ãã¿ã§ããåæ£ãã¼ã¿ãã¼ã¹ãµã¼ãã®éçºéç¨ã§æè¿ããLinuxã®epollã¨ããã¤ãã³ããã³ããªã³ã°æ©è½ã使ã£ã¦ãã¾ãããããã¾ãåªç§ãªæ©è½ãªã®ã§ç´¹ä»ãã¾ãã ãã®Contextã§ããã¤ãã³ããã³ãã©ã¼ã¯ãµã¼ããã¯ã©ã¤ã¨ã³ãã®ãªã¯ã¨ã¹ããå¦çããããã®ã¡ã«ããºã ã§ããã¤ãã³ãã®æç¥ã¨éç¥ã¯å¤§éæã«ããã¨ä»¥ä¸ã®ä¸ã¤ã®å¦çã§æ§æããã¦ãã¾ãï¼ ä¸ã¤ãããã¯è¤æ°ã®ãã£ã¹ã¯ãªãã¿ãç£è¦ ãã£ã¹ã¯ãªãã¿ã®æºåãæ´ãã¾ã§ããå ¬ã®ãã¨ãã²ãããå¾ ã¡ç¶ãã æºåãæ´ã£ããã£ã¹ã¯ãªãã¿ã®éç¥ ã¢ããªã±ã¼ã·ã§ã³ã§ã®å®è£ ã¯ä¸æã¾ã§select(2)ããããã¯poll(2)ã¨ããã·ã¹ãã ã³ã¼ã«ã§è¡ããã¦ãã¾ãããäºã¤ã¨ãå½¹ç®ã¯åãã§ããselect(2)ã®å ´åãkernelãããããªãéã
å®ã¯ä»¥åã«å¥ã®å ´æã§ãæ¸ããã®ã§ãããä»åGoogle Page Speedã®æ¹ã§ãå°ãã ã触ãããã¦ããã®ã§ãæ¹ãã¦ã¾ã¨ãã èªåã§ãçµé¨ããããã¨ãªã®ã§ãããéçºããã£ã¦ããã¨ã©ããã¦ããæ§é ãã¢ã¸ã¥ã¼ã«åãã¦è¤æ°ã®ãã¡ã¤ã«ã«åå²ãã¦ç®¡çããããªãã¾ãã StyleSheetã«ããã¦ãåæ§ã§ããã¬ã¼ã³ãã¼ã·ã§ã³å±¤ã®ã³ã³ãã¼ãã³ãã«ãããã¦CSSãç¨æãããã¼ã¸æ§æã«ãããã¦åãè¾¼ããããªãã¨ããããããªãã§ãããã ããããã®éã@importæ§æã使ãã®ã¯ããã©ã¼ãã³ã¹ã¨æåã®ä¸¡æ¹ã«æ害ã§ããå¯è½æ§ãé«ãã¨ãããã®èè ã¨ãã¦ãç¥ãããSteve Soudersæ°ãè¦éãé³´ããã¦ãã¾ãã 使ãã¹ãã§ãªããã¤ã³ã @importã¯ã大ããåãã¦2ã¤ã®è¦³ç¹ã§ã使ãã¹ãã§ãªããã¨ããã¦ãã¾ãã ã²ã¨ã¤ã¯ãããã©ã¼ãã³ã¹ã®åé¡ãStyleSheetã¯ã»ã¼å ¨ã¦ã®ä¸»è¦ãã©ã¦ã¶ã§ãã©ã¬ã«ãã¼ãããµã
å¤é¨ã¹ã¿ã¤ã«ã·ã¼ãã®æå®ã¯@importã¨linkã§ã©ã¡ãããããã¨ãæ¸ç±ããã¤ããã©ã¼ãã³ã¹Webãµã¤ã âé«éãµã¤ããå®ç¾ãã14ã®ã«ã¼ã«ãã®@importã¯ããã©ã¼ãã³ã¹ã«æªå½±é¿ãä¸ãããã¨ã«ã¤ãã¦ã®ãã©ãã¼ã¢ãããç´¹ä»ãã¾ãã don't use @import å 容ã¯ãIEã§ã¯@importã§å¤é¨ã¹ã¿ã¤ã«ã·ã¼ããæå®ããã¨ãããã©ã¼ãã³ã¹ã«æªå½±é¿ãä¸ããã®ã§ä½¿ç¨ããªãã§ãã ãããã¨ãããã®ã§ãã ä¸è¨ã¯ãå¤é¨ã¹ã¿ã¤ã«ã·ã¼ãã@importã¨linkãçµã¿åããã¦ãããããã®ããã©ã¼ãã³ã¹ãæ¯è¼ãããã®ã§ããã£ããã£ã¯ãã®ãµã¤ãã®ãã®ã¨ãåèã«å½ç°å¢ã§IE7/Fx3(XP)ãæ¤è¨¼ãããã®ã§ãã @import @import 2ã¤ã®å¤é¨ã¹ã¿ã¤ã«ã·ã¼ãã@importã§æå®ã <textarea name="code" class="html" cols="60" rows="5">
ãã使ãããã«ãªã£ã JavaScript ã©ã¤ãã©ãªã® jQuery ãç°¡åã«ç´¹ä»ã jQueryã®ä½¿ãæ¹ ã¾ã jQueryããã¦ã³ãã¼ããã¦å©ç¨ãã html ã§ãã¼ãããããã«ãã¾ããããã¦ãCSSã¯ã©ã¹ãCSS ID ã«å¯¾ãã¦åä½ããããå 容ï¼ã¢ã¯ã·ã§ã³ï¼ãé¢æ°ã§å®ç¾©ãã¾ããã©ã®ããã« jQuery ãåä½ãããç°¡åãªå³ã以ä¸ã«ç¤ºãã¾ãã ãã®ä¾ã§ã¯ã"ãã¿ã³"ãªã³ã¯ãã¯ãªãã¯ãããããé ãã¦ãã"panel"ãã¹ã©ã¤ã表示ããããã®ã§ãã å®éã®åä½ä¾ï¼ âãã¿ã³ $()é¢æ° jQuery ã®ãã£ã¨ãåºæ¬ã¨ãªãæä½ã¯ $() é¢æ°ãå©ç¨ãããã¨ã§ãããã®é¢æ°ã§æä½ããã対象ãé¸ã³ãæ§ã ãªæä½ãè¡ããã¨ãã§ãã¾ãã$()ã®æå®æ¹æ³ã¯ãCSSã¨XPathã©ã¡ãã§ãå©ç¨ã§ãã¾ãã æå®å ´æï¼ã»ã¬ã¯ã¿ï¼ æ¦è¦ ä¾
J2EEãããã·ã§ã³ã¯ãªãã£ã«ã«ãªåéã«é©ç¨ãããããã«ãªããJavaã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã®éè¦æ§ã¯ããã«é«ã¾ã£ã¦ãã¾ããããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã«ã¯ãã¾ãã¾ãªãã©ã¡ã¼ã¿ãããã¾ãããä¸ã§ãJava VMã«é¢é£ãããã¥ã¼ãã³ã°ã®å¹æã¯å¤§ããã¨ãããã¦ãã¾ããæ¬ç¨¿ã¯ãJava VMã«é¢é£ãããã¥ã¼ãã³ã°ææ³ãå¦ã¶ããã®åæç¥èãæä¾ãããã¨ãç®çã«ãã¦ãã¾ãï¼ç·¨éé¨ï¼ã Java VMã«é¢é£ãããã¥ã¼ãã³ã°ãè¡ããJ2EEã¢ããªã±ã¼ã·ã§ã³ã®ããã©ã¼ãã³ã¹ãä¸ããããã«ã¯ãJava VMã«ã¤ãã¦è©³ããç¥ãå¿ è¦ãããã¾ããæ¬ç¨¿ã¯2åã«æ¸¡ã£ã¦Java VMã®åºæ¬æ§é ã¨åä½åçã詳細ã«è§£èª¬ãã¾ãããå 容ãç解ããããã«ã¯ããã°ã©ã ãã³ã³ãã¥ã¼ã¿ä¸ã§åä½ããåºæ¬åçã¨Java VMã®åºæ¬ç¨èªãç¥ã£ã¦ããå¿ è¦ãããã¾ããJava VMã®åºæ¬ç¨èªã«é¢ãã¦ã¯ããå®è¡ã¹ãã¼ãã«ææ¦ããJavaã¢ã¼ã
Permanenté åã®ãã¥ã¼ãã³ã° JVMã«ã¯Permanenté åã¨å¼ã°ãããã¼ãé åãããã¾ããããã«ã¯ã¯ã©ã¹å®ç¾©ãã¡ã½ããããã£ã¼ã«ããªã©ã®ã¡ã¿ãã¼ã¿ãæ ¼ç´ããã¾ãã Permanenté åã®ããã©ã«ãã®ãµã¤ãºã¯ãä¸è¬çãªã¢ããªã±ã¼ã·ã§ã³ã«ã¨ã£ã¦ååãªå¤§ããã«è¨å®ããã¦ãã¾ããããããã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦ã¯é常ã«å¤ãã®ã¯ã©ã¹ããã¼ããããã®ããããPermanenté åã足ããªããªããã¨ãããã¾ããä¾ãã°ãJSPããµã¼ãã¬ãããå¤ç¨ããã¢ããªã±ã¼ã·ã§ã³ï¼ã¢ããªã±ã¼ã·ã§ã³ãµã¼ããªã©ï¼ã¯ãããã©ã«ãã®Permanenté åãµã¤ãºã§ã¯è¶³ããªããªãã次ã®ãããªã¨ã©ã¼ãçºçãããã¨ãããã¾ãã $ java ManyClassLoadingTest Permanent generation is full... increase MaxPermSize (current capacity
æ¥ç«ãªã¼ãã³ããã«ã¦ã§ã¢ã¯ãã客æ§ã®æ¢åã®è²¡ç£ãçãããªãããé«ãä¿¡é ¼æ§ã¨æè»æ§ãèªå¾æ§ãåããITã·ã¹ãã ã®å®ç¾ãæ¯ãã¦ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}