Opened 12 years ago
Closed 12 years ago
Last modified 12 years ago
#11578 closed Bug Report - General (fixed)
Fix for #11109 Prevents Shutdown When Idle and Idle shutdown timeout isn't honored
Reported by: | Owned by: | gigem | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
After applying a2eb931, a Backend that has Idle shutdown timeout set to a non-zero number of seconds (180 for me) will no longer shutdown.
Scheduler::HandleIdleShutdown? will never get called unless there's a schedule change. And in order to have a schedule change, the frontend is connected therefore, no shutdown. Or if mythfilldatabase runs, and no client is connected, then idle shutdown happens.
Tested with -v idle and the following don't appear in the backend log:
2013-06-07 13:37:19.095373 N [3034/3173] Scheduler scheduler.cpp:2833 (HandleIdleShutdown) - 120 secs left to system shutdown!
Also note that if a schedule run is done (e.g. by mythfilldatabase or via mythweb) then the shutdown is immediate, the value of Idle shutdown timeout is ignored.
Attachments (2)
Change History (5)
Changed 12 years ago by
Attachment: | version.txt added |
---|
Changed 12 years ago by
Attachment: | mythbackend.20130608000345.29770.log added |
---|
comment:1 Changed 12 years ago by
Owner: | set to gigem |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 12 years ago by
Milestone: | unknown → 0.27 |
---|
v0.27-pre2-1282-ge300607