[mythtv-commits] Ticket #9712: the backend is not suspending when idle reliably
MythTV
noreply at mythtv.org
Wed Apr 6 13:47:55 UTC 2011
#9712: the backend is not suspending when idle reliably
-----------------------------------+----------------------------
Reporter: brian@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.24-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-----------------------------------+----------------------------
Comment (by brian@…):
And finally, it decided to go to sleep:
{{{
...
Wed Apr 6 09:38:15 EDT 2011: 0
Wed Apr 6 09:39:15 EDT 2011: 0
Wed Apr 6 09:40:16 EDT 2011: 0
Wed Apr 6 09:41:16 EDT 2011: 0
Wed Apr 6 09:42:16 EDT 2011: 0
Wed Apr 6 09:43:16 EDT 2011: 0
}}}
The backend log:
{{{
2011-04-06 09:38:15.757 MainServer::ANN Monitor
2011-04-06 09:38:15.757 adding: pvr as a client (events: 0)
2011-04-06 09:38:15.758 MainServer::ANN Monitor
2011-04-06 09:38:15.759 adding: pvr as a client (events: 1)
2011-04-06 09:38:26.055 I'm idle now... shutdown will occur in 300
seconds.
2011-04-06 09:38:35.060 290 secs left to system shutdown!
2011-04-06 09:38:45.066 280 secs left to system shutdown!
2011-04-06 09:38:55.071 270 secs left to system shutdown!
2011-04-06 09:39:05.076 260 secs left to system shutdown!
2011-04-06 09:39:15.082 250 secs left to system shutdown!
2011-04-06 09:39:15.988 MainServer::ANN Monitor
2011-04-06 09:39:15.989 adding: pvr as a client (events: 0)
2011-04-06 09:39:15.990 MainServer::ANN Monitor
2011-04-06 09:39:15.991 adding: pvr as a client (events: 1)
2011-04-06 09:39:25.087 240 secs left to system shutdown!
2011-04-06 09:39:35.093 230 secs left to system shutdown!
2011-04-06 09:39:45.098 220 secs left to system shutdown!
2011-04-06 09:39:55.103 210 secs left to system shutdown!
2011-04-06 09:40:05.109 200 secs left to system shutdown!
2011-04-06 09:40:15.114 190 secs left to system shutdown!
2011-04-06 09:40:16.222 MainServer::ANN Monitor
2011-04-06 09:40:16.223 adding: pvr as a client (events: 0)
2011-04-06 09:40:16.224 MainServer::ANN Monitor
2011-04-06 09:40:16.224 adding: pvr as a client (events: 1)
2011-04-06 09:40:25.120 180 secs left to system shutdown!
2011-04-06 09:40:35.125 170 secs left to system shutdown!
2011-04-06 09:40:45.131 160 secs left to system shutdown!
2011-04-06 09:40:55.136 150 secs left to system shutdown!
2011-04-06 09:41:05.141 140 secs left to system shutdown!
2011-04-06 09:41:15.147 130 secs left to system shutdown!
2011-04-06 09:41:16.455 MainServer::ANN Monitor
2011-04-06 09:41:16.456 adding: pvr as a client (events: 0)
2011-04-06 09:41:16.457 MainServer::ANN Monitor
2011-04-06 09:41:16.458 adding: pvr as a client (events: 1)
2011-04-06 09:41:25.152 120 secs left to system shutdown!
2011-04-06 09:41:35.158 110 secs left to system shutdown!
2011-04-06 09:41:45.163 100 secs left to system shutdown!
2011-04-06 09:41:55.169 90 secs left to system shutdown!
2011-04-06 09:42:05.174 80 secs left to system shutdown!
2011-04-06 09:42:15.179 70 secs left to system shutdown!
2011-04-06 09:42:16.688 MainServer::ANN Monitor
2011-04-06 09:42:16.688 adding: pvr as a client (events: 0)
2011-04-06 09:42:16.689 MainServer::ANN Monitor
2011-04-06 09:42:16.690 adding: pvr as a client (events: 1)
2011-04-06 09:42:25.185 60 secs left to system shutdown!
2011-04-06 09:42:35.190 50 secs left to system shutdown!
2011-04-06 09:42:45.196 40 secs left to system shutdown!
2011-04-06 09:42:55.201 30 secs left to system shutdown!
2011-04-06 09:43:05.207 20 secs left to system shutdown!
2011-04-06 09:43:15.212 10 secs left to system shutdown!
2011-04-06 09:43:16.924 MainServer::ANN Monitor
2011-04-06 09:43:16.924 adding: pvr as a client (events: 0)
2011-04-06 09:43:16.925 MainServer::ANN Monitor
2011-04-06 09:43:16.926 adding: pvr as a client (events: 1)
2011-04-06 09:43:25.241 No backup is running, ok to shut down.
2011-04-06 09:43:25.241 No backup will run soon, ok to shut down.
2011-04-06 09:43:25.241 User brian on pts/1 has been idle for 7320 seconds
2011-04-06 09:43:25.241 User brian on pts/0 has been idle for 139260
seconds
2011-04-06 09:43:25.241 Anyone logged in is idle, ok to shut down.
2011-04-06 09:43:30.328 CheckShutdownServer returned - OK to shutdown
2011-04-06 09:43:30.333 Running the command to set the next scheduled
wakeup time :-
sudo sh -c
"/home/mythtv/bin/setwakeup.sh 1302134280"
clearing the alarm
i am: uid=0(root) gid=0(root) groups=0(root),105(mythtv)
clearing the alarm
setting the alarm to 1302105540
it's set to: 1302105540
2011-04-06 09:43:31.530 Running the command to shutdown this computer :-
sudo /usr/sbin/pm-suspend
}}}
Nothing at all was done since my last/initial posting on this ticket
except wait for the backend to finally decide that it was indeed idle.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9712#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list