# Task processor queue overload

**URL:** <https://community.asterisk.org/t/task-processor-queue-overload/84710>\
**Category:** Asterisk Support\
**Created:** [June 25, 2020, 10:11am UTC](https://community.asterisk.org/t/task-processor-queue-overload/84710 "2020-06-25T10:11:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rolek](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rolek](https://community.asterisk.org/u/rolek)\
**Post date:** [June 25, 2020, 10:11am UTC](https://community.asterisk.org/t/task-processor-queue-overload/84710/1 "2020-06-25T10:11:52Z")

</div>

Hi there!

I’ve read in several places that warnings about the task processor queue reaching its limit are an indication of an overloaded server. However, I see these warnings also on servers with relatively little load, which have many queues configured.

I can easily reproduce this on my test server, which has about 40 SIP peers, and 2000 queues defined in queues.conf. On an otherwise idle system, if I change queues.conf, and issue a `queue reload all` command on the CLI, I get several messages like:

> WARNING[10346]: taskprocessor.c:913 taskprocessor\_push: The ‘subm:ast\_device\_state\_topic-00000002’ task processor queue reached 500 scheduled tasks again.

To be honest, this worries me a bit. On live servers we see a similar behaviour when calls are coming in (it looks like when you have many queues, even a single call triggers the taskprocessor warning).

Since these servers are otherwise idle, and don’t process much traffic, I’m not inclined to look at adding hardware. So, is there something else I could look at?

This is with Debian Buster, asterisk 1:16.2.1~dfsg-1+deb10u1

Thanks for any tips! Best regards, Roel

---

<div class="post-metadata">

**Author:** ![samarm](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@samarm](https://community.asterisk.org/u/samarm)\
**Post date:** [July 18, 2020, 8:50am UTC](https://community.asterisk.org/t/task-processor-queue-overload/84710/2 "2020-07-18T08:50:43Z")

</div>

I have the same problem with “task processor queue reached 500 scheduled tasks again”

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [July 18, 2020, 10:24am UTC](https://community.asterisk.org/t/task-processor-queue-overload/84710/3 "2020-07-18T10:24:28Z")

</div>

Why do you believe it is the same problem, given that the original poster’s underlying problem doesn’t seem to have been diagnosed, so we don’t know what the problem was!

---

<div class="post-metadata">

**Author:** ![samarm](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@samarm](https://community.asterisk.org/u/samarm)\
**Post date:** [July 18, 2020, 10:44am UTC](https://community.asterisk.org/t/task-processor-queue-overload/84710/4 "2020-07-18T10:44:31Z")

</div>

because I get that error on my asterisk cli, I can send you information you need to find the problem,  
or I post a new topic if you say

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [July 18, 2020, 10:56am UTC](https://community.asterisk.org/t/task-processor-queue-overload/84710/5 "2020-07-18T10:56:47Z")

</div>

It’s a warning, not an error, and it is a symptom of many underlying problems. You need to work out what your system is doing that is unusual. You also need to work out what is not working, or is working too slowly, as that is the problem you should really be addressing.

You should start a new topic if the only thing in common is the task processor queue length warning.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [August 17, 2020, 10:56am UTC](https://community.asterisk.org/t/task-processor-queue-overload/84710/6 "2020-08-17T10:56:55Z")

</div>

Closed on August 17, 2020, 10:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
