Event dispatched xxxxx MS after arriving, your ManagerEvent handlers are too slow!

Hi Experts,
we are delay in asterisk events. Our CRM act based on asterisk event. Over the time delay increases to 90k+.

memory and CPU utilization is in control.
Is there any where we can assign the memory to asterisk?

This is not nearly enough information about your problem to say anything meaningful. You need to show at least some meaningful log files with timing information to get any idea what is going on.

However, AM is not a true real-time interface to Asterisk. Ultimately, it depends on what and how much you actually want to achieve. And there is always a non-zero probability that you have caused a bottleneck somewhere that has nothing to do with Asterisk itself.

VoIP has its own requirements. Both sufficient CPU power and sufficient RAM are necessary but not sufficient requirements.

I also assume the topic title is from your own software, as it is not from Asterisk. It would make it seem as though the problem is outside of Asterisk.

Thanks for reply.
These logs from asterisk java sdk.

Asterisk event are reaching java listener late and this is making CRM unresponsive

How have you determined that? What debugging and investigation have you done?

Oct 07 19:31:42 cqdial java[87573]: Event dispatched 1123 MS after arriving, your ManagerEvent handlers are too slow!

delay is growing upto 90k

Above error is coming from asterisk java sdk

To me, that message is complaining about the behaviour of your code, and doesn’t reflect any problem at all in Asterisk, and probably doesn’t reflect any problem in the Java library.

My guess is that the code that communicates with the CRM is blocking, and the CRM is unable to keep up.

Thanks,
It was network issue. some of ports where getting blocked

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.