Ó¦¶ÔLinuxϵͳÀú³Ì¿¨ËÀÓëÎÞÏìÓ¦µÄ½â¾ö¼Æ»®
ÔõÑù½â¾ölinuxϵͳÖзºÆðµÄÀú³Ì¿¨ËÀºÍÎÞÏìÓ¦ÎÊÌâ
ÔÚʹÓÃLinuxϵͳʱ£¬ÓÐʱ»áÓöµ½Àú³Ì¿¨ËÀ»òÎÞÏìÓ¦µÄÇéÐΣ¬Õâ²»µ«»áÓ°ÏìϵͳµÄÕý³£ÔËÐУ¬»¹¿ÉÄܵ¼ÖÂÖ÷ÒªÊý¾ÝµÄËðʧ¡£Òò´Ë£¬½â¾öLinuxϵͳÖзºÆðµÄÀú³Ì¿¨ËÀºÍÎÞÏìÓ¦ÎÊÌâÊǺÜÊÇÖ÷ÒªµÄ¡£ÏÂÃ潫ÏÈÈÝһЩ³£¼ûµÄ½â¾öÒªÁì¡£
ʹÓÃkillÏÂÁîÇ¿ÖÆÖÕÖ¹Àú³Ì
µ±Àú³Ì¿¨ËÀ»òÎÞÏìӦʱ£¬¿ÉÒÔʹÓÃkillÏÂÁîÇ¿ÖÆÖÕÖ¹¸ÃÀú³Ì¡£Ê×ÏÈ£¬ÎÒÃÇÐèÒªÕÒµ½¸ÃÀú³ÌµÄPID£¨Àú³ÌID£©£¬¿ÉÒÔͨ¹ýtopÏÂÁî»òpsÏÂÁîÉó²é¡£È»ºó£¬Ê¹ÓÃkillÏÂÁî+PIDÀ´ÖÕÖ¹Àú³Ì¡£ÀýÈ磬ʹÓÃkill -9 PIDÏÂÁî¿ÉÒÔÇ¿ÖÆÖÕÖ¹¸ÃÀú³Ì¡£
ʹÓÃÖØÆôÏÂÁîÖØÆôÀú³Ì
ÓÐʱ£¬ÖÕÖ¹Àú³ÌºóÈÔÈ»ÎÞ·¨½â¾öÎÊÌ⣬Õâ¿ÉÄÜÊÇÓÉÓÚ¸ÃÀú³ÌÊÇϵͳҪº¦Àú³Ì»òÕßÆäËûÀú³ÌÒÀÀµÓÚ¸ÃÀú³Ì¡£ÔÚÕâÖÖÇéÐÎÏ£¬¿ÉÒÔʵÑéʹÓÃÖØÆôÏÂÁîÖØÆôÀú³Ì¡£Ò»ÖÖ³£¼ûµÄÖØÆôÏÂÁîÊÇsystemctl£¬Ê¹ÓÃsystemctl restart Àú³ÌÃû ¿ÉÒÔÖØÐÂÆô¶¯ÏìÓ¦µÄÀú³Ì¡£
ͨ¹ýÉó²éÈÕÖ¾ÎļþÆÊÎöÎÊÌâ
µ±Àú³Ì·ºÆð¿¨ËÀ»òÎÞÏìӦʱ£¬¿ÉÒÔͨ¹ýÉó²éϵͳÈÕÖ¾ÎļþÀ´ÆÊÎöÎÊÌâµÄÔµ¹ÊÔÓÉ¡£ÏµÍ³ÈÕÖ¾Îļþͨ³£´æ´¢ÔÚ/var/logĿ¼Ï£¬³£¼ûµÄÈÕÖ¾Îļþ°üÀ¨syslog¡¢messagesºÍauthµÈ¡£¿ÉÒÔʹÓÃtailÏÂÁîʵʱÉó²éÈÕÖ¾ÎļþµÄ×îÐÂÄÚÈÝ£¬»òÕßʹÓÃcatÏÂÁîÉó²éÕû¸öÈÕÖ¾Îļþ¡£Í¨Ì«¹ýÎöÈÕÖ¾Îļþ£¬¿ÉÒÔÏàʶµ½Àú³Ì±¬·¢ÎÊÌâµÄÔµ¹ÊÔÓÉ£¬´Ó¶øÕÒµ½½â¾öÒªÁì¡£
׼ʱÖØÆôÀú³Ì
ÓÐʱ£¬Àú³Ì·ºÆð¿¨ËÀ»òÎÞÏìÓ¦µÄÎÊÌâ¿ÉÄÜÊÇÓÉÓÚ³¤Ê±¼äÔËÐе¼Öµģ¬Õâʱ¿ÉÒÔ˼Á¿×¼Ê±ÖØÆôÀú³ÌÀ´½â¾öÎÊÌâ¡£¿ÉÒÔʹÓÃcron׼ʱʹÃüÀ´ÉèÖÃ׼ʱÖØÆôÀú³ÌµÄ¾ç±¾£¬ÀýÈçÌìÌìÆÆÏþÖØÆôÒ»´ÎÀú³Ì¡£×¼Ê±ÖØÆô¿ÉÒÔÓÐÓõؽâ¾öÀú³Ì³¤Ê±¼äÔËÐе¼ÖµĿ¨ËÀºÍÎÞÏìÓ¦ÎÊÌâ¡£
¸üÐÂϵͳºÍÈí¼þ
ÓÐʱ£¬Àú³Ì¿¨ËÀ»òÎÞÏìÓ¦µÄÎÊÌâ¿ÉÄÜÊÇÓÉÓÚϵͳ»òÈí¼þµÄbugµ¼Öµģ¬Òò´Ëʵʱ¸üÐÂϵͳºÍÈí¼þÊǽâ¾öÎÊÌâµÄÓÐÓÃÒªÁì¡£¿ÉÒÔͨ¹ý°ü¹ÜÀíÆ÷£¨Èçapt¡¢yum£©À´¸üÐÂϵͳºÍÈí¼þ¡£¸üÐÂϵͳºÍÈí¼þ¿ÉÒÔÐÞ¸´ÒÑÖªµÄbug£¬²¢Ìṩ¸üºÃµÄÎȹÌÐÔºÍÐÔÄÜ¡£
×ܽáÆðÀ´£¬½â¾öLinuxϵͳÖзºÆðµÄÀú³Ì¿¨ËÀºÍÎÞÏìÓ¦ÎÊÌâÐèÒªÎÞаÔËÓòî±ðµÄÒªÁì¡£ÔÚÖÕÖ¹Àú³Ìʱ£¬¿ÉÒÔʹÓÃkillÏÂÁî»òÖØÆôÏÂÁîÀ´½â¾öÎÊÌ⣻ÔÚÆÊÎöÎÊÌâʱ£¬¿ÉÒÔÉó²éϵͳÈÕÖ¾ÎļþÒÔÏàʶÎÊÌâµÄÔµ¹ÊÔÓÉ£»ÔÚ³¤Ê±¼äÔËÐе¼ÖµÄÎÊÌâÉÏ£¬¿ÉÒÔ˼Á¿×¼Ê±ÖØÆôÀú³Ì£»ÔÚϵͳºÍÈí¼þÉÏ£¬¿ÉÒÔʵʱ¸üÐÂÒÔÐÞ¸´ÒÑÖªµÄbug¡£Í¨¹ýÒÔÉϵÄÒªÁ죬¿ÉÒÔ¸üºÃµØ½â¾öLinuxϵͳÖзºÆðµÄÀú³Ì¿¨ËÀºÍÎÞÏìÓ¦ÎÊÌ⣬°ü¹ÜϵͳµÄÕý³£ÔËÐС£
ÒÔÉϾÍÊÇÓ¦¶ÔLinuxϵͳÀú³Ì¿¨ËÀÓëÎÞÏìÓ¦µÄ½â¾ö¼Æ»®µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡