Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Identify more demanding routine inside Asterisk


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





PostPosted: Wed Jul 06, 2016 1:11 pm    Post subject: [asterisk-users] Identify more demanding routine inside Aste Reply with quote

Hi List !


I'm facing a problem with the CPU consumption in Asterisk 11.22.0.

I could decrease a lot of load, migrating both the astdb.sqlite3 and call recordings (with Monitor app) to a tmpfs mount in RAM (with noatime and nodiratime flags), manually spread each of the hardware interrupts (network interfaces, wanpipe and megasas) to an individual dedicated CPU core and stick the Asterisk process to other dedicated CPU core (free of hardware interrupts).

Now the usage is 90% of his core with 300 active channels (66% SIP + 17% IAX + 17% DAHDI). 17% of channels are g.729 transcoded via software. Some considerations are that there is +30 AMI concurrent clients, plus SIP Realtime peers. I don't have any AGI script or ODBC custom function/query. The DialPlan is minimal for the work it does too.


My question is: Is there any way to identify the more demanding routine/task in Asterisk so I can know where to tweak ?


I read the excelente post of Moy [1], but the most usage of CPU is in the mail process of Asterisk, not in any of the threads. Moreover, the pstack command don't work on my 64-bits system.


Hope anyone can help. Cheers.

[1] https://moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/
--
GnuPG Key ID: 0x39BCA9D8
https://www.github.com/mefhigoseth
...:::[ God Rulz ! ]:::...
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