[mythtv-commits] Ticket #5754: Enhancement to make EIT Active Scanning end after a period, then restart later (a duty cycle)

MythTV mythtv at cvs.mythtv.org
Thu Jan 8 20:50:27 UTC 2009


#5754: Enhancement to make EIT Active Scanning end after a period, then restart
later (a duty cycle)
----------------------------------+-----------------------------------------
 Reporter:  simonwalls at yahoo.com  |        Owner:  stuarta   
     Type:  enhancement           |       Status:  assigned  
 Priority:  minor                 |    Milestone:  0.22      
Component:  eit                   |      Version:  0.21-fixes
 Severity:  medium                |   Resolution:            
  Mlocked:  0                     |  
----------------------------------+-----------------------------------------

Comment(by simonwalls at yahoo.com):

 I have noticed that the patch SWpatch_activeeit-improved_081208.diff
 causes periodic crashes of mythbackend. I have caught 2 examples in the
 last day. I run mythmon which detects the stoppage and restarts
 mythbackend, but this is still unacceptable. The backend log files around
 the time are:

 {{{
 2009-01-08 04:43:04.569 EITHelper: Added 1 events
 2009-01-08 04:43:05.420 EITHelper: Added 1 events
 2009-01-08 04:43:06.275 EITHelper: Added 1 events
 2009-01-08 04:43:37.935 EITHelper: Added 1 events
 2009-01-08 04:43:54.797 EITHelper: Added 1 events
 2009-01-08 04:44:31.663 EITScanner (1): Added 5 EIT Events
 2009-01-08 04:44:31.689 EITScanner: Rate limiting reschedules..
 2009-01-08 04:44:31.769 EITCache: Wrote 1 modified entries of 121 for
 channel 10
 20 to database.
 2009-01-08 04:44:31.901 EITCache: Wrote 2 modified entries of 189 for
 channel 10
 81 to database.
 2009-01-08 04:44:32.001 EITCache: Wrote 2 modified entries of 55 for
 channel 171
 2 to database.
 2009-01-08 04:44:33.285 TVRec(1): Reached Active Scan Duration, ceasing
 active s
 can until next cycle. Flushing cache...
 2009-01-08 04:44:33.771 TVRec(1): Stopping Signal Monitor...
 2009-01-08 04:44:34.172 TVRec(1): Calculated Active Scan wait time of 48
 minutes
 . Active Scan will resume then.
 2009-01-08 04:44:34.198 EITScanner (1): Now looking for EIT data on
 multiplex of
  channel 30
 2009-01-08 04:44:34.201 EITCache: Pruning all entries that ended before
 UTC 2009
 -01-07T04:46:02
 2009-01-08 04:44:34.640 EITCache: Deleting old cache entries from the
 database
 2009-01-08 04:45:02.68 mythmon: mythbackend not running!
 2009-01-08 04:45:06.842 Using runtime prefix = /usr
 2009-01-08 04:45:06.886 Empty LocalHostName.
 2009-01-08 04:45:06.894 Using localhost value of mythserver
 2009-01-08 04:45:07.051 New DB connection, total: 1
 2009-01-08 04:45:07.100 Connected to database 'mythconverg' at host:
 localhost
 2009-01-08 04:45:07.103 Closing DB connection named 'DBManager0'
 2009-01-08 04:45:07.106 Connected to database 'mythconverg' at host:
 localhost
 2009-01-08 04:45:07.110 New DB connection, total: 2
 }}}


 {{{
 2009-01-08 12:55:29.765 EITScanner (1): Now looking for EIT data on
 multiplex of
  channel 30
 2009-01-08 12:55:29.796 EITCache: Pruning all entries that ended before
 UTC 2009
 -01-07T12:56:39
 2009-01-08 12:55:29.950 EITCache: Deleting old cache entries from the
 database
 2009-01-08 12:56:41.034 EITScanner (1): Now looking for EIT data on
 multiplex of channel 18
 2009-01-08 12:56:41.070 EITCache: Pruning all entries that ended before
 UTC 2009-01-07T12:57:51
 2009-01-08 12:56:41.370 EITCache: Deleting old cache entries from the
 database
 2009-01-08 12:57:52.396 EITScanner (1): Now looking for EIT data on
 multiplex of channel 1
 2009-01-08 12:57:52.428 EITCache: Pruning all entries that ended before
 UTC 2009-01-07T12:59:02
 2009-01-08 12:57:52.624 EITCache: Deleting old cache entries from the
 database
 2009-01-08 12:57:59.399 TVRec(1): Reached Active Scan Duration, ceasing
 active scan until next cycle. Flushing cache...
 2009-01-08 12:57:59.656 TVRec(1): Stopping Signal Monitor...
 2009-01-08 12:57:59.705 TVRec(1): Calculated Active Scan wait time of 48
 minutes. Active Scan will resume then.
 2009-01-08 13:00:01.949 mythmon: mythbackend not running!
 2009-01-08 13:00:08.930 Using runtime prefix = /usr
 2009-01-08 13:00:09.149 Empty LocalHostName.
 2009-01-08 13:00:09.152 Using localhost value of mythserver
 2009-01-08 13:00:09.370 New DB connection, total: 1
 2009-01-08 13:00:09.484 Connected to database 'mythconverg' at host:
 localhost
 2009-01-08 13:00:09.487 Closing DB connection named 'DBManager0'
 2009-01-08 13:00:09.489 Connected to database 'mythconverg' at host:
 localhost
 2009-01-08 13:00:09.533 New DB connection, total: 2
 2009-01-08 13:00:09.564 Connected to database 'mythconverg' at host:
 localhost
 2009-01-08 13:00:09.568 Current Schema Version: 1214
 Starting up as the master server.
 2009-01-08 13:00:09.620 New DB connection, total: 3
 }}}

 I suspected something was not quite right in December, so I ran without
 the patch included over the critical 'holiday recordings' period and
 experienced no crashes. There are no other patches compiled-in at the same
 time, so it's pretty clear what is responsible. I will have a deeper look
 into it as soon as I can.

 Simon.

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


More information about the mythtv-commits mailing list