Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] system metrics to see if Asterisk is getting overloaded


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
nitesh.bansal at gmail...
Guest





PostPosted: Wed Sep 28, 2016 4:31 am    Post subject: [asterisk-users] system metrics to see if Asterisk is gettin Reply with quote

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





PostPosted: Wed Sep 28, 2016 4:43 am    Post subject: [asterisk-users] system metrics to see if Asterisk is gettin Reply with quote

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:
Quote:
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





--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
      http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services