[arm-allstar] Watchdog if asterisk crashes.

Roselito de los Reyes tolitski at hotmail.com
Wed Jul 13 17:09:28 EST 2016


wow.. thanks for that.. 

> Date: Wed, 13 Jul 2016 18:01:15 -0400
> To: arm-allstar at hamvoip.org
> Subject: Re: [arm-allstar] Watchdog if asterisk crashes.
> From: arm-allstar at hamvoip.org
> CC: kb4fxc at inttek.net
> 
> 
> Hi Lito,
> 
> That script won't work properly unless a node is registered via IAX2, and 
> most of my nodes are private, never initiating any registration.
> 
> As an example, here is the output from a properly functional, 
> non-registered node:
> 
> alarmpi*CLI> iax2 show registry
> Host                  dnsmgr  Username    Perceived             Refresh  State
> 
> 
> ....No output at all...This would continually cause node restarts!
> 
> Anyhow, I have found some subtle conditions where app_rpt gets stuck in a
> loop, trying to connect to a node, when the node is rejecting
> authentication.  When this occurs, app_rpt goes unresponsive. This may be
> what you're experiencing. There will be a patch for this issue in an
> upcoming beta release, once I'm satisfied with my solution.
> 
> 
> 73, David KB4FXC
> 
> 
> 
> On Wed, 13 Jul 2016, Roselito de los Reyes via arm-allstar wrote:
> 
> > 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.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.
> > https://gist.github.com/tolitski/5e302d31f4f56b35bf68615a65366bf9
> > 73,
> > Lito KK6OOS
> >  		 	   		  
> 
> _______________________________________________
> 
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2 web page - http://hamvoip.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160713/66c751fd/attachment.html>


More information about the arm-allstar mailing list