cvs commit: src/etc/defaults rc.conf src/etc/rc.d Makefile watchdogd src/share/man/man4 Makefile watchdog.4 src/sys/conf NOTES options src/sys/kern kern_clock.c src/usr.sbin Make

Nate Lawson nate at root.org
Thu Jun 26 10:58:25 PDT 2003


On Thu, 26 Jun 2003, Sean Kelly wrote:
>   Log:
>   - Add a software watchdog facility.
>
>   This commit has two pieces. One half is the watchdog kernel code which lives
>   primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland
>   daemon which, when run, will keep the watchdog from firing while the userland
>   is intact and functioning.
>
>   Approved by:    jeff (mentor)

Looks interesting.  Could you make the reset delay a sysctl?  Then the
user daemon could read the kernel's delay setting and adjust its poke
routine accordingly.  Right now the sleep is hardcoded at 1 sec.  Maybe
debug.watchdog.reset and debug.watchdog.deadline or something.

-Nate


More information about the cvs-all mailing list