On 23/08/13 04:19, Alexander Farber wrote:
I've ended up doing this (hope it's valid for CentOS 6.4):
# echo 10 > /proc/sys/kernel/panic # echo "kernel.panic=10" >> /etc/sysctl.conf
If your servers have a watchdog timer (most with IPMI/iLO/iDRAC/etc do), you can enable it. The OS will then have to kick the timer periodically to restart it's counter. If the OS panic's, it won't be able to reset the timer. Once the timer expires, it reboots.