signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.54k stars 1.41k forks source link

Freeswitch overload when use mod_callcenter #2458

Open phamhieptel4vn opened 4 months ago

phamhieptel4vn commented 4 months ago

Describe the bug Currently we use the operating system Debian 10, FusionPBX 4.4, Postgresql12, Freeswitch v1.10.9, and the resource is 12vCPU-12GB RAM. We are facing the following problems:

When sending a command through the Event_Socket API to execute a call to a mobile device, and then routing the call back to the mod_callcenter queue, the load average is when execution reaches around 200 concurrent calls per second (ccu), of which 20 calls per second (cps) Start increasing) arrive). Many calls get stuck in the Freeswitch database and Freeswitch channels. Sometimes, many call center agents get stuck not answering calls. image

After that, we upgraded to 32vCPU-32GB RAM, but the overloaded situation still persists.

image

backtrace from core file If applicable, provide the full backtrace from the core file. backtrace.log