====== Watchdog ====== [[http://robocraft.ru/blog/3130.html|Raspberry Pi. Поднимаем watchdog]] {{it:raspbian:watchdog:raspberry_pi-_podnimaem_watchdog.mhtml|mht}}\\ [[http://c3bo.ru/watchdog-i-raspberry-pi-avtomaticheskij-perezapusk-pri-zavisanii/|Watchdog и Raspberry Pi. Автоматический перезапуск при зависании]] {{it:raspbian:watchdog:watchdog_i_raspberry_pi-_avtomaticheskij_perezapusk_pri_zavisanii.mhtml|mht}}\\ [[http://wiki.glidernet.org/raspberry-pi-increase-stability|Raspberry Pi Increase Stability]] {{it:raspbian:watchdog:raspberry_pi_increase_stability_-_open_glider_network_project.mhtml|mht}}\\ [[https://www.raspberrypi.org/forums/viewtopic.php?t=100594|Watchdog for Pi2]] {{it:raspbian:watchdog:watchdog_for_pi2_-_raspberry_pi_forums.mhtml|mht}}\\ [[https://www.raspberrypi.org/forums/viewtopic.php?t=210974|RPi3B+ and watchdog]] {{it:raspbian:watchdog:rpi3b-_and_watchdog.mhtml|mht}}\\ [[https://github.com/raspberrypi/linux/issues/1285|bcm2708_wdog.ko module not compiled since 4.3.3]] {{it:raspbian:watchdog:bcm2708-wdog-ko.mhtml|mht}}\\ [[https://qastack.ru/raspberrypi/68331/how-to-keep-watchdog-timer-running-during-reboot-shutdown|]] {{it:raspbian:watchdog:kak_soxranit_storozhevoj_tajmer_vo_vremja_perezagruzki_-_vykljuchenija.mhtml|mht}}\\ [[https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=147501#|(Is this) The correct ways to install the watchdog package?]] {{it:raspbian:watchdog:is_this_the_correct_ways_to_install_the_watchdog_package.mhtml|mht}} !!!!\\ __**1 Способ, systemd**__ RuntimeWatchdogSec=10s ShutdownWatchdogSec=10min WatchdogDevice=/dev/watchdog [[https://www.raspberrypi.org/forums/viewtopic.php?t=244843]] Максимальное значение RuntimeWatchdogSec=16s, иначе будет ошибка \\ watchdog error: cannot set timeout 60 (errno = 22 = 'Invalid argument') ---- ---- __**FORK-БОМБА**__\\ Python #/bin/python #fork_bomb.py import os while True: os.fork() $> python fork_bomb.py Bash >$ : ( ){ : | : & }; :