Taskprocessor.c: The ‘sorcery/contact-00000015’ Task Processor Queue Reached 1500 Scheduled Tasks.
Home » Asterisk Users » Taskprocessor.c: The ‘sorcery/contact-00000015’ Task Processor Queue Reached 1500 Scheduled Tasks.
Running 15.1.2. I have four devices transitioned to use pjsip.
After about 1-2 days of uptime, psjip stops accepting registrations, and the messages log contains the entry as per the subject.
At any given time, “pjsip show contacts” only shows the four devices.
Could someone point me to a fix, short of rebooting the server every day?
Thanks.
b.
2 thoughts on - Taskprocessor.c: The ‘sorcery/contact-00000015’ Task Processor Queue Reached 1500 Scheduled Tasks.
I have seen this log message as well. No clue yet as to what the reason for this might be. Any hint is appreciated.
Each pjsip object type (endpoint, aor, contact, etc) has a queue
(taskprocessor) to notify registered observers in a separate thread whenever an item changes. In your case, one of those observers has locked and prevented the rest from running. What kind of activity is happening on those 4 contacts and are you using realtime or config files for pjsip configuration?
Also, “core show taskprocessors” might give you some idea of what’s going on.