<br><div class="gmail_quote">On Tue, May 6, 2008 at 10:54 AM, Wade Maxfield <<a href="mailto:mythtv@hotblack.co.nz">mythtv@hotblack.co.nz</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've jut upgraded to 0.21 via MythDora 5, and have setup monit to<br>
monitor mythbackend and mysql (same setup as I had with MythDora 4 and<br>
MythTV 0.20.2).<br>
<br>
However I've been getting quite a few false positives, and monit has<br>
been killing mythbackend and restarting it for me in the middle of<br>
recordings. mythbackend seems to go deaf on the status port (6544) even<br>
though it appears to still be running (web browser on my laptop just<br>
times out trying to view the status page, but mythfrontend on the same<br>
laptop can still browse recordings and start playing one, and<br>
mythbackend still appears in list of processes on the backend)<br>
<br>
I had monit set to check the pid file and also the status port with<br>
http, however I'm now going to try just checking the master backend port<br>
(6543).<br>
<br>
This is what I had in my /etc/monitrc file:<br>
check process mythbackend with pidfile /var/run/mythbackend.pid<br>
group mythtv<br>
start program = "/sbin/service mythbackend start"<br>
stop program = "/sbin/service mythbackend stop"<br>
if failed port 6544 proto http then restart<br>
mode manual<br>
depends on mysql<br>
<br>
<br>
I've now changed it to:<br>
check process mythbackend with pidfile /var/run/mythbackend.pid<br>
group mythtv<br>
start program = "/sbin/service mythbackend start"<br>
stop program = "/sbin/service mythbackend stop"<br>
if failed port 6543 then restart<br>
mode manual<br>
depends on mysql<br>
<br>
<br>
I've posted this in case anyone else is having similar issues with monit<br>
and 0.21. Or in case anyone has some suggestions on ways to track down<br>
what might be going on with my machine.<br>
<br>
- Wade</blockquote><div> </div></div>Not that it adds much to the discussion but I've had monit running for a while only monitoring the pid file and it's not missed the admittedly infrequent backend crashes.<br>
<br>Stephen.<br>