[mythtv-users] backend always hangs on specific recording

Michael T. Dean mtdean at thirdcontact.com
Wed Jun 12 11:40:27 UTC 2013


On 06/12/2013 07:36 AM, Stephen Worthington wrote:
> On Tue, 11 Jun 2013 21:06:09 -0700, you wrote:
>
>> Tuesday afternoon at 1:30pm, mythtv is set to record 2 shows, and every
>> week when I come home Tuseday evening, I find that the backend is stuck:
>> the backend can't connect to it, and later scheduled recordings didn't
>> happen.
>> After killing and restarting the backend so that the frontend can connect
>> to it again and get the list of recordings, I see one recording shows up
>> with the "missing file" X next to it, while the other shows up as a 0 sized
>> recording. If I try to play the 0-sized one, the backend seems to hang
>> again.
>> I can manually tune to the channels in question just fine, and I've
>> recorded two things simultaneously from those two channels too. There's
>> nothing in the log that indicates any kind of failure. Any idea why those
>> same scheduled recording would always cause the backend to hang?
> What version of MythTV are you using?  I used to get a similar problem
> to that on, IIRC, 0.24.  I upgraded to 0.25 and then quickly to 0.26,
> so I am not sure if 0.25 ever did it.  It was a deadlock situation,
> and I tended to get it at the same time each week, but it took more
> than two programs at once to trigger it for me.  In 0.26, I can still
> get a similar problem, but instead of a deadlock, mythbackend detects
> the lockup and restarts itself.  On restart, it records OK.  This is
> much better than having it stop recording, but I still miss a couple
> of minutes of recordings due to the time mythbackend takes to restart.
>
> In my case, if I already had recordings running at the time of the
> deadlock, those recordings would continue and end normally, but any
> new recordings would never start after that.  If it is like my
> problem, you may be able to prevent it from happening by getting one
> or other of the recordings to start a minute or two earlier.

Do you mean mythbackend restarts the recording?  It will never actually 
restart itself (i.e. mythbackend).  If mythbackend is being restarted, 
something else (maybe upstart) is doing that, not us.

Mike


More information about the mythtv-users mailing list