[mythtv-users] backend stops responding 2-3 times a day
Alex Tomlins
alex at tomlins.org.uk
Sun Jan 23 14:47:05 UTC 2011
Hi all,
I'm having an issue where mythbackend will stop responding 2-3 times a
day. When this happens the process is still running, and logging stuff,
but none of the frontends can connect, mythweb stalls, and the mythvideo
cronjobs all fail. Additionally any recordings fail. Restarting
mythbackend always gets things back up and running again.
I'm running a dedicated backend with 2 Hauppauge Nova-T capture cards,
running ubuntu 10.04 with the mythbunto autobuilds.
# mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.24-112-g40df4b6
MythTV Branch : fixes/0.24
Network Protocol : 63
Library API : 0.24.20101129-1
QT Version : 4.6.2
Options compiled in:
linux debug using_alsa using_jack using_oss using_pulse
using_pulseoutput using_backend using_bindings_perl
using_bindings_python using_directfb using_dvb using_firewire
using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv
using_joystick_menu using_lirc using_mheg using_opengl_video
using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_bindings_perl using_bindings_python
using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads
using_live using_mheg
The backend log at the time it fails contains:
2011-01-23 05:55:22.922 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 05:57:30.489 Reschedule requested for id 0.
2011-01-23 05:57:32.431 Scheduled 267 items in 1.9 = 0.02 match + 1.89 place
2011-01-23 05:57:59.508 TVRec(1): ASK_RECORDING 1 29 0 0
2011-01-23 05:57:59.650 TVRec(2): ASK_RECORDING 2 29 0 0
2011-01-23 06:09:43.585 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 06:10:23.250 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 06:25:23.726 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 06:39:47.609 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 06:40:24.235 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 06:55:24.581 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 07:09:48.631 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 07:10:24.937 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 07:25:25.407 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 07:39:48.658 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 07:40:25.753 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 07:55:26.095 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 08:09:55.687 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 08:10:26.444 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 08:25:26.797 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 08:40:01.713 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 08:40:27.154 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 08:55:27.498 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 09:10:08.737 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 09:10:27.848 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 09:25:28.200 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 09:40:09.760 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 09:40:28.555 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 09:55:28.904 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2011-01-23 10:11:02.650 MainServer, Warning: Unknown socket closing
MythSocket(0xffffffffa932f890)
2011-01-23 10:11:02.651 UPnpMedia: BuildMediaMap - no VideoStartupDir
set, skipping scan.
2011-01-23 10:11:02.674 MythSocket(ffffffffa932f890:-1):
writeStringList: Error, socket went unconnected.
We wrote 0 of 9 bytes with 1 errors
2011-01-23 10:11:57.653 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
When this happens the frontend log contains:
2011-01-23 05:59:01.600 MythSocket(ac0dc98:45): readStringList: Error,
timed out after 300
00 ms.
2011-01-23 05:59:01.601 Connection to backend server lost
2011-01-23 05:59:01.601 MythCoreContext: Connecting to backend server:
10.10.10.2:6543 (tr
y 1 of 1)
2011-01-23 05:59:08.602 MythSocket(c1be660:45): readStringList: Error,
timed out after 7000 ms.
2011-01-23 05:59:08.602 Protocol version check failure.
The response to MYTH_PROTO_VERSION was empty.
This happens when the backend is too busy to
respond,
or has deadlocked in due to bugs or hardware
failure.
2011-01-23 05:59:08.602 Reconnection to backend server failed
2011-01-23 05:59:08.603 MythCoreContext: Connecting to backend server:
10.10.10.2:6543 (try 1 of 1)
2011-01-23 05:59:08.812 New DB connection, total: 1
2011-01-23 05:59:08.814 Connected to database 'mythconverg' at host:
galadriel.tomlins.org.uk
2011-01-23 05:59:15.607 MythSocket(ffffffffa1112ef0:45): readStringList:
Error, timed out after 7000 ms.
2011-01-23 05:59:15.607 Protocol version check failure.
The response to MYTH_PROTO_VERSION was empty.
This happens when the backend is too busy to
respond,
or has deadlocked in due to bugs or hardware
failure.
(last 3 lines repeated many times until backend is restarted)
The last time it failed I attached gdb to it to obtain a backtrace as
per instructions
http://www.gossamer-threads.com/lists/mythtv/users/455557#455557.
backtrace attached.
Can anyone give some pointers as to where to look further.
thanks,
Alex
--
Alex Tomlins
Email/Jabber: alex at tomlins.org.uk
There are two kinds of people in the world: those who finish what they started
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.txt.gz
Type: application/x-gzip
Size: 12323 bytes
Desc: not available
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110123/699982e0/attachment.bin>
More information about the mythtv-users
mailing list