Questions tagged [watchdog]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

How to capture output form watchdog with delay

I have a shell script that catches status from the watchdog that is running from mining software. This watchdog refreshes the page every few seconds. When I pull the page it always pulls first ...
user avatar
  • 66
0 votes
1 answer
65 views

How to verify if node reboot was triggered by the watchdog?

I have created software watchdog device using command: $ sudo modprobe softdog soft_margin=60 In OS log it is visible that software watchdog was initialized: Jul 12 09:49:00 patroni4 kernel: softdog: ...
user avatar
  • 1
0 votes
1 answer
21 views

get rid of rebooting messages and watchdog

Broadcast message from username@Desktop (Sun 1919-08-10 11:45:14 CST): The system is going to reboot NOW! [756.345947] watchdog: watchdog0: watchdog did not stop! [756.472889] watchdog: watchdog0: ...
user avatar
1 vote
1 answer
35 views

How to kill watchdog Daemon on Linux

I configured my watchdog.conf, and i want try if my computer restart when it crash. so, I wanted kill my Watchdog to try if my computer will restart. But I try to killed it with the command "...
user avatar
0 votes
0 answers
39 views

RPI4 with Raspbian OS locked in boot loop after changing watchdog timeouts in `system.conf`

In view of enabling the watchdog on my Raspberry Pi 4 running Raspbian (raspberry pi OS) I have modified /etc/systemd/system.conf by uncommenting the following three lines: RuntimeWatchdogSec=2min ...
user avatar
  • 1
0 votes
1 answer
2k views

Systemctl service failed Exit-code

My systemctl Code dont work ● <appname>.service Loaded: loaded (/etc/systemd/system/<appname>.service; disabled; vendor prese Active: failed (Result: exit-code) since Mon 2022-04-04 ...
user avatar
0 votes
1 answer
347 views

How to make systemd to stop kicking the hardware watchdog

I have configured systemd to use hardware watchdog. My kernel version is 5.10 This is the configuration RuntimeWatchdogSec=120 in /etc/systemd/system.conf WatchdogDevice=/dev/watchdog1 I can see that ...
user avatar
  • 3
1 vote
1 answer
750 views

How to check systemd hardware watchdog state

How does one check the status of the hardware watchdog with systemd? With util-linux you have the wdctl command which prints some information, however this doesn't always work (e.g. on a Raspberry Pi ...
user avatar
  • 5,966
0 votes
1 answer
287 views

A system with an Alder Lake CPU fails to reboot under Linux

I'm struggling to disable watchdog0 on my newly installed fedora. I can restart the system after installation, but once I run dnf upgrade --refresh I can no longer reboot. I get a message saying ...
user avatar
0 votes
0 answers
138 views

Force hard reboot on watchdog daemon

On a RPi4 I have implemented a read only NFS root. I want to mitigate the problem where network connectivity problems causes a full system hang. I am open for options to solve this via NFS itself, but ...
user avatar
0 votes
0 answers
222 views

Watchdog test binary: "Operation not permitted"

I use one of my computers only as a remote-controlled device. Sometimes it gets into a weird state in which it doesn't respond to AnyDesk anymore and doesn't show anything if I connect a screen. I ...
user avatar
0 votes
0 answers
37 views

How to close program when it crash?

I have bash script as follows: while [ 1 ]; do <my_command> done If I simulate the end of program with Ctrl+C, it restart the program again. However if the program ends because temporary ...
user avatar
  • 101
0 votes
1 answer
127 views

ACPI and AMD GPU errors while attempting to install Ubuntu or Mint

I have been trying to dual boot windows and Linux. I am facing similar problems for both Ubuntu and Mint. The attached image shows the errors that i am getting
user avatar
0 votes
0 answers
95 views

CPU#X stuck for 22s!

I am having different hardware errors (see photo below, unfortunately my experience is they are not getting written to disk) with a computer. They occur most often when transferring data over the LAN,...
user avatar
2 votes
2 answers
289 views

Reboot a linux when rootfs gets unavailable

How can one make a Linux-based device to reboot once its rootfs gets unavailable? There is software watchdog available only. The problem is that rootfs gets mounted from NFS. When I stop the NFS ...
user avatar
  • 209
2 votes
1 answer
340 views

Memory watchdog for hungry applications

I have the following situation - I've got a remote PC with an encrypted drive. If the PC needs a restart, I need to be physically present to enter the decryption password because I don't have any way ...
user avatar
  • 123
0 votes
1 answer
2k views

Resetting / refreshing system watchdog timer

I want to set up a high availability system, and to that end, was experimenting with several recovery methods. Assuming I have received a kernel update through automated means, which would mean a ...
user avatar
1 vote
0 answers
306 views

watchdog daemon failes to start on reboot

I have installed watchdog on my embedded linux system. Watchdog.service file [Unit] Description=watchdog daemon [Service] Type=forking EnvironmentFile=/etc/default/watchdog ExecStartPre=/bin/sh -c '...
user avatar
1 vote
1 answer
850 views

Systemd Watchdog & Notify through Docker

So I've been configuring this Docker setup to run a simple service on Linux. The service uses the systemd watchdog and the sdnotify python library to ensure the service doesn't freeze. My problem is ...
user avatar
1 vote
1 answer
485 views

Unable to reset systemd watchdog timer

I am using an embedded linux environment. I have created a service which starts a qt application. [Unit] Description=AutoStart App [Service] Type=simple ExecStartPre=/home/root/Clean_Application.sh ...
user avatar
0 votes
0 answers
110 views

Why fg command within an infinite while loop works like a "keep alive" watchdog?

Recently, I've run into this implementation of a handicraft "keepalive" watchdog for a custom HTTP server: | | keepalive.sh | init.sh |_ main.py There are three files. The first one being ...
user avatar
4 votes
2 answers
2k views

watchdog daemon unable to reset hardware watchdog timer on Supermicro X9DR3-F motherboard

I have a Supermicro X9DR3-F motherboard where JWD jumper pins 1 and 2 are shorted and watchdog functionality in UEFI is enabled: This means that the system is reset after around 5 minutes if nothing ...
user avatar
  • 6,518
2 votes
1 answer
277 views

Restart shell script if not printing

I have a shell script that just calls a Python file in loop e.g.: for i in $(seq $start_index $end_index) do python my_script.py done The Python process halts when it is not able to generate ...
user avatar
  • 21
3 votes
0 answers
1k views

Hard lockup triggers reboot but no panic and no kdump

I have been trying to debug random system freezes when running the 4.14.93-rt kernel. To this end, I have enabled the lockup detector in the kernel using the following config: ...
user avatar
  • 31
0 votes
0 answers
196 views

Getting hard and soft lockups on reload / shutdown

I keep getting these lockups, regardless of the distro (Fedora, Debian Stable, Ubuntu). Happens when I run Linux from Live USB, and attempt to reload or shutdown. I have also tried installing Fedora ...
user avatar
  • 1
5 votes
3 answers
8k views

Is it possible to activate the watchdog on any Linux machine?

On an Orange Pi Zero running a Raspbian server, it's possible to use the watchdog very easily just by running the command echo 1 > /dev/watchdog as root. The idea is that the system will certainly ...
user avatar
-1 votes
1 answer
98 views

Is there any way to modify or manage the startup processes in RHEL 7.4?

I updated my kernel rpm from kernel version kernel-3.10.0-693.el7.x86_64 to kernel version kernel-3.10.0-957.1.3.el7.x86_64.After update, a process named watchdogd with pid 49 is continuously running ...
user avatar
  • 1
1 vote
2 answers
6k views

Reboot sometimes hangs [closed]

My machine sometimes does not properly reboot. I am not sure what triggers it to work or not work. It happens sometimes both during automatic reboots when unattended-upgrades tries to reboot as well ...
user avatar
  • 83
0 votes
1 answer
70 views

Design of Watchdog Alert System to Detect Missing Periodic Emails [closed]

I'm looking for ideas on how to automatically receive an alert (by email would be nice) if a specific periodic email were not to arrive. I would not necessarily have access to the system that ...
user avatar
  • 1
1 vote
1 answer
2k views

Systemd watchdog kills services after changing system time manually

I have been investigating to fix what appears to be a problem with systemd watchdog but with no success. I have a bunch of services that are of Type=notify. If the system time is set backwards, every ...
user avatar
  • 163
1 vote
1 answer
1k views

How can I ensure a complete system shutdown on FreeNAS/FreeBSD?

upsmon is configured to automatically shutdown the system upon power failure. However, the shutdown seems to fail halfway, leaving me without remote access to the system: Feb 2 12:21:54 the_host ...
user avatar
1 vote
0 answers
2k views

Watchdog is disabled, still it seems to restart my system

My machine is restarting a short time after I run a certain binary. I believe the reason is the watchdog, because when I remove /dev/watchdog and /dev/watchdog0, I can run the binary without problems. ...
user avatar
  • 424
1 vote
1 answer
995 views

I can't find the /dev/watchdog

I need use the watchdog, but I can't find any watchdog device. It means I need softdog? But I use modprobe softdog it still does not work. So I download the new Kernel 4.10.10. But I don't know how ...
user avatar
  • 45
1 vote
0 answers
822 views

supervisord as watchdog for various services

I tried to configure supervisord as watchdog for tomcat, redis and some other services. The goal is to automatic restart if the services are crashed or stopped. Here is my configuration for redis and ...
user avatar
  • 500
10 votes
1 answer
15k views

Should I disable NMI watchdog permanently or not?

Why we need to keep the nmi_watchdog enabled and what could happen if I disable it permanently ? As some applications recommends to disable NMI watchdog to work properly, what's the advantage of ...
user avatar
  • 1,471
3 votes
1 answer
393 views

Kernel upgrade (4.10) made XServer and rest of the system fail (Arch)

After 5 days not using my PC, I decided to get the latest packages which involved an upgraded kernel (4.9.11 -> 4.10.1), renamed and updated radeon graphics drivers (mesa) and some changes to KDE and ...
user avatar
1 vote
2 answers
7k views

Problem with systemd starting watchdog

I am trying to enable the watchdog service (on Raspbian Jessie). I have installed watchdog and (hopefully) configured it. sudo systemctl start watchdog seems to start it OK systemctl status watchdog....
user avatar
  • 1,258
3 votes
0 answers
457 views

sudo dnf system-upgrade reboot fails to start install F25 and goes back to F24

I want to upgrade to F25 from F24. I followed these steps: sudo dnf upgrade --refresh sudo dnf install dnf-plugin-system-upgrade sudo dnf system-upgrade download --refresh --allowerasing --releasever=...
user avatar
0 votes
1 answer
298 views

Watchdog for py script in archlinux

I would like a method as described here to set a watchdog to keep a python script alive, but in archlinux. Thanks EDIT Solved using the example provided by smokes2345. I created a python_script....
user avatar
  • 393
1 vote
1 answer
1k views

suppressing /dev/watchdog system message

I'm triggering linux watchdog every 3 secs. echo 1 > /dev/watchdog >/dev/null 2>&1 But I still get following system message: *[ 966.695312] watchdog watchdog0: watchdog did not stop!*...
user avatar
0 votes
1 answer
4k views

Enable watchdog timer of BeagleBone Black which works even if os could not boot

We know that by opening /dev/watchdog the watchdog activates and by sending a character in less that a minute it will reset. the instructions are here. The processor used for BBB AM335x enables its ...
user avatar
0 votes
1 answer
5k views

How to log Systemd Watchdog restarts

I have systemd running with a watchdog, and a service that uses a systemd watchdog to restart the service when it locks up. If the service locks up repeatedly then systemd reboots the machine. How ...
user avatar
1 vote
0 answers
127 views

DMP 3300MX-A embedded pc, debian 6.0 squeeze, kernel 3.2, bios watchdog and harwdare reset

I have been studying how to properly set up a watchdog on my embedded system, have read plenty of posts, but I am stuck with no solution. I've read: How to correctly configure Debian watchdog daemon ...
user avatar
7 votes
1 answer
9k views

difference between /dev/watchdog and /dev/watchdog[0-9]?

On my (embedded) system I have multiple watchdog character devices: # ls -al /dev/watchdog* crw------- 1 imp root 10, 130 Apr 26 07:43 /dev/watchdog crw------- 1 root root 253, 0 Apr 26 07:44 /...
user avatar
  • 1,083
2 votes
1 answer
201 views

Watchdog too fast for apache PID-file

I am running Ubuntu Trusty on an ARM embedded board. Init System is Upstart. The watchdog (v5.13) should supervise the apache server. Obviously the watchdog is testing for the apache pid-file before ...
user avatar
  • 21
1 vote
0 answers
1k views

Periodically get CPU usage for single process

I've got a problem with the kswapd0 process (pid 52), which from time to time would start to use 25% of the cpu (one full core). I usually stop it with the command sudo sh -c "echo 1 > /proc/sys/...
user avatar
  • 1,724
29 votes
3 answers
82k views

message at shutdown: watchdog did not stop!

At shutdown I often get the message watchdog did not stop! and then the laptop freezes after few other lines without shutting down. Any idea on how to fix this? Recently it happened very often, ...
user avatar
  • 841
3 votes
1 answer
3k views

Systemd: service doesn't restart with WatchdogSec option set

I'm trying to manager qemu with systemd. If qemu crashes, it can be restart automatically. I have the following unit file: [Unit] Description=vm manager After=network.target Before=shutdown.target ...
user avatar
  • 31
1 vote
1 answer
596 views

Send network connectivity ping from server to client

So I have a server and a client computer which I must have running on the network all the time. Somemtimes because I am running my client computer on WLAN the network goes down so I need to restart it....
user avatar
  • 173
7 votes
2 answers
9k views

Watchdog daemon doesn't start at boot

I'm using a Raspberry Pi B, with Raspbian. After upgrading to Jessie, watchdog daemon doesn't start at boot anymore. Starting it manually using "sudo service watchdog start" does work. I tried: ...
user avatar
  • 286