[mythtv-users] Live Tv stalls. Again

Kevin Johnson iitywygms at gmail.com
Thu Jun 5 23:51:37 UTC 2014


On Wed, Jun 4, 2014 at 5:40 PM, Jean-Yves Avenard <jyavenard at gmail.com>
wrote:

> On 5 June 2014 10:05, Kevin Johnson <iitywygms at gmail.com> wrote:
> >
> > Jun  4 16:39:22 mythbackend mythbackend:
> > mythbackend[1666]: W ProcessRequest ringbuffer.cpp:1224
> > (WaitForReadsAllowed)
> > RingBuf(/var/lib/mythtv/livetv/1798_20140604233729.mpg): Taking too
> > long to be allowed to read..
>
> Something is stalling on your backend.
>
> To know exactly where, we would need the debugging logs:
> run the backend with -v file --loglevel=debug
>
> it will be very verbose (unless you can compile from source, the
> actual massive verbosity isn't even useful, I have a small patch that
> removes it
>
>
> >
> > Jun  4 16:40:33 mythbackend mythbackend:
> > mythbackend[1666]: N Expire autoexpire.cpp:641 (SendDeleteMessages)
> > Expiring 0 MB for 1702 at 2014-06-04T23:34:02Z => "The Dr. Oz
> > Show":"Buyer Beware: Chicken From China?"
>
> the backend was unable to write to the disk, hence the 0MB recording
>
> There has been no change to the backend since the merge of 0.27.1
> creation last week.
>
> But there was no major changes to the backend recording / disk control
> code since February, when all the fixes that mattered were backported.
>
>
> it may just be a bad coincidence, and your issue is hardware related.
> The logs will tell us more.
>
> Or you could revert the backend to pre 0.27.1 and see if the problem
> disappear. But I'd be very surprised if it did so
> _______________________________________________
>


Okay, I think I got the important part.
You were not kidding about verbose.  300 megs in 10 minutes.
Here is the exact time it locked.

2014-06-05 16:38:56.627521 N
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): ReadPriv(..32768,
normal): ReadBufAvail() == 0
2014-06-05 16:38:56.658105 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): ReadPriv(..32768,
normal) @1884652 -- begin
2014-06-05 16:38:56.658124 N
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): ReadPriv(..32768,
normal): ReadBufAvail() == 0
2014-06-05 16:38:56.688959 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): ReadPriv(..32768,
normal) @1884652 -- begin
2014-06-05 16:38:56.688979 N
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): ReadPriv(..32768,
normal): ReadBufAvail() == 0
2014-06-05 16:38:56.736928 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): ReadPriv(..32768,
normal) @1884652 -- begin
2014-06-05 16:38:56.736947 N
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): ReadPriv(..32768,
normal): ReadBufAvail() == 0
2014-06-05 16:38:57.466835 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): We are not reading
anything (totfree: 4194303 commserror:0 ateof:1 setswitchtonext:0
2014-06-05 16:38:57.466852 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): @ end of read
ahead loop
2014-06-05 16:38:57.930617 I  Maximal bitrate of busy encoders is 0 KB/min
2014-06-05 16:38:58.472057 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): We are not reading
anything (totfree: 4194303 commserror:0 ateof:1 setswitchtonext:0
2014-06-05 16:38:58.472073 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): @ end of read
ahead loop
2014-06-05 16:38:59.477296 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): We are not reading
anything (totfree: 4194303 commserror:0 ateof:1 setswitchtonext:0
2014-06-05 16:38:59.477313 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): @ end of read
ahead loop
2014-06-05 16:39:00.482543 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): We are not reading
anything (totfree: 4194303 commserror:0 ateof:1 setswitchtonext:0
2014-06-05 16:39:00.482562 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): @ end of read
ahead loop
2014-06-05 16:39:01.246716 I  calling StopReads()
2014-06-05 16:39:01.246730 I
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): StopReads()
2014-06-05 16:39:01.246841 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): We are not reading
anything (totfree: 4194303 commserror:0 ateof:1 setswitchtonext:0
2014-06-05 16:39:01.246885 D
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): @ end of read
ahead loop
2014-06-05 16:39:01.247287 I
RingBuf(/var/lib/mythtv/livetv/1702_20140605233214.mpg): StopReads()
2014-06-05 16:39:12.931573 I  Maximal bitrate of busy encoders is 0 KB/min
2014-06-05 16:39:26.099991 C  Received Terminated: Code 0, PID 16039, UID
0, Value 0x00000000
2014-06-05 16:39:26.101745 N  MythBackend exiting

Could it be my hdhr prime is failing?  I did some test on the drives and
they tested okay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140605/4345abeb/attachment.html>


More information about the mythtv-users mailing list