[mythtv] Possibility of adding a watchdog?
rick at sapphire.no-ip.com
Thu Aug 28 22:48:10 EDT 2003
On Thursday 28 August 2003 08:57 pm, Isaac Richards wrote:
> On Thursday 28 August 2003 08:48 pm, Michael J. Pedersen wrote:
> > On Thu, Aug 28, 2003 at 05:52:10PM -0400, Isaac Richards wrote:
> > > > I'm still having crashing issues, and I was wondering if there would
> > > > be any arguments against having a 3rd process started to act as a
> > > > watchdog.. basically, it would query the mythbackend via it's tcp
> > > > ctrl ports to verify that it's up and restart it if it's not
> > > > responding. The same would apply to mythfrontend, but we'll need to
> > > > add support for it to listen to a tcp socket and respond.
> > > > Any thoughs/objections?
> > >
> > > Yes. It's always better to fix the source of the bug, and not bandaid
> > > it. Since you can't get gdb working on your distribution, I'd suggest
> > > switching to another distro.
> > Isaac, I've got to chime in on this one. Having such a watchdog function
> > would be VERY good, for one simple reason: If MythTV crashes at 2pm, and
> > I don't get home until 6pm, I've lost any recordings that would have
> > occurred during that time window. Having a watchdog which would restart
> > the backend would be an excellent idea, so that I don't lose said
> > recordings.
> If you're that worried about it, put it in a shell script with a while (1)
> loop. No need for a watchdog daemon.
I already do this but still have problems... the backend occasionally goes
into a "weird state" where it is still running but does not respond
i know i should probably upgrade to latest cvs again (i'm running cvs from
about a week b4 .11 came out).. but it's working so well otherwise
More information about the mythtv-dev