[mythtv-commits] Ticket #8199: backend lockup on recording expiry
MythTV
mythtv at cvs.mythtv.org
Wed Apr 7 07:34:18 UTC 2010
#8199: backend lockup on recording expiry
-------------------------------------+--------------------------------------
Reporter: michael_zanetti@… | Owner: danielk
Type: defect | Status: infoneeded_new
Priority: trivial | Milestone: unknown
Component: MythTV - Recording | Version: 0.22-fixes
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
Comment(by michael_zanetti@…):
It happened again... The machine woke up itself to start a recording and
locked up. When starting the fronend I still can see the logs "Adding xxx
as a client" but I'm unable to enter the watch recordings screen or live
TV. The recording that should be started is nowhere. I need to restart the
backend to resume operation including the self-shutdown of the backend in
idle state. Otherwise it just would sit here for ages accepting frontend
connections but doing nothing else.
Log:
2010-04-07 09:07:02.789 mythbackend version: branches/release-0-22-fixes
[Unknown] www.mythtv.org
2010-04-07 09:07:02.844 Using runtime prefix = /usr
2010-04-07 09:07:02.845 Using configuration directory =
/home/mythtv/.mythtv
2010-04-07 09:07:02.908 Empty LocalHostName.
2010-04-07 09:07:02.909 Using localhost value of Knuckles
2010-04-07 09:07:02.938 Configuration::Load - Error parsing:
/home/mythtv/.mythtv/config.xml at line: 1 column: 1
2010-04-07 09:07:02.939 Configuration::Load - Error Msg: unexpected end of
file
2010-04-07 09:07:03.273 New DB connection, total: 1
2010-04-07 09:07:03.480 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:07:03.509 Closing DB connection named 'DBManager0'
2010-04-07 09:07:03.510 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:07:03.658 Current MythTV Schema Version (DBSchemaVer): 1244
2010-04-07 09:07:03.667 MythBackend: Starting up as the master server.
2010-04-07 09:07:03.877 New DB connection, total: 2
2010-04-07 09:07:03.882 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:07:03.928 New DB connection, total: 3
2010-04-07 09:07:03.931 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:07:05.836 New DB scheduler connection
2010-04-07 09:07:06.034 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:07:06.916 Enabling Upnpmedia rebuild thread.
2010-04-07 09:07:08.589 Main::Registering HttpStatus Extension
2010-04-07 09:07:08.589 Enabled verbose msgs: important general
2010-04-07 09:07:08.636 AutoExpire: CalcParams(): Max required Free Space:
5.0 GB w/freq: 15 min
2010-04-07 09:07:09.326 Reschedule requested for id -1.
2010-04-07 09:07:12.735 MainServer::ANN Monitor
2010-04-07 09:07:12.735 adding: Knuckles as a client (events: 0)
2010-04-07 09:07:12.736 MainServer::ANN Monitor
2010-04-07 09:07:12.737 adding: Knuckles as a client (events: 1)
2010-04-07 09:07:16.559 Scheduled 399 items in 7.2 = 0.66 match + 6.53
place
2010-04-07 09:07:16.564 AUTO-Startup assumed
2010-04-07 09:07:18.007 UPnpMedia: BuildMediaMap VIDEO scan starting in
:/mnt/data/Videos:
2010-04-07 09:07:19.288 UPnpMedia: BuildMediaMap Done. Found 426 objects
2010-04-07 09:08:00.648 Reschedule requested for id 0.
2010-04-07 09:08:12.870 Scheduled 399 items in 12.0 = 0.01 match + 12.04
place
2010-04-07 09:08:30.468 AutoExpire: CalcParams(): Max required Free Space:
5.0 GB w/freq: 15 min
2010-04-07 09:08:31.006 TVRec(4): ASK_RECORDING 4 29 0 0
2010-04-07 09:08:31.032 TVRec(5): ASK_RECORDING 5 29 0 0
2010-04-07 09:08:31.070 TVRec(6): ASK_RECORDING 6 29 0 0
2010-04-07 09:09:01.824 TVRec(4): Changing from None to Watching
RecordingOnly
2010-04-07 09:09:01.827 TVRec(4): HW Tuner: 4->4
2010-04-07 09:09:01.949 AutoExpire: CalcParams(): Max required Free Space:
7.0 GB w/freq: 15 min
2010-04-07 09:09:01.965 Started recording: Sturm der Liebe: channel 32107
on cardid 4, sourceid 4
2010-04-07 09:09:31.632 New DB connection, total: 4
2010-04-07 09:09:31.633 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:12:21.400 New DB connection, total: 5
2010-04-07 09:12:21.401 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:19:06.758 MainServer::ANN Playback
2010-04-07 09:19:06.759 adding: Knuckles as a client (events: 0)
2010-04-07 09:19:06.760 MainServer::ANN Monitor
2010-04-07 09:19:06.760 adding: Knuckles as a client (events: 1)
2010-04-07 09:19:11.057 New DB connection, total: 6
2010-04-07 09:19:11.059 Connected to database 'mythconverg' at host:
localhost
2010-04-07 09:19:41.063 MainServer::ANN Playback
2010-04-07 09:19:41.063 adding: Knuckles as a client (events: 0)
2010-04-07 09:20:33.578 MainServer::ANN Playback
2010-04-07 09:20:33.578 adding: Knuckles as a client (events: 0)
2010-04-07 09:21:03.607 MainServer::ANN Playback
2010-04-07 09:21:03.607 adding: Knuckles as a client (events: 0)
2010-04-07 09:21:33.622 MainServer::ANN Playback
2010-04-07 09:21:33.622 adding: Knuckles as a client (events: 0)
Here is a shot of "top" just to prove that there are now large I/O waits
pending:
top - 09:28:38 up 22 min, 1 user, load average: 0.14, 0.11, 0.12
Tasks: 116 total, 1 running, 115 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3%us, 0.7%sy, 0.0%ni, 97.7%id, 0.0%wa, 0.0%hi, 0.3%si,
0.0%st
Mem: 1539664k total, 863080k used, 676584k free, 12188k buffers
Swap: 987988k total, 0k used, 987988k free, 542044k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1871 mythtv 20 0 404m 83m 26m S 0.7 5.5 0:09.56 mythwelcome
1481 root 20 0 24192 1268 1076 S 0.3 0.1 0:00.42 hald-addon-
stor
2910 root 20 0 10680 1176 876 R 0.3 0.1 0:00.02 top
1 root 20 0 3820 632 532 S 0.0 0.0 0:00.19 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0
7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 sync_supers
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default
12 root 20 0 0 0 0 S 0.0 0.0 0:00.08 kblockd/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpid
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug
16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8199#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list