We are running a server with Asterisk 18.17.0 and FreePBX 16.The system would show high load average (25 - 50) randomly and call quality will decrease as a result (IVR, connected calls etc). However this would resolve temporary on fwconsole restart but starts recurring after 3-4 days.
There are 40 Queues,120 extensions total. Around ~90 allocated to each queue.
Maximum SIP channel count : 70
Queue log and CDR is captured to the database. There are no slow queries in the from the database.
Arround 446 taskprocessors, no queued processes.
HW Spec.
32 vcores, 30GB RAM & SSD Storage
Any suggestions of what to look at to resolve this issue.
Thanks in advance for the help
Edit : There are about 450 task processors, is that normal ?
We optimized the database for slow queries, cleared any large log tables. nothing of concern.
Are you running any custom dialplan?
We used a custom agi to randomize the outbound CID, removing it didn’t have any effect.
Are you using any additional AMI applications that could be stalling dialplan?
We are using a php script to capture AMI events and insert to the database. We are using the same script across multiple servers and non of them have this issue.