æ¾ä¿¡ããããã£ã¦ããã¾ããã ããã¶ãåãããã¼ã¿ãã¼ã¹ã®ãæ£ãããæ§ç¯ã¨éç¨æ¹æ³ã«ã¤ãã¦ã¾ã¨ããæ¬ã¯ãªãããªã¼ã¨æã£ã¦ã¾ãããèªåã¯ããã¾ã§ãæ§ã ãªãããã¯ã¼ã¯ã¢ããªã±ã¼ã·ã§ã³ã®ããã°ã©ãã³ã°ããã¼ã¿ãã¼ã¹ã®è¨è¨ããã¥ã¼ãã³ã°ãè¡ã£ã¦ãã¦ãã¾ã*1ããåé¡ã解決ã§ããããã«ã¯è¦ãã¦ããæããã¦ãããæé©ãªè§£æ±ºçã ã£ãã®ãä¸å®ã«æãããã¨ãããã¾ãããããã¯ãä½ç³»çãªç¥èã«æ¬ ãã¦ããããã§ããã ãããç¶²ç¾ çãªæç§æ¸ãã»ãããªãã£ã¦æã£ã¦ããã§ãã ã¨ããã¤ã³ã¿ã¼ãããã§ãã®åãæ¾ä¿¡ããããããã¾æ¸ãã¦ããã£ã¦è©±ãèãã¦ãä¸é¨ãè¦ãã¦ããã ããããããã§ãããã¤ãæ¨æ¥ãæå ã«å±ãã¾ããããã£ããâ ååã¯ãLinux-DBã·ã¹ãã æ§ç¯ï¼éç¨å ¥éãããå ¥éãã¨éæããã¦ãããã®ã®ãåºç¤çãªç¥èããããªããããªãã®ããã©ãå¿ç¨ããã°ããã®ããã¨ãã£ãç¹ã¾ã§åºãã«ãã¼ãã¦ãã*2ãå ¨æ¹ä½çãªéã®ãª
ããã«ã¡ã¯ satoã§ãã ãªããã¹ã§ update ã« whereå¥ãä»ãå¿ããããããã°ã©ã ã®ãã°ã§ãã¼ã¿ãç ´æãã¦ãã¾ã£ããããå ´åã§ãããã¤ããªãã°ã«ã¯æ´æ°SQLããã¹ã¦æ¸ãè¾¼ã¾ããã®ã§ãããã¯ã¢ãããã¼ã¿ãããªããã¹ãèµ·ããã¾ã§ã®å ¨ã¦ã®SQLãæµãè¾¼ããã°ãå ã®ç¶æ ã«æ»ããã¨ã¯å¯è½ã§ãã â¢ãã¤ããªãã°ãåã£ã¦ãã â¢ãªã³ã©ã¤ã³ããã¯ã¢ãããã¨ã£ã¦ãã(mysqldumpãMySQLãæ¢ããç¶æ ã§ã®cpã«ããããã¯ã¢ããã¨ãã¤ããªãã°) â¢ããã¯ã¢ããæç¹ã§ã®ãã¤ããªãã°ã®æ¸ãè¾¼ã¿ä½ç½®ãä¿åãã¦ãã 以ä¸ã®ãããªç¶æ ã§ãã¼ã¿ãå£ããæã®å¾©æ§æé ãã¾ã¨ãã¦ã¿ã¾ãããã·ããªãªã¨ã㦠â¢ãã1ã«ã©ã email ãupdateãããã¨ããããééã£ã¦where å¥ãä»ãå¿ã å ¨ã¬ã³ã¼ããupdateãã¦ãã¾ã£ã â¢æ°ãã¤ããã®ãåæ¥å¾ ã¨ãããªããã¹ãçºçããã¨ãã¾ã 1) ãã¼ã¿ãã¼
Cã§ããã°ã©ã ãæ¸ãã¦ãã¦å¤§éã®ã¡ã¢ãªã確ä¿ããããªã£ãã¨ãã大æµã¯ mallocã使ãã¨æãã¾ããããã®éã«ã¯æ»ãå¤ãNULLãã©ãããå¤æãã¦ã¨ã©ã¼å¦çã«é£ã°ãã¨æãã¾ããããããLinux ã®ã¡ã¢ãªç®¡çãµãã·ã¹ãã ã«ã¯ãã¡ã¢ãªã»ãªã¼ãã¼ã³ããããã¨ããæ©æ§ããããå®è£ ããã¦ããã¡ã¢ãªä»¥ä¸ã®é åã確ä¿ã§ãã¦ãã¾ãã¾ãã #include <stdio.h> #include <stdlib.h> int main() { int i; char *p; for(i=0;i<65536;i++){ p = (char *)malloc(65536); if(0 == (long)p){ break; } } printf("SIZE=%dMB\n",i*65536/1024/1024); return(0); } swapoff ããã¡ã¢ãª 1G ã®ãã·ã³ã§ãããå®è¡ããã¨ãããªæãã«ãª
å¹´æ«å¹´å§ä¼æ¥ã®ãç¥ãã ã客æ§åä½ æ¯åº¦æ ¼å¥ã®ãæ顧ãããè³ããããã¨ããããã¾ãã èª ã«åæãªããä¸è¨æ¥ç¨ã§ä¼æ¥ã¨ããã¦ããã ... NEWS ã¢ã³ã¿ã¹ã®ã¨ã³ã¸ãã¢ãç°æ¥ç¨®ããã®è»¢è·4 ã¨ã³ã¸ãã¢ç´¹ä» 塾è¬å¸«ã¨ãã¦çç³»ã®åé¨çã®ããã«å°½åãã¦ãã鶴谷åãåè·ã§WEBã·ã¹ãã ã«æºãã£ããã¨ãã... BLOG
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}