Graham Dunn wrote:
On Tue, Mar 22, 2005 at 02:40:20PM -0500, Will Dormann wrote:
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.
look into daemontools
apt-get install daemontools-installer
#include <djb-disclaimer.h>
You've been warned :) but it works ...
your /service/mythbackend/run will look like ---%<--- #!/bin/sh
/usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log ---%<---
the supervise daemon will watch and make sure that mythbackend is running, and restart it if it crashes.
Graham
Geez, that's even better than what I use...cool... _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
