[asterisk-users] Problems with the voice quality under load

Steve Edwards asterisk.org at sedwards.com
Mon Mar 2 10:14:37 CST 2015

On Mon, 2 Mar 2015, Mordechay Kaganer wrote:

> When a particular server gets about 500 concurrent calls, the sound 
> quality begins to degrade, the sound plays slowly and with clicks. As 
> far as i understand, it's because asterisk is unable to send the voice 
> stream in time i.e. the server is overloaded.
> What i don't understand is, at the time that the server appears to be 
> overloaded and the audio quality is bad, actual server's load is no more 
> than 30-40% (60-70% idle CPU on average). IMHO, this indicates that for 
> some reason the server is unable to use it's CPU capacity efficiently. 
> May be because of some kind of thread contention inside asterisk?

You may be using a feature (i.e., meetme) that is single threaded. If you 
view the system using 'htop' instead of 'top' (or, press '1' while running 
top) you may see that a single CPU is maxed out while the others are 
relatively idle.

Thanks in advance,
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

More information about the asterisk-users mailing list