Friday, 29th March 2024

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

Recent comments by

Share this on:

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

No Responses to “…”

  1. Elisha Kertz says:
    Firefox 3.5.3 Firefox 3.5.3 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

    Great post. Thanks!

    View CommentView Comment
  2. mahmood says:
    Firefox 5.0 Firefox 5.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0

    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?

    View CommentView Comment
  3. admin says:
    Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

    Hi mandhood,

    Here is the answers:

    1.If you put the settings inside /etc/sysctl.conf on next reboot you don’t need sysctl -p

    2. I think watchdog is not mandatory, however it’s recommended since at many cases the system could freeze without a kernel panic and then you will need reboot.

    View CommentView Comment
  4. mahmood says:
    Firefox 5.0 Firefox 5.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0

    You mean that if server hangs without kernel panic message, the watchdog can detect that and ‘kernel.panic’ will operate after 20 seconds. Right?

    View CommentView Comment
  5. admin says:
    Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

    aha 🙂
    Best!
    Georgi

    View CommentView Comment
  6. hip0 says:
    Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

    Just a small note it might be better to set the kernel panic to be kernel.panic = 10 or kernel.panic = 1 to restart the hanged server faster

    View CommentView Comment