Thanks for your article. Two questions: 1- If I reboot the …

Friday, 29th March 2024

Comment on How to automatically reboot (restart) Debian GNU Lenny / Squeeze Linux on kernel panic, some general CPU overload or system crash by mahmood.

Thanks for your article. Two questions:
1- If I reboot the server manually (for service), then should I run “sysctl -p” again or only once it is needed?
2- Is it mandatory to use “watchdog” in order for “kernel.panic” to work or it is an independent package?

mahmood Also Commented

How to automatically reboot (restart) Debian GNU Lenny / Squeeze Linux on kernel panic, some general CPU overload or system crash
You mean that if server hangs without kernel panic message, the watchdog can detect that and ‘kernel.panic’ will operate after 20 seconds. Right?


Recent Comments by mahmood

Reboot Safely a frozen (hanged up) Linux Server with Magic SysRQ Key combination
Hi
One thing that is vague for me is that I remember upon a kernel panic, the num lock led is no longer working. Mean that the keyboard is also not responsive. So I wonder how that magic key work?


Reboot Safely a frozen (hanged up) Linux Server with Magic SysRQ Key combination
thanks.

One thing that is vague for me is that how someone can send magic sysrq from keyboard without sitting in front of server? Since all server activities are done remotely and normally we use putty to connect remotely. In case of a kernel crash, network is down and you can not ssh to a crashed server.


Reboot Safely a frozen (hanged up) Linux Server with Magic SysRQ Key combination
You did not mention how to test if it is enabled

>Now to check if the magic sysrq is enabled
>on a server one should issue the command:


Share this on:

Comments are closed.