[mythtv] Idea?
Tony Clark
mythtv-dev@snowman.net
Mon, 23 Dec 2002 21:11:51 +0100
On Monday 23 December 2002 20.43, Calvin Harrigan wrote:
> Hi all, Having been tied up at work lately I haven't been able to delve
> into the source anywhere near as much as I would have liked, but...
>
> Once in awhile myth would crash/hang, not often by any means but
> sometimes it would just sit there not doing anything.
>
> Anyways that's not the point I'm getting at.
>
> 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.
If we need a watchdog then we had all better go back to win95, there it would
be useful. Seriously though this type of application shouldn't need one. I
use watchdogs in embedded stuff but there are quite different animals. They
shouldn't need them either but some of the embedded guys I work with don't
realise that :)
tony
--
Contract ASIC and FPGA design.
Telephone
+46 702 894 667