How to Restart After A Kernel Panic

November 21st, 2007

This is awesome. :-)

I just read a note at, referenced from that you can set a sysctl setting to reboot after a kernel panic. This has caused me problems in the past, so I'm definitely going to use it.

kernel.panic = 10

To check the current value:

cat /proc/sys/kernel/panic

Just to double check the accuracy, I found these two pages which confirm it:

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022