<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 6, 2013 at 12:25 PM, Gary Buhrmaster <span dir="ltr">&lt;<a href="mailto:gary.buhrmaster@gmail.com" target="_blank">gary.buhrmaster@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">On Tue, Aug 6, 2013 at 2:36 PM, George Galt &lt;<a href="mailto:george.galt@gmail.com">george.galt@gmail.com</a>&gt; wrote:<br>

....<br>
<div class="im">&gt; In defense of process monitors, I run one not because myth is unreliable,<br>
&gt; but because it is so reliable that it may take several days or more before I<br>
&gt; notice it isn&#39;t running -- by which time I&#39;ve missed a few of my wife&#39;s<br>
&gt; favorite programs.  Since I don&#39;t watch TV every night (or sometimes for<br>
&gt; more than a week, even when home), I can&#39;t otherwise monitor the system.  Do<br>
&gt; you have any other suggestions if a process monitor isn&#39;t the preferred<br>
&gt; strategy?<br>
<br>
</div>Monitoring is not (itself) a bad thing.  However, what you do about<br>
a failure detection is important.  I know the common &quot;Windows user&quot;<br>
approach is to reboot, and hope the problem goes away.  It might<br>
(especially with commodity hardware that occasionally just<br>
fails in unusual ways) but you have not addressed the root cause.<br>
The reality is that MythTV has bugs(*).  To improve MythTV, there<br>
needs to be reliable and useful (and hopefully repeatable) reports<br>
of problems.<br>
<br>
So, rather than just restarting your current release(**) MythTV,<br>
why not have your monitoring system perform the appropriate<br>
debugging steps as as documented at <a href="http://www.mythtv.org/wiki/Debugging" target="_blank">http://www.mythtv.org/wiki/Debugging</a><br>
so that bugs can be reported, and fixed?  Note that for the<br>
backtrace to be really useful, you will need to install the debug<br>
symbols.  Except in the most extremely storage constrained<br>
system, installing the debug symbols is a no-brainer.  Just<br>
install them, and have your package system maintain them<br>
as you upgrade so you will have them when you need them.<br>
<br>
Gary<br>
<br>
(*) There have been great strides over the last few development<br>
cycles to eliminate deadlocks and to deal with potential errors<br>
detected by static analysis, along with the usual bug fixes.  But<br>
there is always more to do, and MythTV is a very complex piece<br>
of software, not all code paths have been extensively tested.<br>
And any complex piece of code has bugs.<br>
<br>
(**) If you are running older releases, first move to the current<br>
release.  As stated above, many fixes go in at each release,<br>
and the devs do not have the resources to deal with bugs that<br>
have already been fixed in later releases.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">Gary:<br><br></div><div class="gmail_extra">You are right, of course.  I&#39;ll look into installing the debugging symbols and getting the proper information.  Normally, I have no issues with myth failing, but I have had an intermittent problem with it crashing that is associated with one particular program (the Graham Norton Show on BBC America, recorded through an HD-PVR).  I&#39;ll see if I can get a proper backtrace for that issue and submit it.<br>
<br></div><div class="gmail_extra">Thanks,<br><br>George<br></div></div>