I have this warning flooding the logs and the console. And when there is a high number of calls (200/300 simultaneous), asterisk crashes sometimes with this message
segfault at 88 ip 00007fed1c5da73e sp 00007fec41f329e0 error 4 in libasteriskpj.so.2[7fed1c4ff000+1a4000].
In days when there isn’t a high load (low number of calls and connected users), the frequency of the warnings is much lower and no crash.
When i launch this command
watch -n 0.1 ‘sudo asterisk -rx “core show taskprocessors like stasis/pool-control”’
i see the value of the column ‘Processed’ increasing by the hundreds and thousands.
I’m using AMI heavily, but CDR and CEL are disabled.
There is plenty of RAM and CPU in the machine.
So my questions are :
- what is causing these warnings ?
- What does the ‘stasis/pool-control’ task processor do, and what is it processing ?
- Is there a way to decrease the messages processed by that taskprocessor ?
- Is the crash related to this ?
Any help would be appreciated, i’m pulling my hair over this
Asterisk v 17.4 (I had same problem with 17.2 & 17.3)
AWS EC2 machine, 8G RAM, 4 cores
Approximately 250 users connected to asterisk
Using chan_sip, not pjsip