ã©ãã¾ã§åºæ¥ãã?!ãããã¨ããã¾ã§ãã£ã¦ããã!!ã¨ãå¨å¢ãè¯ãã®ã¯è¥ãéã ãã®è©±ããªããã®ãªãã³ã¯ãæ»ããã¨ãã¯ã¨ãã¨ãæ»ãããèªãã®éçãããã¾ãã¦è³¢ãæ¯ãèãã®ãã¹ãã¼ãã£ã¦ãã®ã§ãããã¨ããããã§ãä»æ¥ã¯MySQLã®ãããããªéçã«ã¤ãã¦ã¾ã¨ãã¦ã¿ããçãããæ¯éMySQLã®éçãç¥ããMySQLããã£ã¨ã¹ãã¼ãã«ä½¿ã£ã¦é ãããã SQLæã®æå¤§é· MySQLãµã¼ãã¼ãå®è¡åºæ¥ãSQLæã®æ大é·ã¯ãmax_allowed_packetã·ã¹ãã å¤æ°ã§è¡¨ããããmax_allowed_packetã®æ大å¤ã¯1GBã§ãããmax_allowed_packetã®å¤ã¯ã»ãã·ã§ã³ãã¨ã«ãè¨å®å¯è½ãªã®ã§ãããã©ã«ãã§ã¯ããããã®å¤ï¼16MBãªã©ï¼ã«è¨å®ãã¦ããã¦ãå¿ è¦ã«å¿ãã¦å¤§ããªå¯¾ã使ãã¨è¯ãã ããã ãã¼ã¿ãã¼ã¹ã®åæ° ãã¼ã¿ãã¼ã¹ãªãã¸ã§ã¯ãã®åæ°ã«å¶éã¯ãªãããã¼ã¿ãã¼ã¹ãªãã¸ã§ã¯ãã¯
RedHatç³»Linuxã使ç¨ãã¦ãã¾ãã ä¸ã¤ã®ãã£ã¬ã¯ããªã«ä¿åã§ãããã¡ã¤ã«ã®æ大æ°ã調ã¹ãã«ã¯ã©ã®ããã«ããã°ããããã®ã§ããããã
Linuxã¯1ãã£ã¬ã¯ããªã«å¤§ä½ãã¡ã¤ã«æ°ã 1ä¸ãã¡ã¤ã«ä½ï¼ã¾ã大ä½5000ãã¡ã¤ã«ã§ãããã»ããç¡é£ããªï¼ï¼ æºãè¾¼ããã¨èããã®ã§ãã 1ãã£ã¬ã¯ããªå ã®ãã£ã¬ã¯ããªæ°ã®å¶éã¯ããã®ã§ããããï¼ ä»ã1ãã£ã¬ã¯ããªå ã«å¤§ä½800ãã£ã¬ã¯ããªä½æããã㨠æã£ã¦ããã®ã§ããã大ä¸å¤«ã§ããããï¼
Webã·ã¹ãã ã®ã»ãã·ã§ã³ãã¼ã¿ããã¡ã¤ã«ã§æã¨ãã¨æãã®ã§ããã 1ãã£ã¬ã¯ããªã«ä½ããæ大ãã¡ã¤ã«æ°ã«ä¸éã¯ããã¾ããï¼ ç¡éã¨ãã人ãããã°ãæ°ååãããã§è¾ãã¦ãããæ¹ãããã¨ãã人ã ãã¾ãããã©ã¡ããªãã§ãããï¼ CentOS 5ã§ãã ï¼ããã¾ããããã¡ã¤ã«ã·ã¹ãã ã¯ä¸æã§ããï¼
PHPã§å¦çã«æéã®ãããã¹ã¯ãªãããå®è¡ããã¨ä»¥ä¸ã®ãããªã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ãããå ´åãããã¾ãã Fatal error: Maximum execution time of 60 seconds exceeded (æ¥æ¬èªè¨³ -> è´å½çãªèª¤ã: è¶ ãããã¦ããæ大60ç§ã®å®è¡æé) ç°¡åã«è¨ãã¨ãã60ç§å¾ ã£ããã©å¿çãæ»ã£ã¦ããªãããã¿ã¤ã ã¢ã¦ãã¨ã©ã¼ã«ãã¾ãããã¨ããæãã§ãã ããã解決ããã«ã¯PHPã®è¨å®ãªãã·ã§ã³ã§ãããmax_execution_timeãã®è¨å®å¤ãå¤æ´ãã¾ãã php.iniã§è¨å®ãã ãmax_execution_timeãã¯php.iniã§ããã©ã«ãå¤ãè¨å®ããã¦ãã¾ãã ããã©ã«ãã¯60ç§ãªã®ã§ãããã120ç§ã180ç§ã«ãããã¨ã§ãã¿ã¤ã ã¢ã¦ãã¾ã§ã®æéã延ã°ãäºãåºæ¥ã¾ãã 0ç§ãæå®ããå ´åã¯ããã¿ã¤ã ã¢ã¦ããããªããã¨ããè¨å®ã«ãªãå¦
July 25 02:56:12 ******* sm-mta[2411]: NOQUEUE: SYSERR(root): daemon: cannot fork: Resource temporarily unavailable ã¨ãã表示ãåºã¦ããã£ã±ããµã¼ããåããªããªã£ãã åå ï¼ããã»ã¹ãä¸éã¾ã§ä½¿ãããæ°ããããã»ã¹ãç«ã¡ä¸ããããªãã 解決æ³ï¼ããã»ã¹ãæ¶è²»ãã¦ãããµã¼ããã¼ã¢ã³ãªã©ãåæ¢ãããããã»ã¹æ°ãå¶éããã ç¾ç¶å¥ç´ãã¦ãããµã¼ãã§åé¡ãçºçã ä½ããå¥ç´ãã¦ããVPSãµã¼ãã«ä¸éããã»ã¹ï¼ããã»ã¹ã®ä¸éã¨ãã£ãæ¹ãããã®ãï¼ãåå¨ãããããã ãé°ã§ããããã³ãã³ããéããªãï¼sshæ¥ç¶ããããããã»ã¹ã®ä¸éã«éãã¦ãããããsshã®ããã»ã¹ãèµ·åã§ããªãï¼ã ãããªã®èãã¦ãªããã»ã»ã»ã åãæ¢ãããç¡çç¢çã«ã§ã稼åãããªããã°ãªããªãã®ã§ãããã»ã¹ãè¦å®å¤ä»¥
max_allowed_packetã«ã¤ã㦠max_allowed_packetã¨ã¯ãéä¿¡æã«ãããï¼ãã±ããã®æ大ãµã¤ãºãBLOBåï¼ç»åãªã©ã®ãã¤ããªãå ¥ããã«ã©ã ï¼ãå©ç¨ããå ´åãæ大BLOBã«ã©ã é·ãã大ããè¨å®ããå¿ è¦ãããã¾ãã DBD::mysql::st execute failed: Got a packet bigger than 'max_allowed_packet' bytes at /usr/local/yaruo/mysal/DBI.pm line 347max_allowed_packetãå°ããã¨ã¨ã©ã¼ãåºåããã¾ãã max_allowed_packetã®ç¢ºèªæ¹æ³ ä¸è¨çµæã¯ã16Mã§è¨å®ãã¦ããç¶æ ã§ãã mysql> show variables like 'max_allowed_packet'; +--------------------+--
ãµã¦ã¸ã¢ã©ãã¢å½å±ã¯ç¾å°æé8æ10æ¥ãResearch In Motionï¼RIMï¼ãåå½ã®è¦å¶è¦ä»¶ã®ä¸é¨ãæºããåãçµã¿ãè¡ã£ã¦ãããã¨ãåãããBlackBerryãã¡ãã»ã³ã¸ã£ã¼ãµã¼ãã¹ã®ç¦æ¢ãåãæ¶ã決å®ãä¸ãããã¨ãæããã«ããããµã¦ã¸ã¢ã©ãã¢æ¿åºã¯ãBlackBerryãããã¯ã¼ã¯ã®æå·åã»ãã¥ãªãã£ã«ãã£ã¦éä¿¡ãã£ãã«ãç£è¦ã§ãããå½å®¶ã®å®å ¨ãè ããããããããããã¨ãã¦ãBlackBerryã®ä¸»è¦ãªãµã¼ãã¹ã6æ¥ããç¦æ¢ããã¨çºè¡¨ãã¦ãããããã®å¾æçµæ±ºå®ã9æ¥ã¾ã§å»¶æãã¦ããã ãµã¦ã¸ã¢ã©ãã¢ã®éä¿¡æ å ±æè¡å§å¡ä¼ï¼CITCï¼ã¯The Wall Street Journalï¼WSJï¼ãªã©ã¸å®ã¦ãé»åã¡ã¼ã«ã®å£°æã§ããã®æ±ºå®ã¯ããµã¼ãã¹ãããã¤ãã¼ã®è¦å¶è¦ä»¶ã®ä¸é¨ãæºãããã¨ããååããªåãããããããã¨ãã¦ãããRIMãåæããè¦ä»¶ã®è©³ç´°ã«ã¤ãã¦ã¯æããã«ããã¦ããªããã
peclã³ãã³ããåãã¦ä½¿ã£ãã§ãããã¨ã©ã¼ãå¤ãã£ãã解決ã®åå¿é²ãã¡ãªã¿ã«ã¤ã³ã¹ãã¼ã«ããã®ã¯ãimagickã â 1. Allowed memory size of 8388608 bytes exhausted pecl install imagick ã¨æã£ãã [root@localhost ~]# pecl install imagick downloading imagick-2.1.1.tgz ... Starting to download imagick-2.1.1.tgz (74,980 bytes) .................done: 74,980 bytes Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 536342 bytes) in /u
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}