[mythtv] [mythtv-commits] Ticket #6192: Long delays processing events
gnome42 at gmail.com
Mon Feb 9 22:30:52 UTC 2009
On Mon, Feb 9, 2009 at 1:06 PM, Chris Pinkham <cpinkham at bc2va.org> wrote:
> * On Mon Feb 09, 2009 at 05:10:27PM -0000, MythTV wrote:
>> #6192: Long delays processing events
>> Chris Pinkham has committed a similar patch in -fixes  and trunk
>> Removing this debugging patch and updating to the latest sources should
>> fix the problem.
> The issue for me was happening when MasterBackendOverride was turned on
> and the master was deleting a file for a disconnected slave. The main
> problem was the master using ProgramInfo::MarkAsInUse() which in turn
> called RemoteCheckFile which tried to connect to the master backend
> (to get to a slave). There may be another case of this that is
> hit when MasterBackendOverride is on and the master calls
> ProgramInfo::GetPlaybackURL, I haven't had a chance to look deeper into
> that yet. My commit fixed the symptom and a cause, but there may be other
> causes out there.
Yeah, I thought there was probably other reasons for the backend getting into
the loop sending events to itself too.
The one I looked into from a while back was caused (I think) by the mythbackend
preview generation process on the backend inadvertently registering for events
and if timing was right it would cause the loop.
More information about the mythtv-dev