[arm-allstar] Watchdog if asterisk crashes.

Doug Crompton doug at crompton.com
Wed Jul 13 16:53:13 EST 2016


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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160713/1416f341/attachment.html>


More information about the arm-allstar mailing list