[mythtv] Idea?

Calvin Harrigan mythtv-dev@snowman.net
23 Dec 2002 15:07:50 -0500


On Mon, 2002-12-23 at 14:56, Matt Zimmerman wrote:
> 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
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev

You are probably right...  Just throwing out ideas.

Calvin