[arm-allstar] Watchdog if asterisk crashes.

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


Hi Doug,
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"
73LitoKK6OOS

To: arm-allstar at hamvoip.org
Date: Wed, 13 Jul 2016 17:53:13 -0400
Subject: Re: [arm-allstar] Watchdog if asterisk crashes.
From: arm-allstar at hamvoip.org
CC: doug at crompton.com




Roselito,

 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.

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>

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.
73 Doug
WA3DSP
http://www.crompton.com/hamradio


To: arm-allstar at hamvoip.org
Date: Wed, 13 Jul 2016 14:18:05 -0700
Subject: [arm-allstar]  Watchdog if asterisk crashes.
From: arm-allstar at hamvoip.org
CC: tolitski at hotmail.com




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 		 	   		  

_______________________________________________

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/1e8e5d2b/attachment.html>


More information about the arm-allstar mailing list