All for Joomla All for Webmasters

Kernel Panic Reboot in Linux


By default after a kernel panic, Linux kernel just waits there for a system administrator to hit the Ctrl+Alt+Del to restart or power cycle button. This is because of the value set on “kernel.panic” parameter to Linux Kernel.
# cat /proc/sys/kernel/panic
0
or
# sysctl -a | grep kernel.panic
kernel.panic = 0
To disable this and make the Linux OS reboot after a kernel panic, we have to set an integer N greater than zero to “kernel.panic”, where “N” is the number of seconds to wait before a automatic reboot.
# echo “10″ > /proc/sys/kernel/panic
0
# grep kernel.panic /etc/sysctl.conf
kernel.panic = 10
Note: To make this permanent, edit /etc/sysctl.conf and set it.

 


Like it? Share with your friends!

1 SHARES
0
1 SHARES, 0 points

Kernel Panic Reboot in Linux

log in

Become a part of our community!

reset password

Back to
log in
Choose A Format
Personality quiz
Trivia quiz
Poll
Story
List
Meme
Video
Audio
Image