Tag: kernel panic

  • kernel: INFO: task khugepaged:342 blocked for more than 120 seconds解决办法

    报错信息: Jun  4 19:30:02 newsclient kernel: INFO: task khugepaged:342 blocked for more than 120 seconds. Jun  4 19:30:02 newsclient kernel:      Tainted: G           ————— H  2.6.32-431.el6.x86_64 #1 Jun  4 19:30:02 newsclient kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message. Jun  4 19:30:02 newsclient kernel: khugepaged    D 0000000000000001  …

  • kernel panic 发生后自动重启服务器

    第一个方法: 添加一行到系统文件: /etc/sysctl.conf: kernel.panic = 30 这个表示发生kernel panic后30秒会重启服务器,默认情况下永远也不会重启。 第二个方法: 加到 grub/lilo 启动选项 kernel /vmlinuz-2.6.18-53.1.19.el5.centos.plus ro root=/dev/md2 selinux=0 console=tty0 console=ttyS0,9600 panic=30 lilo里配置文件 lilo.conf 加一行 append=”panic=30″ 例子: # Linux bootable partition config begins image = /boot/vmlinuz-2.6.18 root = /dev/md0 label = Slack-2.6.18 read-only # Changes for serial console on COM1: in each image section append=”panic=30 mem=1024M console=tty0…