[mythtv-users] Backend constantly dies
Bobby Gill
bobbygill at rogers.com
Thu Aug 21 18:05:58 UTC 2008
On Thu, Aug 21, 2008 at 1:06 PM, Brad DerManouelian
<myth at dermanouelian.com>wrote:
> I just moved to Mythbuntu from F8 and my backend constantly dies for
> no apparent reason. I've been trying to narrow it down to recording
> while watching TV, just recording highdef, but now it just dies
> randomly when the frontend is idle on the main menu. Anyone else with
> this problem? Here's my mysterious log.
>
> bderman at mythtv:~$ more /var/log/mythtv/mythbackend.log
> 2008-08-21 09:57:45.476 Using runtime prefix = /usr, libdir = /usr/lib
> 2008-08-21 09:57:45.511 Using localhost value of livingroom
> 2008-08-21 09:57:45.997 Cannot find default UPnP backend
> 2008-08-21 09:57:46.074 New DB connection, total: 1
> 2008-08-21 09:57:46.082 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:57:46.085 Closing DB connection named 'DBManager0'
> 2008-08-21 09:57:46.086 Deleting UPnP client...
> 2008-08-21 09:57:46.762 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:57:46.766 New DB connection, total: 2
> 2008-08-21 09:57:46.773 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:57:46.778 Current Schema Version: 1214
> Starting up as the master server.
> 2008-08-21 09:57:46.795 mythbackend: MythBackend started as master
> server
> 2008-08-21 09:57:46.808 New DB connection, total: 3
> 2008-08-21 09:57:46.811 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:57:46.866 HDHRChan(ffffffff/0): device found at address
> 192.168.1.174
> 2008-08-21 09:57:46.885 HDHRChan(ffffffff/1): device found at address
> 192.168.1.174
> 2008-08-21 09:57:47.977 ret_pid(22212) child(22212) status(0x0)
> 2008-08-21 09:57:47.979 External Tuning program exited with no error
> 2008-08-21 09:57:49.160 ret_pid(22217) child(22217) status(0x0)
> 2008-08-21 09:57:49.163 External Tuning program exited with no error
> 2008-08-21 09:57:49.277 New DB scheduler connection
> 2008-08-21 09:57:49.279 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:57:50.457 Main::Registering HttpStatus Extension
> 2008-08-21 09:57:50.460 mythbackend version: 0.21.20080304-1
> www.mythtv.org
> 2008-08-21 09:57:50.461 Enabled verbose msgs: important general
> 2008-08-21 09:57:50.478 AutoExpire: CalcParams(): Max required Free
> Space: 5.0 GB w/freq: 15 min
> 2008-08-21 09:57:52.292 Reschedule requested for id -1.
> 2008-08-21 09:57:53.676 MainServer::HandleAnnounce Monitor
> 2008-08-21 09:57:53.679 adding: livingroom as a client (events: 0)
> 2008-08-21 09:57:53.681 MainServer::HandleAnnounce Monitor
> 2008-08-21 09:57:53.682 adding: livingroom as a client (events: 1)
> 2008-08-21 09:57:56.802 mythbackend: Running housekeeping thread
> 2008-08-21 09:57:58.794 Scheduled 1541 items in 6.5 = 2.91 match +
> 3.58 place
> 2008-08-21 09:57:58.803 scheduler: Scheduled items: Scheduled 1541
> items in 6.5 = 2.91 match + 3.58 place
> 2008-08-21 09:57:58.813 Seem to be woken up by USER
> 2008-08-21 09:57:59.356 UPnpMedia: BuildMediaMap VIDEO scan starting
> in :/mythtv/videos:
> 2008-08-21 09:57:59.378 JobQueue: Commercial Flagging Starting for The
> Daily Show With Jon Stewart recorded from channel 2249 at Wed Aug 20
> 20:00:00 2008
> 2008-08-21 09:57:59.396 commflag: Commercial Flagging Starting: The
> Daily Show With Jon Stewart recorded from channel 2249 at Wed Aug 20
> 20:00:00 2008
> 2008-08-21 09:57:59.534 UPnpMedia: BuildMediaMap Done. Found 40 objects
> 2008-08-21 09:57:59.539 UPnpMedia: BuildMediaMap VIDEO scan starting
> in :/entertainment/podcasts:
> 2008-08-21 09:57:59.811 UPnpMedia: BuildMediaMap Done. Found 76 objects
> 2008-08-21 09:58:00.029 Using runtime prefix = /usr, libdir = /usr/lib
> 2008-08-21 09:58:00.036 Using localhost value of livingroom
> 2008-08-21 09:58:00.684 Cannot find default UPnP backend
> 2008-08-21 09:58:00.701 New DB connection, total: 1
> 2008-08-21 09:58:00.708 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:58:00.711 Closing DB connection named 'DBManager0'
> 2008-08-21 09:58:00.712 Deleting UPnP client...
> 2008-08-21 09:58:01.489 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:58:01.503 New DB connection, total: 2
> 2008-08-21 09:58:01.505 Connected to database 'mythconverg' at host:
> localhost
> 2008-08-21 09:58:01.604 Connecting to backend server:
> 192.168.1.101:6543 (try 1 of 10)
> 2008-08-21 09:58:01.607 Using protocol version 40
> 2008-08-21 09:58:01.608 MainServer::HandleAnnounce Monitor
> 2008-08-21 09:58:01.627 adding: livingroom as a client (events: 0)
> 2008-08-21 09:58:01.629 MainServer::HandleAnnounce Monitor
> 2008-08-21 09:58:01.630 adding: livingroom as a client (events: 1)
> 2008-08-21 09:58:02.413 AFD: Opened codec 0x8350b0, id(MPEG2VIDEO)
> type(Video)
> 2008-08-21 09:58:02.426 AFD: codec MP2 has 2 channels
> 2008-08-21 09:58:02.427 AFD: Opened codec 0x835490, id(MP2) type(Audio)
> 2008-08-21 09:58:22.923 MainServer::HandleAnnounce Playback
> 2008-08-21 09:58:22.926 adding: livingroom as a client (events: 0)
> 2008-08-21 09:58:22.929 MainServer::HandleAnnounce FileTransfer
> 2008-08-21 09:58:22.930 adding: livingroom as a remote file transfer
> 2008-08-21 09:59:09.297 AutoExpire: CalcParams(): Max required Free
> Space: 5.0 GB w/freq: 15 min
> 2008-08-21 09:59:09.361 Expiring 1240 MBytes for 1249 @ Mon Jul 21
> 20:00:00 2008 => The Daily Show With Jon Stewart
> 2008-08-21 09:59:09.369 autoexpire: Expiring Program: Expiring 1240
> MBytes for 1249 @ Mon Jul 21 20:00:00 2008 => The Daily Show With Jon
> Stewart
> 2008-08-21 09:59:16.705 Reschedule requested for id 0.
> 2008-08-21 09:59:16.709 Connecting to backend server:
> 192.168.1.101:6543 (try 1 of 10)
> 2008-08-21 09:59:16.729 Using protocol version 40
> 2008-08-21 09:59:16.730 MainServer::HandleAnnounce Monitor
> 2008-08-21 09:59:16.739 adding: livingroom as a client (events: 0)
> 2008-08-21 09:59:16.740 MainServer::HandleAnnounce Monitor
> 2008-08-21 09:59:16.741 adding: livingroom as a client (events: 1)
> 2008-08-21 09:59:16.746 GetRecordBasename found no entry
> 2008-08-21 09:59:21.468 Scheduled 1541 items in 4.7 = 0.02 match +
> 4.73 place
> 2008-08-21 09:59:21.488 scheduler: Scheduled items: Scheduled 1541
> items in 4.7 = 0.02 match + 4.73 place
> 2008-08-21 10:00:05.220 Event socket closed. No connection to the
> backend.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Yeah, tis a great mystery, up there with life on Europa, quantum wave
function collapse, Bigfoot and other great mysteries of our time, hehe.
Seriously though, I and others have had the same problem and just had a long
thread about it where the best bet wound up being a script that checks if
mythbackend is running and if not, restarts it. Can share mine if you'd
like, just have to add it to the root crontab. Mine's been running for about
a week now and my backend has been a rock.
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080821/0563cb7f/attachment.htm
More information about the mythtv-users
mailing list