How to automatically reboot the server on kernel panic?

HostStud

Administrator
Staff member
You can edit /etc/sysctl.conf and put "kernel.panic = 30"
It will reboot the server after 30 seconds of kernel panic.

In SSH

# echo 30 > /proc/sys/kernel/panic
# /sbin/sysctl -p
 
Top