[mythtv-commits] Ticket #7762: Autoshutdown slave feature enhanced

MythTV mythtv at cvs.mythtv.org
Wed Feb 17 22:33:09 UTC 2010


#7762: Autoshutdown slave feature enhanced
-------------------------------+--------------------------------------------
 Reporter:  gmembre@…          |       Owner:  cpinkham
     Type:  enhancement        |      Status:  assigned
 Priority:  minor              |   Milestone:          
Component:  MythTV - General   |     Version:  unknown 
 Severity:  medium             |     Mlocked:  0       
-------------------------------+--------------------------------------------

Comment(by simonwalls@…):

 Well I am running it now, still on svn22759 and it compiles and runs.

 It's still early days in testing, so far the only issue is that I see this
 in the SBE's log:
 {{{
 Broadcast message from root at Server
         (unknown) at 22:15 ...

 The system is going down for halt in 3 minutes!
 2010-02-17 22:15:45.841 CheckShutdownServer returned - OK to shutdown
 2010-02-17 22:15:45.851 Running the command to shutdown this computer :-
                                                 /sbin/shutdown -h +3
 2010-02-17 22:15:45.852 MainServer, Warning: Unknown socket closing
 MythSocket(0x83955e8)
 2010-02-17 22:15:45.854 MythSocket(83955e8:-1): writeStringList: Error,
 socket went unconnected.
                         We wrote 0 of 10 bytes with 1 errors
 2010-02-17 22:15:46.852 Connecting to master server: 192.168.1.7:6543
 2010-02-17 22:15:46.854 Connected successfully
 2010-02-17 22:15:54.203 JobQueue: Currently set to run up to 1 job(s) max.
 2010-02-17 22:15:54.207 JobQueue: GetJobsInQueue: findJobs search bitmask
 4, found 10 total jobs
 2010-02-17 22:15:54.208 JobQueue: GetJobsInQueue: Found 'User Job - Save
 to MythVideo' Job for chanid 1001 @ 20090112223400 in Queued state.
 2010-02-17 22:15:54.210 JobQueue: GetJobsInQueue: Ignore 'Flag
 Commercials' Job for chanid 1005 @ 20100215065900 in Finished state.
 2010-02-17 22:15:54.211 JobQueue: GetJobsInQueue: Ignore 'Flag
 Commercials' Job for chanid 1071 @ 20100215163100 in Finished state.
 }}}
 Looks like the communications isn't perfect yet, but hey, the SBE shuts
 down ok. I have a wakeup pending overnight so will verify that works too.

 At this time, the only additional suggestion I can make is that JobQueue
 should not parse the queue if the machine has a pending shutdown, and
 should display a message to say so. You can see it still parsing the queue
 in the above log clip.

 I'll update when I have some more results from testing,
 Simon.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7762#comment:13>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list