[mythtv-commits] Ticket #10548: Too many DB connections open when expiring a large number of programs

MythTV noreply at mythtv.org
Thu Apr 5 15:03:56 UTC 2012

#10548: Too many DB connections open when expiring a large number of programs
 Reporter:  dlinvill@…   |           Type:  Bug Report - General
   Status:  new          |       Priority:  minor
Milestone:  unknown      |      Component:  MythTV - General
  Version:  Master Head  |       Severity:  medium
 Keywords:               |  Ticket locked:  0
 It appears that a new connection is opened and remains open for each
 program that is expired.  I marked 80+ programs for deletion and 2 days
 later when the autoexpire started to automatically delete them the db
 connection count rapidly increased and started to report too many
 connections when close to the mysql limit of 100 set by mythbuntu.

 I have attached around 3 hours of logs where you can see batches of the
 program expiring and the db connection count climbs from the usual ~30 to
 100 and starts to error out.  The connection only appear to close after 30
 minutes or so.

 Please attach all output as a file in bug reports.
 MythTV Version : v0.25-rc-126-g711386d
 MythTV Branch : master
 Network Protocol : 72
 Library API : 0.25.20120315-2
 QT Version : 4.6.2
 Options compiled in:
  linux profile use_hidesyms using_alsa using_oss using_pulse
 using_pulseoutput using_backend using_bindings_perl using_bindings_python
 using_bindings_php using_crystalhd using_dvb using_firewire using_frontend
 using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv
 using_joystick_menu using_libcrypto using_libdns_sd using_libxml2
 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript
 using_qtdbus using_v4l2 using_v4l1 using_x11 using_xrandr using_xv
 using_bindings_perl using_bindings_python using_bindings_php
 using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads
 using_live using_mheg using_libxml2

Ticket URL: <http://code.mythtv.org/trac/ticket/10548>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list