Re: [asterisk-users] Exceptionally long queue length queuing

2020-07-03 Thread Joshua C. Colp
On Fri, Jul 3, 2020 at 3:32 AM Dovid Bender  wrote:

>
>
> On Mon, Jun 29, 2020 at 6:46 AM Joshua C. Colp  wrote:
>
>> On Sun, Jun 28, 2020 at 2:26 PM Dovid Bender  wrote:
>>
>>> Hi,
>>>
>>> We have a box up and we are starting to see a lot of "Exceptionally long
>>> queue length queuing" in the logs. From all the research so far it seems
>>> like this leads to their systems crashing and being unreachable. In our
>>> case the box remains up and takes calls. We are running Asterisk 16.6.1. We
>>> are using MusicOnHold to play online music streams via ffmpeg. Any idea on
>>> how to troubleshoot this further to see why this is happening?
>>>
>>
>> The message occurs when either a channel is deadlocked or the processing
>> time to handle what a channel is doing is substantial, and things build up.
>> Getting a backtrace[1] at the time it occurs will show what the system is
>> actually doing and can provide insight into what is causing it.
>>
>> [1]
>> https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace#GettingaBacktrace-Runningast_coredumperfordeadlocks,taskprocessorbackups,etc
>> .
>>
>> --
>>
> I ended up re-writing my code to use less Local channels and most of the
> errors went away. I also noticed that my load average and CPU usage is way
> down. I will open a ticket since it seems  that it may be a bug that others
> are experiencing.
>

A backtrace would still be needed for the issue, otherwise there is no way
to know what exactly is going on our where things are getting held up.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

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

Re: [asterisk-users] Voice broken during calls (again...)

2020-07-03 Thread Luca Bertoncello
Hi list!

Am 22.06.2020 um 16:48 schrieb Luca Bertoncello:
> Hi list!
> 
> So, now I have a business contract and a technician was here to check
> the DSL...
> Nothing found, except that for 50Mbps I need now vectoring. Really
> nice... A couple of years ago I could get 50Mbps without vectoring.
> Of course, Deutsche Telekom said nothing about this change...
> 
> Well, I got it working, and now I have 48Mbps down and 10Mbps up.
> I _REALLY CAN'T_ believe, that this is not enough...
> 
> The problem with many little disruptions during calls is always here.
> 
> I tried changing the codecs and changing some settings in the SIP
> configuration of the peers.
> No changes...
> 
> On the Gateway (Banana PI), where the Asterisk server also runs, the
> load is about 0.50 during calls and it has a Gbps LAN.
> I can't believe, the problem is here...

So, now I know what was the problem and I solved it...

The problem was: the Banana PI... :(

I checked it with mtr and I see really bad times to communicate with
other devices im same networks (~2 - 380 ms!!).
Many tries with other Switch ports and so on didn't solved the problem.

So I bought a mini PC and I configured it as Firewall with Asterisk.
mtr give now really good times (~0.2 - 0.4 ms).
And Asterisk works very good...

I tried right now with my father in law and the communication was
excellent, without any disruptions.

So, I really thank you for the idea, that my Banana PI can be the
problem. It was! ;)

Have a nice weekend!
Luca Bertoncello
(lucab...@lucabert.de)

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

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