[mythtv-users] Backend Watchdog??
memoryguy at gmail.com
Mon Jan 22 20:24:19 UTC 2007
On 22/01/07, Dave Ansell <dave at theansells.com> wrote:
> My only issue is that the backend service occasionally dies for no
> aparent reason. This has been the case in every incarnation to date,
> whatever I try. It doesnt happen often, but enought to be annoying and
> reduce WAF etc.
> I guess this behaviour is to be expected with any developing software.
> However it strikes me that it would be relatively simple to set up an
> independant process to monitor the status of the backend and kick it back
> into life automatically if it dies. (ie what I do now manually!)
Several people (including me) use Daemontools (sorry, I don't have a URL
handy, check the archives) to accomplish this. The documentation is not
particuarly good, but once you get that figured out it's fairly
straightforward to get working.
It won't handle cases of the backend hanging (which occurs from time to
time), but it does quite nicely handle cases where the backend crashes.
"Oh oh oh. I'm incoherent with excitement. Please tell me what fascinating
bit of badger-spewtumly inconsequential trivia you will assail me with
-- Arthur Dent
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users