Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [watchdog]

The tag has no usage guidance.

0
votes
0answers
57 views

Arch Linux freeze: “kernel: watchdog: BUG: soft lockup” and once more w/o logs - how to investigate

I just bought a new desktop PC and had a freeze a week ago. Looking into the kernel log reveals a soft lockup (from journalctl -xa): Mar 03 23:48:55 xxx kernel: watchdog: BUG: soft lockup - CPU#6 ...
0
votes
0answers
136 views

rcu_sched self-detected stall on CPU + watchdog: BUG: soft lockup - CPU#3 stuck for 22s

Being unable to ssh into a machine I connected it to a monitor and found the following: The machine is running Ubuntu Server 18.04 LTS and is a first generation 8 core Ryzen 1700. I've restarted the ...
1
vote
0answers
70 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: ...
0
votes
0answers
39 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 ...
3
votes
2answers
396 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 ...
-1
votes
1answer
47 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 ...
1
vote
2answers
607 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 ...
0
votes
1answer
23 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 ...
1
vote
1answer
422 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 ...
1
vote
1answer
359 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 ...
0
votes
0answers
516 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. ...
1
vote
1answer
563 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 ...
1
vote
0answers
479 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 ...
4
votes
1answer
7k 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 ...
3
votes
1answer
355 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 ...
0
votes
2answers
3k 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....
3
votes
0answers
423 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=...
0
votes
1answer
201 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....
1
vote
1answer
619 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!*...
-1
votes
1answer
2k 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 ...
0
votes
1answer
2k 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 ...
1
vote
0answers
94 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 ...
5
votes
1answer
3k 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 /...
2
votes
1answer
117 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 ...
1
vote
0answers
737 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/...
15
votes
3answers
37k 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, ...
2
votes
0answers
869 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 ...
1
vote
1answer
457 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....
7
votes
2answers
7k 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: ...
1
vote
0answers
192 views

What are the consequences of disabling nmi_watchdog?

My aim was to improve battery life for my laptop. I have already applied some advised modifications like enabling ALPM, and adding pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 at grub ...
4
votes
1answer
2k views

Error codes for watchdog daemon

Here's a line from a linux syslog: watchdog[2423]: shutting down the system because of error 101 However, after searching online and in man watchdog, I cannot find any discussion or explanation of ...
11
votes
1answer
3k views

Do I own a watchdog?

Quite often times when I do a reboot, I get the following error message: kernel: watchdog watchdog0: watchdog did not stop! I tried to find out more about watchdog by doing man watchdog, but it says ...
5
votes
1answer
7k views

How can I disable a watchdog, once it has been enabled?

I created a watchdog daemon application with a time interval of 30 seconds; for every 5 seconds, I am trying to hit the watchdog counter, and it's working fine. If I kill this daemon process it shows ...
3
votes
2answers
3k views

Any way in Bash to write to a file every X seconds without closing it?

The hardware watchdog on my system needs a 0 written to /dev/watchdog at less than 60 seconds interval or it will fire. The file handle must be kept open however or the watchdog is then disabled. E....
3
votes
2answers
11k views

linux watchdog and systemd watchdog

I'm in trouble with watchdog :( Is there any way to register application into systemd watchdog at runtime? Does linux watchdog only use for system reset or it can be use for application reset?
2
votes
1answer
4k views

How enable watchdog?

I'm struggling with the watchdog timer (wdt) for a while. I can't get it working. My microcontroller is a AriaG25, based on the AT91SAM925. I have used this tutorial to compile the kernel. The ...
1
vote
0answers
76 views

Building a process Watchdog [duplicate]

I intend to write a process watchdog that runs out of cron or similar that watches all of the core processes denoting things like run state, VMstat, Inet operations and reports it to a file or ...
6
votes
1answer
11k views

How to correctly configure Debian watchdog daemon for BIOS Watch Dog?

Supermicro main boards contain a BIOS feature named "Watch Dog Function". Having Debian 6.0.6 with kernel "Linux debian 2.6.32-5-amd64 #1 SMP" we did: Change BIOS "Watch Dog Function" from Disabled ...
6
votes
1answer
8k views

What is a “watchdog reset”?

After reading this question, I was a little confused; it sounds like some daemon reacting by rebooting a system. Is that right? Is it a common occurrence in embedded *nixes?
5
votes
2answers
14k views

How do I cause a watchdog reset of my embedded Linux device

Is there a command like vi > out vi | out That I could use to cause a watchdog reset of my embedded linux device?