You are here: Home > Linux, Tips&Info > Reboot your Linux Machine automatically after a kernel panic

Reboot your Linux Machine automatically after a kernel panic

Someday and somehow your Linux machine stuck and when you consoling that machine, there is kernel panic message appears on the screen, here’s little tips , by default the kernel will not reboot after a panic , but this option will cause a kernel reboot after ‘N’ seconds

Tools required:
-)Linux OS running on your Server/Computer/Notebook with root access
-)5 minutes of less

-)Open your /etc/sysctl.conf file
-)Add this line
kernel.panic = 10
-)Save your /etc/sysctl.conf file, you can either reboot your machine or execute this command to reload sysctl to your kernel
sysctl -p

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

One Response to “Reboot your Linux Machine automatically after a kernel panic”

  1. Hi there, I found your web site by way of Google whilst searching for a similar subject, your site came up, it appears to be like great. I have bookmarked to my favourites|added to bookmarks.