[mythtv-users] Backend Response Problems
Michael Zanetti
michael_zanetti at gmx.net
Fri Feb 5 17:53:05 UTC 2010
On Wednesday 27 January 2010 11:21:34 Adam Skinner wrote:
> Hi - please help!
>
> My backend will lock up - in the sense that the frontends either come to
> a crawl and do not respond or display the message backend has gone away.
> However *some* backend log entries are still being entered.
>
Hi! I suffer from the very same problem since about 2 weeks or so using 0.22-
fixes. Sometimes, the backend just locks up. But it doesn't lock up
completetly, it's still logging for example when a frontend connects or
disconnectes.
AFAICS the frontend is still able to connect to the backend, but getting any
informations out of it (recordings screen, system status screen etc) will time
out.
In my case the lockups seem to happen when a recording starts. It doesn't
happen every time, but about once or twice every two days.
When such a lockup happens, the recording is still written into the database,
and the mpg file starts to fill but stops very soon. The following situation
for example left a file with 70KB size.
Here is the backend log during one of such lock-ups. It shows the startup of
the backend on 17:44. Then the backend is idle for about a minute before it
reschedules itself at 17:46 and starts to record a show at 17:47. After this,
there are no more useful logs in it.
On 18:15 I noticed that the HDD LED wasn't flickering as usual during a
recording and I started the frontend a few times getting the results described
above.
2010-02-05 17:44:56.051 mythbackend version: tags/release-0-22 [0.22]
www.mythtv.org
2010-02-05 17:44:56.095 Using runtime prefix = /usr
2010-02-05 17:44:56.095 Using configuration directory = /root/.mythtv
2010-02-05 17:44:56.164 Empty LocalHostName.
2010-02-05 17:44:56.165 Using localhost value of Knuckles
2010-02-05 17:44:56.421 New DB connection, total: 1
2010-02-05 17:44:56.542 Connected to database 'mythconverg' at host: localhost
2010-02-05 17:44:56.562 Closing DB connection named 'DBManager0'
2010-02-05 17:44:56.563 Connected to database 'mythconverg' at host: localhost
2010-02-05 17:44:56.737 Current MythTV Schema Version (DBSchemaVer): 1244
2010-02-05 17:44:56.764 MythBackend: Starting up as the master server.
2010-02-05 17:44:56.849 New DB connection, total: 2
2010-02-05 17:44:56.877 Connected to database 'mythconverg' at host: localhost
2010-02-05 17:44:56.965 New DB connection, total: 3
2010-02-05 17:44:56.985 Connected to database 'mythconverg' at host: localhost
2010-02-05 17:44:59.098 New DB scheduler connection
2010-02-05 17:44:59.139 Connected to database 'mythconverg' at host: localhost
2010-02-05 17:44:59.687 Enabling Upnpmedia rebuild thread.
2010-02-05 17:45:01.632 Main::Registering HttpStatus Extension
2010-02-05 17:45:01.633 Enabled verbose msgs: important general
2010-02-05 17:45:01.682 AutoExpire: CalcParams(): Max required Free Space: 5.0
GB w/freq: 15 min
2010-02-05 17:45:02.299 Reschedule requested for id -1.
2010-02-05 17:45:05.672 MainServer::ANN Monitor
2010-02-05 17:45:05.679 adding: Knuckles as a client (events: 0)
2010-02-05 17:45:05.680 MainServer::ANN Monitor
2010-02-05 17:45:05.681 adding: Knuckles as a client (events: 1)
2010-02-05 17:45:11.354 UPnpMedia: BuildMediaMap VIDEO scan starting in
:/mnt/data/Videos:
2010-02-05 17:45:12.741 UPnpMedia: BuildMediaMap Done. Found 422 objects
2010-02-05 17:45:14.311 Scheduled 684 items in 12.0 = 0.60 match + 11.37 place
2010-02-05 17:45:14.315 AUTO-Startup assumed
2010-02-05 17:46:00.353 Reschedule requested for id 0.
2010-02-05 17:46:08.008 Scheduled 684 items in 7.6 = 0.00 match + 7.61 place
2010-02-05 17:46:19.393 AutoExpire: CalcParams(): Max required Free Space: 5.0
GB w/freq: 15 min
2010-02-05 17:46:29.197 TVRec(4): ASK_RECORDING 4 29 0 0
2010-02-05 17:46:29.234 TVRec(5): ASK_RECORDING 5 29 0 0
2010-02-05 17:46:29.252 TVRec(6): ASK_RECORDING 6 29 0 0
2010-02-05 17:47:01.402 TVRec(4): Changing from None to Watching RecordingOnly
2010-02-05 17:47:01.405 TVRec(4): HW Tuner: 4->4
2010-02-05 17:47:01.553 AutoExpire: CalcParams(): Max required Free Space: 7.0
GB w/freq: 15 min
2010-02-05 17:47:01.567 Started recording: Scrubs - Die Anfnger "Meine
sprechenden Hnde": channel 26264 on cardid 4, sourceid 4
2010-02-05 17:47:19.431 New DB connection, total: 4
2010-02-05 17:47:19.432 Connected to database 'mythconverg' at host: localhost
2010-02-05 17:50:14.401 New DB connection, total: 5
2010-02-05 17:50:14.402 Connected to database 'mythconverg' at host: localhost
2010-02-05 18:15:17.743 New DB connection, total: 6
2010-02-05 18:15:17.744 Connected to database 'mythconverg' at host: localhost
2010-02-05 18:15:17.745 New DB connection, total: 7
2010-02-05 18:15:17.746 Connected to database 'mythconverg' at host: localhost
2010-02-05 18:15:42.224 MainServer::ANN Playback
2010-02-05 18:15:42.224 adding: Knuckles as a client (events: 0)
2010-02-05 18:15:42.225 MainServer::ANN Monitor
2010-02-05 18:15:42.225 adding: Knuckles as a client (events: 1)
2010-02-05 18:15:46.300 New DB connection, total: 8
2010-02-05 18:15:46.301 Connected to database 'mythconverg' at host: localhost
2010-02-05 18:16:16.302 MainServer::ANN Playback
2010-02-05 18:16:16.303 adding: Knuckles as a client (events: 0)
2010-02-05 18:16:52.312 MainServer::ANN Playback
2010-02-05 18:16:52.312 adding: Knuckles as a client (events: 0)
2010-02-05 18:17:22.347 MainServer::ANN Playback
2010-02-05 18:17:22.348 adding: Knuckles as a client (events: 0)
2010-02-05 18:17:52.366 MainServer::ANN Playback
2010-02-05 18:17:52.367 adding: Knuckles as a client (events: 0)
2010-02-05 18:17:58.870 MainServer::ANN Playback
2010-02-05 18:17:58.870 adding: Knuckles as a client (events: 0)
Anyone knows some good techniques how to debug this situation further?
Thanks
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100205/388a148d/attachment.pgp>
More information about the mythtv-users
mailing list