<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Doug,<div><br></div><div>Thanks for the feedback.. I have a debian server running in the cloud (linode). This server has been running for two years with two or three nodes connected to it.. Yesterday, I invited other nodes to connect to my hub and at one point there were 15 nodes connected to it. This morning I looked at allmon and I found the message "could not connect to server". I then logged in and could not get into the CLI so that's why I started looking into this "watchdog"</div><div><br></div><div>73</div><div>Lito</div><div>KK6OOS<br><br><div><hr id="stopSpelling">To: arm-allstar@hamvoip.org<br>Date: Wed, 13 Jul 2016 17:53:13 -0400<br>Subject: Re: [arm-allstar] Watchdog if asterisk crashes.<br>From: arm-allstar@hamvoip.org<br>CC: doug@crompton.com<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr"><font style="" face="Tahoma,sans-serif" color="#000000">Roselito,<br><br> Not sure what you mean by "crash" ?? This is NOT a common occurrence so I am not sure why it would be happening to you. The hamvoip code has a watchdog that can be implemented in /usr/local/etc/allstar.env. This is for the system not Allstar. Allstar is started with safe_asterisk which will restart if Asterisk itself crashes.<br><br>If you always want Asterisk to start connected to a certain node or nodes you can use a startup macro. Nodes that you want to stay connected should always be strarted with a permanent connection - *73<node><br><br>What image are you using? What conditions cause this? Having multiple nodes connected should NOT cause a crash. Some hub have 30 or more nodes connected without problems.<br id="ecxFontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="ecxstopSpelling">To: arm-allstar@hamvoip.org<br>Date: Wed, 13 Jul 2016 14:18:05 -0700<br>Subject: [arm-allstar] Watchdog if asterisk crashes.<br>From: arm-allstar@hamvoip.org<br>CC: tolitski@hotmail.com<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">I have a hub that crashes for some reason. I think it happens when a lot of nodes connect to it?? It usually happens at night.<div>After looking at different watchdog implementations, this is something I came up with after reading Justin Campbells original code. I am submitting this just in case Hamvoip does not have one yet.</div><div><br></div><div><a href="https://gist.github.com/tolitski/5e302d31f4f56b35bf68615a65366bf9" target="_blank">https://gist.github.com/tolitski/5e302d31f4f56b35bf68615a65366bf9</a></div><div><br></div><div>73,</div><div><br></div><div>Lito KK6OOS</div><div><br></div> </div>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org</div> </div>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org</div></div> </div></body>
</html>