<br><br><div><span class="gmail_quote">On 2/13/07, <b class="gmail_sendername"><a href="mailto:f-myth-users@media.mit.edu">f-myth-users@media.mit.edu</a></b> &lt;<a href="mailto:f-myth-users@media.mit.edu">f-myth-users@media.mit.edu
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Where exactly is your database?<br><br>As a PVR-x50 user who&#39;s been getting screwed for a year by glitches
<br>caused by MySQL locking winding up locking out other table accesses,<br>this is a sore spot.<br><br>I&#39;m assuming that the HDHR isn&#39;t trying to write into recordedmarkup<br>or its SVN incarnation (unlike the ivtv-based encoders), but I&#39;m
<br>wondering if perhaps there&#39;s something wrong with your database<br>(like crashed or extremely un-optimized tables) that&#39;s either causing<br>outright disk contention, or lots of swapping that is itself screwing
<br>your ability to write to disk.&nbsp;&nbsp;So you might try repairing and<br>optimizing tables (if you don&#39;t already) and see if that helps.<br><br>And of course the FE makes large transient demands on the database,<br>hence my suspicion.&nbsp;&nbsp;Is your DB on the master backend&#39;s CPU?&nbsp;&nbsp;Same
<br>disk, or a different disk?&nbsp;&nbsp;(In -my- case, of course, it made no<br>difference, since it was the DB locking itself that was a problem and<br>not contention for disk bandwidth, but this wasn&#39;t obvious for most of<br>
a year.)&nbsp;&nbsp;Is your backend swapping a lot?&nbsp;&nbsp;Can you try moving your<br>database to a completely different machine to run a test?<br><br>(You can accomplish this latter, essentially, by shutting down MySQL,<br>copying its files to some other machine -with a compatible version-
<br>installed [don&#39;t recklessly switch MySQL versions if you&#39;re just<br>copying raw database files w/o import/export!], and changing the<br>config file on your backend to point to whichever host now has the DB.)<br>
<br>P.S.&nbsp;&nbsp;If your test system is using the MySQL server on your production<br>backend, of course, you&#39;re splitting things off in a way that might<br>cause the test system to work fine while the production machine is<br>
encountering contention issues...</blockquote><div><br>Thanks for the suggestion concerning the database.&nbsp; Another thing I had not thought of.&nbsp; My installation of myth is right from the ATrpms packages, so wherever the database is installed by default is where mine is located.&nbsp; It&#39;s definitely on the same system (CPU) as the B/E.&nbsp; On the test system I did not point it to the database on the B/E; this was a fresh install of Myth, just taking the defaults.
<br><br>A couple of questions for clarification purposes:<br>You say shutdown MySql and copy it&#39;s files to another machine.&nbsp; Are you referring to just the database files, or do I also need to copy over my actual recordings?&nbsp; Also, since the other machine won&#39;t have the tuner cards in it, how will myth react to having these cards, and all associated info, in the database, but not being able to physically access them?&nbsp; Will this cause any issues?
<br><br>You also say that the FE makes large transient demands on the database.&nbsp; Are you referring to a remote FE system, or just the FE functions (LiveTV, Watch Recordings, Schedule Recordings, etc.) in general?&nbsp; Because when I do these functions directly on the BE machine I don&#39;t get any corruption; at least that has been what I have seen so far.&nbsp; This is one of the things that really has me confused.&nbsp; It&#39;s only when I connect up to the BE with a FE running on another machine that I have problems.
<br><br>Thanks again,<br>John<br><br><br>&nbsp;<br></div><br></div><br>