[mythtv-users] mythbackend crashing

Fa Yoeu fayoeu at gmail.com
Thu Jun 24 20:13:48 EDT 2004


Mine crashes so often that I have a cron job running to restart the
backend if it crashes.  Here's the script:

#!/bin/bash -x
# This script will monitor processes and restart it if it dies.

PROCESS="mythbackend"
LOCKFILE="/tmp/lock_$PROCESS"

lockfile -l 300 -r 0 $LOCKFILE
if [ $? != 0 ]; then
     echo Lock exists
     exit 1
fi

SUBSYS_LOCKFILE="/var/lock/subsys/mythbackend"
ps auxwwww |grep -v grep |grep $PROCESS
FLAG_RUNNING=$?
if [ -f $SUBSYS_LOCKFILE ] && [ $FLAG_RUNNING -eq 1 ]; then
        echo Myth Is DEAD
        rm -f $SUBSYS_LOCKFILE
        /etc/init.d/mythbackend start
fi
rm -f $LOCKFILE

exit 0



On Sun, 20 Jun 2004 10:23:38 +0100, Nick Craig-Wood
<ncw1 at axis.demon.co.uk> wrote:
> 
> On Fri, Jun 18, 2004 at 01:42:25PM -0500, Edward Rudd wrote:
> > Has any solution, workaround, possible cause of why mythbackend crashes
> > so much in mythtv 0.15/0.15.1?  Ever since upgrading to mythtv 0.15 the
> > backend crashes several times a day (more frequently from the hours of
> > 8-9).  My system is a dual P2 450 w/ 384MB of ram, running RH 9 with
> > Axel's RPMS (atrpms).
> 
> You don't mention what hardware you have...  However I've had a
> similar problem which seems to have been fixed by disabling the DVB
> quality monitoring stuff (which was new in 0.15).
> 
> --
> Nick Craig-Wood
> ncw1 at axis.demon.co.uk
> 
> 
> 
> noname - 1K Download 
>


More information about the mythtv-users mailing list