[mythtv-users] Backend wakes up too early then shuts down and misses recording
Tony Gould
antonyjgould+myth at gmail.com
Thu Jan 30 13:28:43 UTC 2014
I've running a 0.27 system where my backend shuts down when idle and
ACPI wakes up 10 minutes before recording. Normally this works very
well, but I saw something very odd last night. The system finished a
transcoding job just after 11pm, just after 2300, and the next recording
was at 12:53am, i.e. 00:53. So it should have woken itself at approx 00:43.
What it actually did was wakeup at 00:29:40, decide that the next
recording at 00:53 was too far into the future, and then, at 00:30:16,
write the next ACPI wake up time as 00:29:40 (in the past!!!), and shut
itself down. Needless to say, the recording was missed (or would have
been if I hadn't been in the room tinkering with another box and spotted
what was going on...)
Any ideas? Logs below.
Jan 29 23:03:48 tv mythbackend: mythbackend[1960]: I Scheduler
scheduler.cpp:2839 (CheckShutdownServer) CheckShutdownServer returned -
OK to shutdown
Jan 29 23:03:48 tv mythbackend: mythbackend[1960]: N Scheduler
scheduler.cpp:2934 (ShutdownServer) Running the command to set the next
scheduled wakeup time :-#012#011#011#011#011#011#011mythshutdown
--setwakeup 2014-01-30T00:29:40
Jan 29 23:03:49 tv mythbackend: mythbackend[1960]: N Scheduler
scheduler.cpp:2965 (ShutdownServer) Running the command to shutdown this
computer :-#012#011#011#011#011#011#011sudo -H mythshutdown --shutdown
Jan 30 00:30:16 tv mythbackend: mythbackend[1912]: C thread_unknown
mythcommandlineparser.cpp:2595 (ConfigureLogging) mythbackend version:
fixes/0.27 [v0.27-122-g9d4b5e2] www.mythtv.org
...
Jan 30 00:31:27 tv mythbackend: mythbackend[1912]: I Scheduler
scheduler.cpp:2839 (CheckShutdownServer) CheckShutdownServer returned -
OK to shutdown
Jan 30 00:31:27 tv mythbackend: mythbackend[1912]: N Scheduler
scheduler.cpp:2934 (ShutdownServer) Running the command to set the next
scheduled wakeup time :-#012#011#011#011#011#011#011mythshutdown
--setwakeup 2014-01-30T00:29:40
Jan 30 00:31:28 tv mythbackend: mythbackend[1912]: N Scheduler
scheduler.cpp:2965 (ShutdownServer) Running the command to shutdown this
computer :-#012#011#011#011#011#011#011sudo -H mythshutdown --shutdown
More information about the mythtv-users
mailing list