[mythtv] Problem with expiring programs, have space in the recording group and Deleted files

Michael Rice mikerice1969 at gmail.com
Mon Oct 8 03:51:15 UTC 2007


I just updated to 14632 and when I ran the backend it expired a whole
bunch of programs.  I was surprised at this since:

a) It left some older lower priority recordings
b) There were (and still are six recordings in the Deleted group)
c) I had a whole lot of space in one of my recording group directories

Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb7             435G  421G   14G  97% /usr1
/dev/sda7             435G   14G  421G   4% /usr2


mysql> select * from storagegroup;
+----+-----------+---------------+-------------------+
| id | groupname | hostname      | dirname           |
+----+-----------+---------------+-------------------+
|  1 | Default   | masterbackend | /usr1/recordings  |
|  2 | Default   | mythfrontend1 | /extra/recordings |
|  3 | Default   | masterbackend | /usr2/recordings/ |
+----+-----------+---------------+-------------------+

mysql> select title,subtitle from recorded where recgroup='Deleted';
+------------------------+---------------------------------+
| title                  | subtitle                        |
+------------------------+---------------------------------+
| House Hunters          | Larger House, Same Neighborhood |
| The War                | A Necessary War                 |
| Dancing With the Stars | Results Show                    |
| Cops                   | Coast to Coast                  |
| Planet Carnivore       | Sharks                          |
| Maximum Exposure       | Extremely Lucky Dudes           |
+------------------------+---------------------------------+
6 rows in set (0.00 sec)

Is this a bug or did I do something to cause this...  I just started
using the trunk version yesterday so I am not real familar with how
the recording groups and Deleted section work.  Does this sound like
it is working correctly?

Here is the log where the programs were expired (right after I updated
to 14632):

2007-10-07 19:36:07.555 autoexpire: Expiring Program: Expiring 974
MBytes for 1002 @ Wed Oct 3 21:00:00 2007 => Private Practice "In
Which Sam Receives an Unexpected Visitor"
2007-10-07 19:36:07.558 Expiring 513 MBytes for 1010 @ Wed Oct 3
16:30:00 2007 => Arthur "The A Team; Emily Swallows a Horse"
2007-10-07 19:36:07.560 autoexpire: Expiring Program: Expiring 513
MBytes for 1010 @ Wed Oct 3 16:30:00 2007 => Arthur "The A Team; Emily
Swallows a Horse"
2007-10-07 19:36:07.563 Expiring 467 MBytes for 1012 @ Sun Sep 30
21:00:00 2007 => Family Guy "Movin' Out (Brian's Song)"
2007-10-07 19:36:07.565 autoexpire: Expiring Program: Expiring 467
MBytes for 1012 @ Sun Sep 30 21:00:00 2007 => Family Guy "Movin' Out
(Brian's Song)"
2007-10-07 19:36:07.567 Expiring 486 MBytes for 1052 @ Tue Jun 26
21:30:00 2007 => Dog the Bounty Hunter "The Last Call"
2007-10-07 19:36:07.570 autoexpire: Expiring Program: Expiring 486
MBytes for 1052 @ Tue Jun 26 21:30:00 2007 => Dog the Bounty Hunter
"The Last Call"
2007-10-07 19:36:07.572 Expiring 512 MBytes for 1052 @ Tue Aug 7
13:30:00 2007 => Dog the Bounty Hunter "A Friend in Need"
2007-10-07 19:36:07.575 autoexpire: Expiring Program: Expiring 512
MBytes for 1052 @ Tue Aug 7 13:30:00 2007 => Dog the Bounty Hunter "A
Friend in Need"
2007-10-07 19:36:07.577 Expiring 514 MBytes for 1052 @ Mon Aug 13
22:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:36:07.580 autoexpire: Expiring Program: Expiring 514
MBytes for 1052 @ Mon Aug 13 22:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:36:07.584 Expiring 448 MBytes for 1052 @ Tue Aug 21
21:30:00 2007 => Dog the Bounty Hunter "Crime Don't Pay"
2007-10-07 19:36:07.587 autoexpire: Expiring Program: Expiring 448
MBytes for 1052 @ Tue Aug 21 21:30:00 2007 => Dog the Bounty Hunter
"Crime Don't Pay"
2007-10-07 19:36:07.588 Expiring 452 MBytes for 1052 @ Tue Aug 28
21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:36:07.584 Reschedule requested for id 0.
2007-10-07 19:36:07.591 autoexpire: Expiring Program: Expiring 452
MBytes for 1052 @ Tue Aug 28 21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:36:07.596 Expiring 514 MBytes for 1052 @ Tue Sep 4
21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:36:07.599 autoexpire: Expiring Program: Expiring 514
MBytes for 1052 @ Tue Sep 4 21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:36:07.601 Expiring 406 MBytes for 1052 @ Tue Sep 25
21:30:00 2007 => Dog the Bounty Hunter "No Love Still"
2007-10-07 19:36:07.604 autoexpire: Expiring Program: Expiring 406
MBytes for 1052 @ Tue Sep 25 21:30:00 2007 => Dog the Bounty Hunter
"No Love Still"
2007-10-07 19:36:07.605 Expiring 832 MBytes for 1002 @ Mon Aug 6
22:00:00 2007 => Supernanny "Amouri Family"
2007-10-07 19:36:07.608 autoexpire: Expiring Program: Expiring 832
MBytes for 1002 @ Mon Aug 6 22:00:00 2007 => Supernanny "Amouri
Family"
2007-10-07 19:36:07.609 Expiring 499 MBytes for 1007 @ Wed Jun 20
21:00:00 2007 => MythBusters "Snow Special"
2007-10-07 19:36:07.612 autoexpire: Expiring Program: Expiring 499
MBytes for 1007 @ Wed Jun 20 21:00:00 2007 => MythBusters "Snow
Special"
2007-10-07 19:36:07.613 Expiring 987 MBytes for 1002 @ Mon Aug 13
20:00:00 2007 => Wife Swap "Koopman/Early"
2007-10-07 19:36:07.616 autoexpire: Expiring Program: Expiring 987
MBytes for 1002 @ Mon Aug 13 20:00:00 2007 => Wife Swap
"Koopman/Early"
2007-10-07 19:36:07.617 Expiring 841 MBytes for 1007 @ Wed Aug 22
21:00:00 2007 => MythBusters "Red Rag to a Bull"
2007-10-07 19:36:07.620 autoexpire: Expiring Program: Expiring 841
MBytes for 1007 @ Wed Aug 22 21:00:00 2007 => MythBusters "Red Rag to
a Bull"
2007-10-07 19:36:07.622 Expiring 1006 MBytes for 1007 @ Wed Aug 29
21:00:00 2007 => MythBusters "Superhero Hour"
2007-10-07 19:36:07.624 autoexpire: Expiring Program: Expiring 1006
MBytes for 1007 @ Wed Aug 29 21:00:00 2007 => MythBusters "Superhero
Hour"
2007-10-07 19:36:07.627 Expiring 1823 MBytes for 1010 @ Mon Sep 24
20:00:00 2007 => The War "When Things Get Tough"
2007-10-07 19:36:07.629 autoexpire: Expiring Program: Expiring 1823
MBytes for 1010 @ Mon Sep 24 20:00:00 2007 => The War "When Things Get
Tough"
2007-10-07 19:36:16.106 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.137 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.145 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.151 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.156 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.162 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.191 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.197 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.202 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.207 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.220 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.225 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.230 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.236 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:16.241 SendResponse: Unable to write to client
socket, as it's no longer there
2007-10-07 19:36:19.911 Scheduled 2665 items in 12.3 = 0.01 match + 12.31 place
2007-10-07 19:36:19.915 scheduler: Scheduled items: Scheduled 2665
items in 12.3 = 0.01 match + 12.31 place
2007-10-07 19:36:19.917 Reschedule requested for id 0.
2007-10-07 19:36:32.415 Scheduled 2665 items in 12.5 = 0.00 match + 12.49 place
2007-10-07 19:36:32.418 scheduler: Scheduled items: Scheduled 2665
items in 12.5 = 0.00 match + 12.49 place
2007-10-07 19:36:32.420 Reschedule requested for id 0.
2007-10-07 19:36:45.023 Scheduled 2665 items in 12.6 = 0.00 match + 12.59 place
2007-10-07 19:36:45.026 scheduler: Scheduled items: Scheduled 2665
items in 12.6 = 0.00 match + 12.59 place
2007-10-07 19:36:45.028 Reschedule requested for id 0.
2007-10-07 19:36:57.427 Scheduled 2665 items in 12.4 = 0.00 match + 12.39 place
2007-10-07 19:36:57.430 scheduler: Scheduled items: Scheduled 2665
items in 12.4 = 0.00 match + 12.39 place
2007-10-07 19:38:48.030 MainServer::HandleAnnounce Monitor
2007-10-07 19:38:48.032 adding: masterbackend as a client (events: 0)
2007-10-07 19:38:48.033 MainServer::HandleAnnounce Monitor
2007-10-07 19:38:48.034 adding: masterbackend as a client (events: 1)
2007-10-07 19:41:07.875 Expiring 513 MBytes for 1010 @ Wed Oct 3
16:30:00 2007 => Arthur "The A Team; Emily Swallows a Horse"
2007-10-07 19:41:07.879 autoexpire: Expiring Program: Expiring 513
MBytes for 1010 @ Wed Oct 3 16:30:00 2007 => Arthur "The A Team; Emily
Swallows a Horse"
2007-10-07 19:41:07.881 Expiring 467 MBytes for 1012 @ Sun Sep 30
21:00:00 2007 => Family Guy "Movin' Out (Brian's Song)"
2007-10-07 19:41:07.884 autoexpire: Expiring Program: Expiring 467
MBytes for 1012 @ Sun Sep 30 21:00:00 2007 => Family Guy "Movin' Out
(Brian's Song)"
2007-10-07 19:41:07.886 Expiring 486 MBytes for 1052 @ Tue Jun 26
21:30:00 2007 => Dog the Bounty Hunter "The Last Call"
2007-10-07 19:41:07.889 autoexpire: Expiring Program: Expiring 486
MBytes for 1052 @ Tue Jun 26 21:30:00 2007 => Dog the Bounty Hunter
"The Last Call"
2007-10-07 19:41:07.902 Expiring 512 MBytes for 1052 @ Tue Aug 7
13:30:00 2007 => Dog the Bounty Hunter "A Friend in Need"
2007-10-07 19:41:07.906 autoexpire: Expiring Program: Expiring 512
MBytes for 1052 @ Tue Aug 7 13:30:00 2007 => Dog the Bounty Hunter "A
Friend in Need"
2007-10-07 19:41:07.908 Expiring 514 MBytes for 1052 @ Mon Aug 13
22:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:41:07.913 autoexpire: Expiring Program: Expiring 514
MBytes for 1052 @ Mon Aug 13 22:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:41:07.922 Expiring 448 MBytes for 1052 @ Tue Aug 21
21:30:00 2007 => Dog the Bounty Hunter "Crime Don't Pay"
2007-10-07 19:41:07.925 autoexpire: Expiring Program: Expiring 448
MBytes for 1052 @ Tue Aug 21 21:30:00 2007 => Dog the Bounty Hunter
"Crime Don't Pay"
2007-10-07 19:41:07.927 Expiring 452 MBytes for 1052 @ Tue Aug 28
21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:41:07.929 autoexpire: Expiring Program: Expiring 452
MBytes for 1052 @ Tue Aug 28 21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:41:07.931 Expiring 514 MBytes for 1052 @ Tue Sep 4
21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:41:07.946 autoexpire: Expiring Program: Expiring 514
MBytes for 1052 @ Tue Sep 4 21:30:00 2007 => Dog the Bounty Hunter
2007-10-07 19:41:07.949 Expiring 406 MBytes for 1052 @ Tue Sep 25
21:30:00 2007 => Dog the Bounty Hunter "No Love Still"
2007-10-07 19:41:07.939 Reschedule requested for id 0.
2007-10-07 19:41:07.953 autoexpire: Expiring Program: Expiring 406
MBytes for 1052 @ Tue Sep 25 21:30:00 2007 => Dog the Bounty Hunter
"No Love Still"
2007-10-07 19:41:07.956 Expiring 832 MBytes for 1002 @ Mon Aug 6
22:00:00 2007 => Supernanny "Amouri Family"
2007-10-07 19:41:07.964 autoexpire: Expiring Program: Expiring 832
MBytes for 1002 @ Mon Aug 6 22:00:00 2007 => Supernanny "Amouri
Family"
2007-10-07 19:41:07.966 Expiring 499 MBytes for 1007 @ Wed Jun 20
21:00:00 2007 => MythBusters "Snow Special"
2007-10-07 19:41:07.968 autoexpire: Expiring Program: Expiring 499
MBytes for 1007 @ Wed Jun 20 21:00:00 2007 => MythBusters "Snow
Special"
2007-10-07 19:41:07.970 Expiring 987 MBytes for 1002 @ Mon Aug 13
20:00:00 2007 => Wife Swap "Koopman/Early"
2007-10-07 19:41:07.973 autoexpire: Expiring Program: Expiring 987
MBytes for 1002 @ Mon Aug 13 20:00:00 2007 => Wife Swap
"Koopman/Early"
2007-10-07 19:41:07.974 Expiring 841 MBytes for 1007 @ Wed Aug 22
21:00:00 2007 => MythBusters "Red Rag to a Bull"
2007-10-07 19:41:07.977 autoexpire: Expiring Program: Expiring 841
MBytes for 1007 @ Wed Aug 22 21:00:00 2007 => MythBusters "Red Rag to
a Bull"
2007-10-07 19:41:07.979 Expiring 1006 MBytes for 1007 @ Wed Aug 29
21:00:00 2007 => MythBusters "Superhero Hour"
2007-10-07 19:41:07.982 autoexpire: Expiring Program: Expiring 1006
MBytes for 1007 @ Wed Aug 29 21:00:00 2007 => MythBusters "Superhero
Hour"
2007-10-07 19:41:07.990 Expiring 1823 MBytes for 1010 @ Mon Sep 24
20:00:00 2007 => The War "When Things Get Tough"
2007-10-07 19:41:07.993 autoexpire: Expiring Program: Expiring 1823
MBytes for 1010 @ Mon Sep 24 20:00:00 2007 => The War "When Things Get
Tough"
2007-10-07 19:41:20.380 Scheduled 2665 items in 12.4 = 0.02 match + 12.42 place


More information about the mythtv-dev mailing list