[mythtv-users] Backend Crashes / Status Monitoring
Kevin Kuphal
kuphal at dls.net
Tue Mar 22 19:51:40 UTC 2005
Dave Ansell wrote:
> Hi,
>
> I get occasional backend crashes - usually seems to be some qt/sql
> problem. Very difficult to eliminate entirely.
>
> Usually, the whole machine doesn't crash, just the backend and/or
> mysql.
>
> Question is, would it be feasible to run a cron script to monitor
> the backend status, either on the same box or from some other linux
> box, then reboot the machine or restart services if a problem is
> detected.
>
> OK, its not pretty, but it might just stop a missed recording!
>
> My understanding of scripting is close to zero, so any any
> suggestions would be much appreciated.
Yes, it isn't to hard to do what you're trying, but have you tried
instead to get a backtrace of the problem to find the source of the
issue? The mythtv.org docs describe how to compile a debug version of
mythtv for tracing problems like this.
Kevin
More information about the mythtv-users
mailing list