[mythtv-commits] Ticket #7647: Recording not started unless mythtv-backend is restarted

MythTV mythtv at cvs.mythtv.org
Mon Nov 23 19:33:07 UTC 2009


#7647: Recording not started unless mythtv-backend is restarted
----------------------------------------+-----------------------------------
 Reporter:  Klavs Klavsen <kl@…>        |       Owner:  ijr 
     Type:  defect                      |      Status:  new 
 Priority:  minor                       |   Milestone:      
Component:  MythTV - General            |     Version:  0.22
 Severity:  medium                      |     Mlocked:  0   
----------------------------------------+-----------------------------------
 I'm using mythtv-0.22+fixes (svn 20091118) - on a 1200mhz, 512mb ram Armel
 arch. I build it as a package, based on Ubuntu karmic's 0.22+fixes rules
 minus the patches.

 I'll gladly share them, if you want packages for debian Lenny armel arch.

 I have set mythtv up to record several shows, but I just noticed that a
 show it was supposed to record at 20:00 - it hadn't started to record (it
 has otherwise started recordings as needed) and mythweb and mythfront end
 couldn't get any answers from the backend.

 I restarted the backend at 20:24 - and it immediately started recording
 (24 minutes too late :( )

 Here's the log:
 2009-11-23 19:03:25.439 Preview: Grabbed preview
 '/home/mythtv/storage/1002_20091123170500.mpg' 704x576 at 360s
 2009-11-23 19:32:31.344 UPnpMedia: BuildMediaMap - no VideoStartupDir set,
 skipping scan.
 2009-11-23 20:02:36.432 UPnpMedia: BuildMediaMap - no VideoStartupDir set,
 skipping scan.
 2009-11-23 20:24:41.684 mythbackend version: branches/release-0-22-fixes
 [svn20091118] www.mythtv.org
 2009-11-23 20:24:41.695 Using runtime prefix = /usr
 2009-11-23 20:24:41.700 Using configuration directory =
 /var/lib/mythtv/.mythtv
 2009-11-23 20:24:41.758 Empty LocalHostName.
 2009-11-23 20:24:41.760 Using localhost value of debian
 2009-11-23 20:24:42.005 New DB connection, total: 1
 2009-11-23 20:24:42.045 Connected to database 'mythconverg' at host:
 localhost
 2009-11-23 20:24:42.047 Closing DB connection named 'DBManager0'
 2009-11-23 20:24:42.052 Connected to database 'mythconverg' at host:
 localhost
 2009-11-23 20:24:42.106 Current MythTV Schema Version (DBSchemaVer): 1244
 2009-11-23 20:24:42.118 MythBackend: Starting up as the master server.
 2009-11-23 20:24:42.180 New DB connection, total: 2
 2009-11-23 20:24:42.183 Connected to database 'mythconverg' at host:
 localhost
 2009-11-23 20:24:42.282 New DB connection, total: 3
 2009-11-23 20:24:42.285 Connected to database 'mythconverg' at host:
 localhost


 2009-11-23 20:24:44.083 New DB scheduler connection
 2009-11-23 20:24:44.086 Connected to database 'mythconverg' at host:
 localhost
 2009-11-23 20:24:44.291 Enabling Upnpmedia rebuild thread.
 2009-11-23 20:24:45.701 Main::Registering HttpStatus Extension
 2009-11-23 20:24:45.702 Enabled verbose msgs:  important general
 2009-11-23 20:24:45.739 AutoExpire: CalcParams(): Max required Free Space:
 1.0 GB w/freq: 15 min
 2009-11-23 20:24:47.166 Reschedule requested for id -1.
 2009-11-23 20:24:50.209 Scheduled 86 items in 3.0 = 0.11 match + 2.87
 place
 2009-11-23 20:24:50.225 AUTO-Startup assumed
 2009-11-23 20:24:50.262 TVRec(1): ASK_RECORDING 1 0 0 0
 2009-11-23 20:24:50.466 TVRec(1): Changing from None to Watching
 RecordingOnly
 2009-11-23 20:24:50.475 TVRec(1): HW Tuner: 1->1
 2009-11-23 20:24:50.517 TVRec(3): ASK_RECORDING 3 0 0 0
 2009-11-23 20:24:50.583 AutoExpire: CalcParams(): Max required Free Space:
 3.0 GB w/freq: 15 min
 2009-11-23 20:24:50.589 Started recording: Hvem vil være millionær?:
 channel 1002 on cardid 1, sourceid 1
 2009-11-23 20:24:54.298 UPnpMedia: BuildMediaMap - no VideoStartupDir set,
 skipping scan.


 I checked (before restarting) if the box was overloaded somehow, since I
 didn't get an answer, but the box was idle:
 # vmstat 1
 procs -----------memory---------- ---swap-- -----io---- -system--
 ----cpu----
  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id
 wa
  0  0  48304   5168   1348 457048    0    0    21    20   18    3 12  2 85
 0
  0  0  48304   5168   1348 457048    0    0     0     0  216  184  2  0 98
 0
  0  0  48304   5168   1348 457048    0    0     0     0  218  192  2  1 97
 0


 Note that there is an entry right after 20:00.. - but it didn't start
 recording even though a small part of myth-backend was alive.

 The backend has run for some time - so I don't think I can run it with gdb
 running all the time - but perhaps gdb can be attached to a running
 process - or perhaps I can enable debug log output to help solve this
 issue?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7647>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list