Questions tagged [watchdog]

Watchdog and watchdog timers.

Watchdog / watchdog timer is mechanism built-in in the system on hardware or software level can reset the system if serious problems are detected.

External links that are helpful when working on watchdog:

555 questions
0
votes
1 answer

Managing watcher thread - how does the raised exception & joining work?

I have a log-on process from an API I don't own that occasionally hangs. If it takes longer than, say, 30 seconds, I would like to kill it and retry (as it should take only about 2-3). I'm a little confused about how aborting threads works, and…
John Humphreys
  • 37,047
  • 37
  • 155
  • 255
0
votes
1 answer

Python using queues for countdown watchdog timer

I have a program which spawns 4 threads, these threads need to stay running indefinitely and if one of them crashes I need to know so I can restart. If I use a list with 4 numbers and pass it to each thread through using a queue. Then all each…
user185955
  • 359
  • 2
  • 8
0
votes
1 answer

watchdog time in database for threads?

I have a program which starts from a python script called daemon.py, and this daemon script starts up 4 threads that are alive the whole time the program is running. I want to use the initial daemon program as a watchdog for the other threads. I'm…
user185955
  • 359
  • 2
  • 8
0
votes
1 answer

IPMI watchdog pre-timeout interrupt on FreeBSD

I tried to enable watchdog through IPMI on FreeBSD 7. According to IPMI spec v2.0. It's able to set NMI interrupt by set pre-timeout action bit. The timeout action returns correct, but there is no response with NMI interrupt. I wander whether it…
0
votes
1 answer

Why should we implement/use our watchdog instead of Linux default watchdog?

I am studying Android driver/kernel. I find that there are 2 set of watchdogs: kernel/watchdog.c /drivers/watchdog/tegra_wdt.c Both them are used to recovery the system as system hang on an event (e.g. infinite loop). The first one is enabled in…
carl
  • 305
  • 3
  • 13
-1
votes
0 answers

Remote Monitoring Using Python

I'm currently trying to find a solution to a remote log monitoring issue I'm facing. I'm using an agentless monitoring approach to monitor logs on multiple servers. I have a single server where an agent exists that is tunneled into the network so I…
Alexsi
  • 1
-1
votes
1 answer

Use Systemd Watchdog with python. Muliprocessing

How to reset Systemd Watchdog using Python? I'm implementing a watchdog for a multi-threaded picture detection software with many dependencies. Previously, the service started a shell script, but now it starts the Python file directly. However, the…
ArtHax
  • 1
  • 3
-1
votes
1 answer

How to use watchdog in AVR microcontroller

Hi I'm working on watchdog but I'm bit confused It show me some errors. I'm using AVR(AVR128DB48). Errors: WDTO_4S' undeclared (first use in this function) recipe for target 'main.o' failed code: #include #include…
Study only
  • 37
  • 6
-1
votes
1 answer

Batch file command execution timeout

I have a batch file that compiles a project and then runs a JS that connects to a DSP, runs the program and reads the results from the DSP's memory (more detailed info about the DSP etc. is at the end of my question). My problem is that the…
AnR
  • 81
  • 7
-1
votes
1 answer

So I am running an ESP32 and i currently have it set to implement 2 tasks. Core 0 is aborting due to the watch dog timer

Task1 running on core 0 Task2 running on core 1 The response from slave 1 data register 40007 failed! The response from slave 1 data register 40008 failed! The response from slave 1 data register 40020 failed! The response from slave 1 data register…
-1
votes
1 answer

How to suspend watchdog counter during debugging with Segger J-link pro and Stm32cubeIDE

I'm trying to debug my application with the Segger J-link since the ST-Link debugger that comes with the Nucleo dev board allows only 5 breakpoints. I cannot find a way to stop the watchdog during debugging sessions. Where can I find such…
Alexis
  • 576
  • 1
  • 10
  • 29
-1
votes
2 answers

NMI watchdog messages, ie. 'Shutting down hard lockup detector on all cpus'

When NMI watchdog has been "disabled" it is still chatty. Does anyone know where the docs for these messages live? I'd like to see what is actually happening. For example, verified that it is disabled: $ cat /proc/sys/kernel/nmi_watchdog 0 YET,…
-1
votes
3 answers

Raspberry Pi watchdogging C++ program

I have C++ app is running on my device which is a bit modified version of Raspberry PI. Application is reading data from a serial port and I need a device to reboot after some particular data is received. I've been wondering about integrating this…
oodessit
  • 1
  • 4
-1
votes
1 answer

How to copy logs to flash before watchdog execution?

How to execute some script (in my case it would script which copies logs to flash or copies logs remotely) before watchdog execution? Should I modify linux kernel watchdog driver? If so in which method? Or maybe it is possible somehow to configure…
tm23
  • 49
  • 1
  • 1
  • 4
-1
votes
1 answer

Can I disable the watchdog timer in windows 7?

I'm trying to disable all interrupts including NMI's on a single core in a processor and put that core into an infinite loop with a JMP instruction targeting itself (bytecode 0xEBFE) I tried this with the following machine code: cli in al, 0x70 mov…
1 2 3
36
37