惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
博客园 - 叶小钗
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
D
Docker
J
Java Code Geeks
B
Blog
G
Google Developers Blog
小众软件
小众软件
博客园 - 聂微东
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
量子位
WordPress大学
WordPress大学
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
宝玉的分享
宝玉的分享
腾讯CDC
Martin Fowler
Martin Fowler
V
Visual Studio Blog
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog

IT Notes - hardware

IT Notes IT Notes IT Notes IT Notes
IT Notes
Stefano Marinelli · 2021-11-29 · via IT Notes - hardware

Watchdog devices are important to be sure our servers are working. Unfortunately, watchdog daemon seem to crash if enabled on Rasbperry PI.

The problem is that our Pis have a strange watchdog hardware device and needs to be petted quite often. Because of this, running the watchdog daemon without some special flags won't work as standard FreeBSD petting time is too high.

All you need to do is enable watchdog and add a flags line with some specfic options. Open the /etc/rc.conf file with your favourite editor and add:

watchdogd_flags="-s 4 -t 8"
watchdogd_enable="YES"

Now reboot or just restart the watchdog daemon: service watchdogd restart

The daemon will launch and start using the hardware watchdog.