ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÈçºÎÕýÈ·ÈÏʶMysqlͨÐÅ´íÎóÓëʧЧÁ¬½Ó

·¢²¼Ê±¼ä:2008-07-30 09:43:29À´Ô´:ºìÁª×÷Õß:Austria
¶ÔÓÚÁ¬½ÓÎÊÌ⣬·þÎñÆ÷´íÎóÈÕÖ¾ÊÇÓÐÓõÄÐÅÏ¢Ô´¡£Èç¹û·þÎñÆ÷ÊÇÓá°--log-warnings¡±Ñ¡ÏîÆô¶¯µÄ£¬ÔÚ´íÎóÈÕÖ¾ÖпÉÄܻᷢÏÖÏÂÊöÏûÏ¢£º

010301 14:38:23¡¡Aborted connection 854 to db: 'users' user: 'josh'

Èç¹û¡°Aborted connections¡±£¨·ÅÆúÁ¬½Ó£©ÏûÏ¢³öÏÖÔÚ´íÎóÈÕÖ¾ÖУ¬¿ÉÄܵÄÔ­ÒòÊÇ£º

1.¿Í»§¶Ë³ÌÐòÔÚÍ˳ö֮ǰδµ÷ÓÃMySQL_close()¡£

2.¿Í»§¶ËµÄ¿ÕÏÐʱ¼ä³¬¹ýwait_timeout»òinteractive_timeoutÃ룬δÏò·þÎñÆ÷·¢³öÈκÎÇëÇó¡£

3.¿Í»§¶ËÔÚÊý¾Ý´«ÊäÖÐ;ͻȻ½áÊø¡£

³öÏÖÕâÀàÇé¿öʱ£¬·þÎñÆ÷½«Ôö¼Ó¡°Aborted_clients¡±£¨·ÅÆú¿Í»§¶Ë£©×´Ì¬±äÁ¿¡£

³öÏÖÏÂÊöÇé¿öʱ£¬·þÎñÆ÷½«Ôö¼Ó¡°Aborted_clients¡±£¨·ÅÆú¿Í»§¶Ë£©×´Ì¬±äÁ¿¡£

?¿Í»§¶Ë²»¾ßÓÐÁ¬½ÓÖÁÊý¾Ý¿âµÄȨÏÞ¡£

?¿Í»§¶Ë²ÉÓÃÁ˲»ÕýÈ·µÄÃÜÂë¡£

?Á¬½ÓÐÅÏ¢°ü²»º¬ÕýÈ·ÐÅÏ¢¡£

?»ñÈ¡Á¬½ÓÐÅÏ¢°üµÄʱ¼ä³¬¹ýconnect_timeoutÃë¡£

Èç¹û³öÏÖÕâÀàÇé¿ö£¬¿ÉÄܱíÃ÷ijÈËÕýÊÔͼÇÖÈëÄãµÄ·þÎñÆ÷£¡

¶ÔÓÚ·ÅÆú¿Í»§¶Ë»ò·ÅÆúÁ¬½ÓÎÊÌ⣬ÆäËû¿ÉÄܵÄÔ´Ó¦°üÀ¨£º

?ÓëLinuxÒ»ÆðʹÓÃÒÔÌ«ÍøЭÒ飬°ëË«¹¤»òÈ«Ë«¹¤¡£ºÜ¶àLinuxÒÔÌ«ÍøÇý¶¯¾ù´æÔÚ¸ÃȱÏÝ¡£Ó¦Í¨¹ýFTPÔÚ¿Í»§¶ËºÍ·þÎñÆ÷»úÆ÷Ö®¼ä´«Êä´óÎļþÀ´²âÊÔ¸ÃȱÏÝ¡£Èç¹û´«Êä´¦ÓÚburst-pause-burst-pause£¨±¬·¢-ÔÝÍ£-±¬·¢-ÔÝÍ££©Ä£Ê½£¬±íÃ÷ÄãÓöµ½ÁËLinuxË«¹¤¹ÊÕÏ¡£Î¨Ò»µÄ½â¾ö·½·¨ÊÇ£¬½«Íø¿¨ºÍHub/½»»»Æ÷µÄË«¹¤Ä£Ê½Çл»ÎªÈ«Ë«¹¤»ò°ëË«¹¤£¬²¢¶Ô½á¹û½øÐвâÊÔÒÔÈ·¶¨×î¼ÑÉèÖá£

?ÓëÏ߳̿âÓйصÄijЩÎÊÌâµ¼Ö¶ÁÈ¡Öжϡ£

?ÅäÖò»Á¼µÄTCP/IP¡£

?ÓÐÎÊÌâµÄÒÔÌ«Íø¡¢Hub¡¢½»»»Æ÷¡¢µçÀµȡ£½öÄÜͨ¹ý¸ü»»Ó²¼þ²ÅÄÜÇ¡µ±Õï¶Ï¡£

?±äÁ¿max_allowed_packet¹ýС»ò²éѯҪÇóµÄÄڴ泬¹ýΪmysqld·ÖÅäµÄÄÚ´æ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ