[mythtv] Auto shutdown occurs while transcode/commflag job is in progress (bad idle detection)

Chris Pinkham cpinkham at bc2va.org
Sun Apr 15 12:46:51 UTC 2007


* On Sun Apr 15, 2007 at 06:47:15PM +1000, Matt Doran wrote:
> Possible work-arounds are:
> 
>    * Increase the idle timeout.  This will mean that
>      "CheckShutdownServer()" is called less often, which will reduce
>      the likelihood of incorrect shutdown.
>    * Reduce the "JobQueueCheckFrequency" from the default of 60
>      seconds.   This will reduce the time between one job completing
>      and the next job starting, which will reduce the likelihood of
>      incorrect shutdown.

You missed the obvious one:

    * Make CheckShutdownServer() or whatever code actually gets executed
      check for pending jobs in the JobQueue.

--
Chris


More information about the mythtv-dev mailing list