<div dir="ltr"><div><div>Two days ago I change the disk scheduler from balanced disk i/o to combination.<br></div>Since then I have not experienced a stall.<br></div>Probably not the real reason behind the stalls, but so far so good.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 6:51 PM, Kevin Johnson <span dir="ltr">&lt;<a href="mailto:iitywygms@gmail.com" target="_blank">iitywygms@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Got some different errors from the frontend today.<br></div>Not sure if they give any other clues.  This is after I updated the backend to the latest fixes.<br>

<br>


        
        
        
        


<p style="margin-bottom:0in;line-height:100%">Jul 22 18:43:26 g430
mythfrontend.real: mythfrontend[2106]: W CoreContext
mythplayer.cpp:3145 (PauseDecoder) Player(1): Waited 100ms for
decoder to pause</p>
<p style="margin-bottom:0in;line-height:100%">Jul 22 18:43:29 
mythfrontend.real: last message repeated 9 times
</p>
<p style="margin-bottom:0in;line-height:100%">Jul 22 18:43:29 g430
mythfrontend.real: mythfrontend[2106]: E CoreContext
mythplayer.cpp:3205 (DecoderEnd) Player(1): Failed to stop decoder
loop.
</p>
<p style="margin-bottom:0in;line-height:100%">Jul 22 18:43:29 g430
mythfrontend.real: mythfrontend[2106]: I CoreContext
mythplayer.cpp:5320 (SetDecoder) Player(1): Waited 10ms for decoder
lock
</p>
<p style="margin-bottom:0in;line-height:100%">Jul 22 18:44:00 
mythfrontend.real: last message repeated 1004 times
</p>
<p style="margin-bottom:0in;line-height:100%">Jul 22 18:45:01 
mythfrontend.real: last message repeated 2100 times
</p>
<p style="margin-bottom:0in;line-height:100%">Jul 22 18:45:33 
mythfrontend.real: last message repeated 1099 times
</p>

<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 7:39 AM, Kevin Johnson <span dir="ltr">&lt;<a href="mailto:iitywygms@gmail.com" target="_blank">iitywygms@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, Jul 22, 2014 at 1:46 AM, Mike Perkins <span dir="ltr">&lt;<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On 22/07/14 09:34, Jean-Yves Avenard wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On 22 July 2014 20:26, Mike Perkins &lt;<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I&#39;m assuming that the error messages shouldn&#39;t be truncated like that? Is<br>
this an indication of buffer overflow / underflow?<br>
</blockquote>
those errors are typical to myth not writing to the file any longer,<br>
or taking a long time to write.<br>
<br>
There are two threads at play.<br>
The recorder, that capture the data from the capture card, and write it to disk.<br>
<br>
and the reader which serve data to the mythfrontend client.<br>
WaitForReadsAllowed errors are thrown when the reader has read<br>
everything that there is to read and has been waiting for too long for<br>
more data to be available.<br>
<br>
In the backend log, you will probably see where the bottleneck is.<br>
Either the capture card, or the disk taking a long time to write XXX<br>
bytes.<br>
<br>
</blockquote></div>
I&#39;m talking about the log messages *themselves*, not the errors that are referred to.<span><font color="#888888"><br></font></span></blockquote></div><div><br><br>They are truncated because I fail.<br><br>Jul 21 21:46:07 mythbackend mythbackend: mythbackend[1338]: I ProcessRequest mainserver.cpp:1556 (HandleAnnounce) adding: g430 as a remote file transfer<br>



Jul 21 21:46:52 mythbackend mythbackend: mythbackend[1338]: W ProcessRequest ringbuffer.cpp:1224 (WaitForReadsAllowed) RingBuf(/D2/livetv/1706_20140722044607.mpg): Taking too long to be allowed to read..<div><br>
Jul 21 21:47:01  mythbackend: last message repeated 138 times<br></div>
Jul 21 21:47:01 mythbackend mythbackend: mythbackend[1338]: E ProcessRequest ringbuffer.cpp:1229 (WaitForReadsAllowed) RingBuf(/D2/livetv/1706_20140722044607.mpg): Took more than 10 seconds to be allowed $<br>Jul 21 21:47:04 mythbackend mythbackend: mythbackend[1338]: I ProcessRequest mainserver.cpp:1436 (HandleAnnounce) MainServer::ANN Monitor<br>



<br></div><div>I think it is safe to assume that since the backend has not been upgraded in a month that the software is not the issue.<br></div><div>I think that upgrading the frontends did not cause this issue.  How could it?<br>



</div><div>I can stream 3 different high def movies from the backend to 3 separate computers without a hiccup. The network must be okay.<br><br>This must be a drive starting to fail or something of that nature.<br></div>


<div>
Maybe the hdhr prime is causing this.  But then I would see recording that failed correct?<br><br></div><div>I would start the backend with the -v option, but it errors out with a message about being a upstart job and -v is not supported.<br>



</div><div>So I need to read on how to start the backend with more error logging.<br></div><div>Once I have that going I can share the more detailed log files.<br></div><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<span><font color="#888888">
<br>
-- <br>
<br>
Mike Perkins</font></span><div><div><br>
<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/<u></u>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>