<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"> This bug has been plaguing me for at
least ten years. I don't use any guide data.<br>
I manually set up all of my recordings, usually on a once per week
basis. The<br>
two news programs I watch get recorded on a daily basis.<br>
<br>
The time until failure varies greatly, but I'd estimate that it
happens at least<br>
once every 3 weeks. Every day, I check to see the Upcoming
Recording list.<br>
When I find that there are items missing, I stop and restart the
backend.<br>
All the missing recordings appear after doing this.<br>
<br>
I suspect that whatever data structure is used to keep track of
upcoming<br>
recordings get corrupted over time. Maybe it's missing semaphore
protection<br>
when one thread is adding and another is deleting at the same
time?<br>
<br>
It's hard to come up with a scheme to catch the bug because it
takes a<br>
fairly long time to reproduce.<br>
<br>
- Steve<br>
<br>
<br>
On 07/02/2017 07:27 PM, John P Poet wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACSqvJmwtadNaPM_ksvxiJXXSm_NM_x27LxmdiPeccZROHYoag@mail.gmail.com">
<div dir="ltr">On Sun, Jul 2, 2017 at 4:33 PM Richard Shaw <<a
href="mailto:hobbes1069@gmail.com" moz-do-not-send="true">hobbes1069@gmail.com</a>>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I have looked though the logs but nothing has
jumped out at me...
<div><br>
</div>
<div>After some number of days, mythbakend just stops
recording. Nothing shows in the "Upcoming recordings".
The frontend continues to work as expected for existing
recordings and videos. </div>
<div><br>
</div>
<div>When I restart the backend (systemctl restart
mythbackend) it takes 30+ seconds which is way longer
than usual, but once it does, recordings resume as
expected.</div>
<div><br>
</div>
<div>I'm not really sure where to start.</div>
</div>
</blockquote>
<div><br>
</div>
<div>What are you using for guide data? It almost sounds
like a "resched" is never happening for you. Mythbackend,
itself, does not automatically run the scheduler to populate
the upcoming recordings. That is left the whatever is
handling populating the guide data.<br>
<br>
</div>
<div>Next time it happens, see if "mythutil --resched" "fixes"
the problem.<br>
<br>
</div>
<div>John<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mythtv-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-dev">http://lists.mythtv.org/mailman/listinfo/mythtv-dev</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>