<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi there,<br>
<br>
I have my myth box (0.20-fixes) configured to autoshutdown when idle.
I also make use of mythwelcome, etc, so that the machine isn't on
wasting power when it doesn't need to be.<br>
<br>
It all works nicely, except it is common for it to shutdown, while a
transcode or commflag job is in progress.<br>
<br>
Here's some sample output from last night's logs....<br>
<br>
<blockquote>2007-04-15 01:47:53.244 110 secs left to system shutdown!<br>
2007-04-15 01:48:03.316 100 secs left to system shutdown!<br>
2007-04-15 01:48:13.368 90 secs left to system shutdown!<br>
2007-04-15 01:48:23.417 80 secs left to system shutdown!<br>
2007-04-15 01:48:33.457 70 secs left to system shutdown!<br>
2007-04-15 01:48:43.509 60 secs left to system shutdown!<br>
2007-04-15 01:48:47.441 JobQueue: Currently set at 1 job(s) max and to
run new jobs from 00:00 to 12:00<br>
2007-04-15 01:48:47.450 JobQueue: GetJobsInQueue: findJobs search
bitmask 4, found 14 total jobs<br>
2007-04-15 01:48:47.477 JobQueue: GetJobsInQueue: Ignore 'Flag
Commercials' Job for 2512 @ 20070412195900 in Finished state.<br>
2007-04-15 01:48:47.478 JobQueue: GetJobsInQueue: Ignore 'Transcode'
Job for 2512 @ 20070412195900 in Finished state.<br>
2007-04-15 01:48:47.479 JobQueue: GetJobsInQueue: Ignore 'Flag
Commercials' Job for 2512 @ 20070412222900 in Finished state.<br>
2007-04-15 01:48:47.480 JobQueue: GetJobsInQueue: Ignore 'Transcode'
Job for 2512 @ 20070412222900 in Finished state.<br>
2007-04-15 01:48:47.481 JobQueue: GetJobsInQueue: Ignore 'Flag
Commercials' Job for 2511 @ 20070413155900 in Finished state.<br>
2007-04-15 01:48:47.482 JobQueue: GetJobsInQueue: Ignore 'Transcode'
Job for 2511 @ 20070413155900 in Finished state.<br>
<b>2007-04-15 01:48:47.483 JobQueue: GetJobsInQueue: Found 'Flag
Commercials' Job for 2501 @ 20070413203236 in Running state.</b><br>
2007-04-15 01:48:47.484 JobQueue: GetJobsInQueue: Found 'Transcode' Job
for 2501 @ 20070413203236 in Queued state.<br>
2007-04-15 01:48:47.484 JobQueue: GetJobsInQueue: Found 'Flag
Commercials' Job for 2501 @ 20070414142900 in Queued state.<br>
2007-04-15 01:48:47.485 JobQueue: GetJobsInQueue: Found 'Transcode' Job
for 2501 @ 20070414142900 in Queued state.<br>
2007-04-15 01:48:47.486 JobQueue: GetJobsInQueue: Found 'Flag
Commercials' Job for 2511 @ 20070414193400 in Queued state.<br>
2007-04-15 01:48:47.487 JobQueue: GetJobsInQueue: Found 'Transcode' Job
for 2511 @ 20070414193400 in Queued state.<br>
2007-04-15 01:48:47.488 JobQueue: GetJobsInQueue: Found 'Flag
Commercials' Job for 2501 @ 20070414230000 in Queued state.<br>
2007-04-15 01:48:47.489 JobQueue: GetJobsInQueue: Found 'Transcode' Job
for 2501 @ 20070414230000 in Queued state.<br>
2007-04-15 01:48:53.562 50 secs left to system shutdown!<br>
2007-04-15 01:49:03.618 40 secs left to system shutdown!<br>
</blockquote>
<br>
As you can see there is a commercial flag going (job 2501) ... but the
system still thinks that it needs to shutdown. So it seems that
there is a problem in the way that the backend detects if these jobs
are still running (i.e. it's idle detection).<br>
<br>
I see plenty of this type of output. You see it counting down to
shutdown and then it restarts the counting. But eventually the system
will shutdown without completing the current job ... or any of the
others in the queue. The idle time is set to 120 secs and the job
queue is checked every 60 secs.<br>
<br>
Anyone else seeing this? Any idea how to fix it? Is there a bug
hiding here somewhere?<br>
<br>
Regards,<br>
Matt<br>
<br>
<br>
</body>
</html>