The VPS this site is hosted on has a tendancy to kernel panic since I upgraded the kernel to 2.6. I'm not sure why, and the ticket I opened requesting help was replied by someone saying I should check the console. Fat lot of good that did me when this site was down for a few hours.
Help is at hand however in the shape of Mark Ferlatte who mentioned that adding the following to /etc/sysctl.conf and running sysctl -p will make Linux reboot after 5 seconds! Adjust to taste:
kernel.panic = 5
Hopefully we'll have less downtime here.

2 Comments
Donncha (1707 comments.) on August 14, 2006 at 8:23 am.
So much for that. The site was down for the last 3 hours.
MrCorey (1 comments.) on August 16, 2006 at 11:22 pm.
I was just going to try that with the little box I had at home.