[Freeswitch-users] CHANNEL_HANGUP_COMPLETE events received not keeping pace with number of calls
alex at freeswitch.com
Mon Oct 7 12:38:36 UTC 2019
That's your listener reads events too slow, you need to refactor it to be
faster. Python may be slow, the same implementation with Go or .Net Core
may give a lot of performance for free.
Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor,
Palo Alto, CA 94303 Email: alex at freeswitch.com Website:
On Mon, Oct 7, 2019 at 7:40 PM Neil Patel <neilp at cs.stanford.edu> wrote:
> Hi All,
> I have an event listener script (Python) that listens for
> “CHANNEL_HANGUP_COMPLETE” events. Logs show that the script, which runs
> continuously in an infinite loop within supervisor, receives 1000 events
> every 15 mins.
> At the same time we are making about 15K calls every 15 mins. So this
> script is 15x slower than the volume of calls and falls behind and often
> gets the “Queue size: [100000/100000] Max queue size reached” error.
> My question is: how do I make the events reach the listener faster to keep
> up with the outbound call traffic?
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users