[mythtv-commits] Ticket #12171: Older Recordings Deleted After Database Connection Fails

MythTV noreply at mythtv.org
Sat Dec 19 20:13:32 UTC 2015


#12171: Older Recordings Deleted After Database Connection Fails
----------------------------------+--------------------------------
 Reporter:  jksjdevelop@…         |          Owner:
     Type:  Bug Report - General  |         Status:  infoneeded_new
 Priority:  blocker               |      Milestone:  0.27.6
Component:  MythTV - Housekeeper  |        Version:  Master Head
 Severity:  high                  |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+--------------------------------
Changes (by dekarl):

 * status:  new => infoneeded_new


Comment:

 This appears to be a configuration / packaging error that triggered a bug.
 If this is the case then fixing the configuration error would be the short
 term solution. Fixing the subsequent error would be for 0.28.
 {{{
 Database error was:
 Too many connections
 }}}
 What is your MySQL connection limit? For the Debian / Ubuntu packaging we
 explicitly set it to 100. See
 https://github.com/MythTV/packaging/blob/master/deb/debian/mythtv.cnf
 From your other tickets it appears as if you may be using Mythbuntu
 packaging, but its not clear if the MySQL configuration is working as
 designed.

 Can you identify why the auto expirer decided to delete these 25
 recordings? Was is to make room for a running recording. Deleting one
 after another from the database, then seeing that there still was not
 enough free space and deleting the next recording?

 Did the auto expire remove only the database entries or also the actual
 recording files? I'm wondering if testing for existence of the file before
 issuing the deletion request would prohibit this issue. Thinking that
 without knowledge of the Storage Groups it will not find the file and skip
 the recording.

 Another idea is to remove the fallback to pre-StorageGroup configurations
 for good.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12171#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list