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
2 answers

Setting up watchdog_set_period to max value causes reboot

I don't much about how watchdog timer works in embedded environment and I am facing issue related to watchdog timer Maximum time out value defined in one of the macro is 55 and when we try to set up this value from watchdog_set_period function ,our…
Amit Singh Tomar
  • 8,380
  • 27
  • 120
  • 199
0
votes
2 answers

reading and writing a register linux device driver

I am writing a watchdog timer device driver for Pandaboard(Omap4) for educational purposes(I know the driver already exist). I want to know how I can access watchdog timer registers (e.g. WDT_WLDR(timer load register) has address offset 0x0000002C…
salman khalid
  • 11
  • 1
  • 3
0
votes
1 answer

Implement a watchdog for critical tasks

I have an application that sends emails on scheduled times. Sometimes the appliction gets stuck while sending an email, I'm still not sure why. I thought about implementing a simple watchdog like this: Before the application starts sending an email,…
omer schleifer
  • 3,897
  • 5
  • 31
  • 42
0
votes
4 answers

py2app ImportError with watchdog

I am attempting to use py2app to bundle a small Python app that I've made in Python 2.7 on Mac. My app uses the Watchdog library, which is imported at the top of my main file: from watchdog.observers import Observer from watchdog.events import…
ekl
  • 1,052
  • 2
  • 9
  • 24
0
votes
1 answer

XBee and watchdog timer transmission not working

I've created a sketch that uses a watchdog timer that runs every eight seconds. I've used a counter to wait 64 seconds (about a minute). In addition, I've used the pin hibernation mode on the XBee. The XBee communication together with the pin…
kip
  • 3
  • 2
0
votes
2 answers

the interrupt delay of arm watchdog

Recently, I write a linux module to generate interrupt every 20us using watch dog. I use the global timer to test whether the interval between two interrupts is 20us. But I find the result is greater than 20us. So I change the value of watchdog…
0
votes
1 answer

FileWatchdog mechanism in Rails3 ? How to monitor file changes in a directory in rails 3?

I am new to Ruby and Rails. For my app I need to monitor a file. If that file changes,I need to execute some code or javascriptto do something for me. Please help,
TheAshwaniK
  • 1,706
  • 1
  • 14
  • 15
0
votes
1 answer

Drupal watchdog database table flooded with same message over and over?

I've: Disabled cron Disabled database logging Cleared my caches Commented out the code that is being displayed as the error And still, the same error message is being written to Watchdog. I execute: "delete from watchdog" and IMMEDIATELY after I…
rockstardev
  • 13,479
  • 39
  • 164
  • 296
0
votes
1 answer

Java - how should I detect/kill a process if it hangs (previously used watchdog/timeoutobserver)

I am in the proces of updating some old code and am not sure about the most optimal way to replicate the Watchdog/TimeoutObserver functionality below. However, this is an old way of doing it and I am trying to update it to be more jre7 compliant.…
Pectus Excavatum
  • 3,593
  • 16
  • 47
  • 68
0
votes
1 answer

i Example watchdog code showing error in python

i copied an example code import sys import time import logging from watchdog.observers import Observer from watchdog.events import LoggingEventHandler if __name__ == "__main__": logging.basicConfig(level=logging.INFO, …
0
votes
2 answers

Django database watchdog save signal outside django

I have the following problem: I Am using a Django framework. One of the parts in a system (non-django) writes to the database, in the same database that django is using. I want to have a signal when an object is being saved. It's a django model…
michel.iamit
  • 5,788
  • 9
  • 55
  • 74
0
votes
1 answer

Drupal lots of spam page not found errors in my watchdog logs

I am getting a lot of (more than 10 every minute) of page not found errors similar to this example. Type page not found Date Friday, November 16, 2012 - 01:27 User Anonymous (not verified) Location …
Anurag Ashok
  • 113
  • 2
  • 8
0
votes
1 answer

drupal watchdog filter the entries in the database

On drupal 6 can i filter the entries of the watchdog into the database depending on the severity? For example i want to exclude the "error" severity messages.
tioschi
  • 389
  • 1
  • 3
  • 11
0
votes
1 answer

How Do Watchdog Interrupts Function In Assembly

I am trying to interpret the assembly code for the TI MSP 430 below. As I step through the lines in my debugger, the subroutine "beep02" continues to loop for an amount of time of which I don't know the origin, and then suddenly it jumps into the…
freedomflyer
  • 2,431
  • 3
  • 26
  • 38
0
votes
1 answer

em1: Watchdog timeout -- resetting - freebsd 8.3 / network down

i have a major issue that i can't find nor heads nor tails of. I have googled this error, but i have not found any relevant solutions. The problem: I have about 8 servers, all running freebsd 8.3 p3 / p4. This fileserver is pushing around 300-400…
katmai
  • 49
  • 1
  • 5