[mythtv-users] find_orphans.py sort of working, sort of timing out
Raymond Wagner
raymond at wagnerrp.com
Thu Mar 8 21:55:19 UTC 2012
On 3/8/2012 16:15, Matt Emmott wrote:
> 2012-03-08 16:09:26.425 Scheduled 2643 items in 18.6 = 0.01 match +
> 18.54 place
> 2012-03-08 16:09:26.440 Reschedule requested for id 0.
> 2012-03-08 16:09:45.127 Scheduled 2643 items in 18.7 = 0.02 match +
> 18.64 place
>
> This is always the last line in the log after a delete run. I have a
> lot of schedules set up with the "max recordings" set/ My feeling is
> that the script chokes when it deletes an episode of something that
> lowers the max recordings, and the reschedule kicks in. Does the
> "2643 items" mean that I actually have that many schedules set up?
> Seems like a lot.
That means there are 2643 shows that match recording rules you have
configured. If you have news set up to record, they might air several
times per day. Syndicated shows like CSI or Two and a Half Men get tons
of play. Between Comedy Central, WGN on two different sources, and two
separate local channels, I list well over a hundred episodes of South
Park over the next two weeks. Burn Notice has several dozen showings on
USA alone. NCIS, CSI, and CSI: Miami are all close to a hundred,
although people must hate CSI: NY, as it's only on roughly 20 times.
At 20ms for the first step, that means your whole program table was
cached, and MySQL is configured to allow enough temp table space to fit
the results in memory without paging. Unless you're low on memory and
using the database disk heavily, you generally don't have to concern
yourself with that value. At 19 seconds, you've still got plenty of
headroom, but if that number starts getting close to around a minute,
take measures to reduce the number of matches. Clear out old rules for
shows that have completed, but are still in syndication. Clear out
analog and standard definition duplicates of HD channels. Add "new
episode only" filters. Switch things from "any channel" to "this
channel" rules.
More information about the mythtv-users
mailing list