VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
nitesh.bansal at gmail... Guest
|
Posted: Wed Sep 28, 2016 4:31 am Post subject: [asterisk-users] system metrics to see if Asterisk is gettin |
|
|
Hello,
I'm trying to understand if I could use a system metric like load average, cpu usage... to
decide if Asterisk is overloaded and if it is overloaded, I would like to stop routing the traffic
to that box.
Is there any recommended system metric which you guys use to measure the Asterisk load,
or may be is there any metric within Asterisk which could indicate that system is slowing down?
Thanks,
Nitesh |
|
Back to top |
|
|
lardconcepts at gmail.com Guest
|
Posted: Wed Sep 28, 2016 4:43 am Post subject: [asterisk-users] system metrics to see if Asterisk is gettin |
|
|
Funnily enough, I was just thinking the same this morning.
I run two boxes, and my idea was the use a sys call to grab the loadav, multiply that by 1000 and then use that as the delay before answering.
In other words, if box 1 had a loadav of 0.2 and box two have a loadav of 0.5, box 1 would answer first because the answer delay would be 5 seconds.
I'm guessing WAIT(ms) would be the thing to use for the delay (not tried it yet but if someone can confirm I'm on the right lines then I'll give it a go!)
On 28 September 2016 at 10:29, Nitesh Bansal <nitesh.bansal@gmail.com (nitesh.bansal@gmail.com)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|