We have installed a new system that has been running reasonably well until recently. It is a virtual machine that is connected to a PRI via a Sangoma Vega device. All phones are Cisco 7960Gs running SIP firmware and the phones and the Vega are all connected using PJSIP. Three times in the last week we have had to restart the machine because all calls in and out fail.
When the system experiences the issue, the asterisk console is flooded with warning messages and the Asterisk full log (/var/log/asterisk/full) grows to multiple Gigabytes in a 24-hour period (one was 14 GB!). The console is completely useless when this is occurring, due to the amount of text scrolling by, so you have to run any commands via “asterisk -rx” to be able to read the output, even with verbosity set to 0. The Warnings look like this:
[2019-12-31 07:59:22] WARNING[13592][C-00000013]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:22] WARNING[13592][C-00000013]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:22] WARNING[13592]: logger: ***: Log queue threshold (1000) exceeded. Discarding new messages.
[2019-12-31 07:59:22] WARNING[10968]: logger: ***: Logging resumed. 1055 messages discarded.
[2019-12-31 07:59:22] WARNING[13592]: logger: ***: Log queue threshold (1000) exceeded. Discarding new messages.
[2019-12-31 07:59:22] WARNING[10968]: logger: ***: Logging resumed. 1399 messages discarded.
[2019-12-31 07:59:22] WARNING[13609][C-00000014]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:23] WARNING[13592][C-00000013]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:23] WARNING[13592]: logger: ***: Log queue threshold (1000) exceeded. Discarding new messages.
[2019-12-31 07:59:23] WARNING[10968]: logger: ***: Logging resumed. 550 messages discarded.
[2019-12-31 07:59:23] WARNING[13592]: logger: ***: Log queue threshold (1000) exceeded. Discarding new messages.
[2019-12-31 07:59:23] WARNING[10968]: logger: ***: Logging resumed. 1476 messages discarded.
[2019-12-31 07:59:23] WARNING[13592][C-00000013]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:23] WARNING[13592]: logger: ***: Log queue threshold (1000) exceeded. Discarding new messages.
[2019-12-31 07:59:23] WARNING[10968]: logger: ***: Logging resumed. 519 messages discarded.
[2019-12-31 07:59:23] WARNING[13609][C-00000014]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:23] WARNING[13609][C-00000014]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:23] WARNING[13592]: logger: ***: Log queue threshold (1000) exceeded. Discarding new messages.
[2019-12-31 07:59:23] WARNING[10968]: logger: ***: Logging resumed. 663 messages discarded.
[2019-12-31 07:59:23] WARNING[13592]: logger: ***: Log queue threshold (1000) exceeded. Discarding new messages.
[2019-12-31 07:59:23] WARNING[10968]: logger: ***: Logging resumed. 952 messages discarded.
[2019-12-31 07:59:23] WARNING[13609][C-00000014]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:channel:all-000000ac' task processor queue reached 500 scheduled tasks again.
[2019-12-31 07:59:23] WARNING[13592][C-00000013]: taskprocessor.c:1110 taskprocessor_push: The 'stasis/m:cache_pattern:1/channel:all-000000ab' task processor queue reached 500 scheduled tasks again.
I have found this blog post on the subject, and as a result I have disabled a number of modules we are not using, like Zulu, DUNDi Lookup Registry, iSymphony, Paging Pro, Sangoma Property Management, CRM, etc., but I don’t have any confidence that those changes will result in any progress, as the blog post and the log messages don’t make clear to me what is driving this. System load doesn’t seem to be an issue.
Can anyone point me to any details to what might be causing this? Which portions of FreePBX use Stasis?