[mythtv] Idea?

Matt Zimmerman mythtv-dev@snowman.net
Mon, 23 Dec 2002 14:56:37 -0500

On Mon, Dec 23, 2002 at 02:43:01PM -0500, Calvin Harrigan wrote:

> What do you guys think of adding a watchdog to mythtv?  You know add a bit
> of code to mythtv that touches a file ever so often so that it can be
> monitored by a second program and if mythtv does not touch the file in say
> 15-30 seconds (maybe more...) the second program automatically kills the
> currently running mythtv instance and restarts it.  This touched file can
> even contain the PIDs being used by myth to make for an easy kill.  
> Please any feedback...

If you know of any situation where mythtv does not behave correctly, and
instead hangs or crashes, then that is a bug which should be fixed.
Implementing a watchdog feature like this just serves to hide this kind of
bug, or keep people from reporting it, which is detrimental to the quality
of the software in the long run.

 - mdz