[mythtv-users] expiring expiring programs waaaaaay too soon

Michael T. Dean mtdean at thirdcontact.com
Mon Dec 3 14:36:31 UTC 2012


On 12/03/2012 04:40 AM, Mike Perkins wrote:
> On 02/12/12 21:44, Brian J. Murrell wrote:
>> So every night I print out the expiry list with mythbackend
>> --printexpire just so that I am keeping an eye on what we've not
>> watched yet that could be getting expired.  Luckily the expiry process
>> has been working away on a long list of deleted programs.
>>
>> I've discovered though that while for the most part expiry is expiring
>> the deleted list on a more or less FIFO basis, it has deviated from
>> that.
...
>> To save you a bit of work:
>> * the same 69 lines were deleted in both lists
>> * the second list is missing the first three items in the first list
>> * the second list is also missing:
>>
>> "Criminal Minds"                          686 MB 
>> 2012-11-23T02:07:00      [  0]
>> "Survivor: Philippines":"Whiners Are We  1074 MB 
>> 2012-11-21T20:00:00      [  0]
>>
>> So, the first three items missing on the second list is expected.  They
>> were the top three items to be expired from the deleted list.  It's the
>> "Criminal Minds" and "Survivor: Philippines: Whiners Are We" that I 
>> can't
>> see any reason should have been expired so soon.  The Survivor episode
>> spent just one day in the Deleted group before it was expired before
>> some almost 80 programs that were ahead of it on the list.
>>
>> Why was it expired so quickly?
>>
> My guess is, a new program had to be recorded, the scheduler chose a 
> random disk out of your storage group pool, and then it looked for 
> programs to delete to free up enough space. It just happened to choose 
> a disk which did not have the oldest expired items in it.
>


Yes, expiry is never on a first-in-first-out (or even 
highest-priority-for-autoexpire-first-expired) basis--it's always 
highest priority /for the file system in use/.  You are probably using 
the wrong Storage Group disk scheduler (which should be chosen based on 
how you use your disk):

http://www.gossamer-threads.com/lists/mythtv/users/532093#532093

Mike


More information about the mythtv-users mailing list