# High Queues in taskprocessors

**URL:** <https://community.asterisk.org/t/high-queues-in-taskprocessors/66015>\
**Category:** Uncategorized\
**Created:** [March 15, 2016, 5:21pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015 "2016-03-15T17:21:44Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgwaste](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/tgwaste/32/1517_2.png) [@tgwaste](https://community.asterisk.org/u/tgwaste)\
**Post date:** [March 15, 2016, 5:21pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/1 "2016-03-15T17:21:44Z")

</div>

Hi, can anyone tell me why these queues are so high and are growing day by day? This is a brand new Asterisk install. All it does is answers, plays hello and hangs up.

I also get lots of these messages:

[Mar 15 10:20:51] WARNING[10609][C-00000001]: taskprocessor.c:737 taskprocessor\_push: The ‘811ad10a-c567-4e8f-9b50-bb6a367d9c2a’ task processor queue reached 500 scheduled tasks.

13.7.2

```
axis*CLI> core show taskprocessors

        +----- Processor -----+--- Processed ---+- In Queue -+- Max Depth -+
                 Sorcery 0 0 0
a6823b23-c605-4533-9eb3-0d61b2344e4f 1 0 0
9e435d66-b016-47ec-aa5d-8182cd891e52 2 0 0
4aa00068-b970-4afd-bcf2-697116badb3b 27238 0 221
0afda83b-1426-464b-a39c-f56100bc901c 298 0 1
21101681-ed6c-46d1-81fa-097bd59e67e5 27139 0 221
           app_voicemail 0 0 0
5e6c2937-2799-4981-8f9b-a3f3df494723 297 0 1
4f89920f-25a2-4444-9a5e-abf599b9fb70 0 0 0
     stasis-core-control 15 0 3
49697d1f-0aeb-4e83-9b62-0a1fb1dbeb8e 1 0 0
0db48c9c-1752-4890-a42c-8a45fd11d3c5 299 0 1
           ast_msg_queue 0 0 0
               CCSS core 0 0 0
4a190fc4-2ae1-415b-bb17-673432a499bf 939 0 1
e24fb0b5-79e2-4d94-b702-c6224f7f1b64 21226 0 148
         Sorcery-control 1 0 0
2969ee40-6d17-458f-82fd-9404834fddbc 212 0 0
13a37567-4839-4740-80f3-3f7588dca499 1 0 0
c55e375d-a031-49d6-8d3d-3cfdf9329f68 0 0 0
70b91cc2-f352-45b4-a20e-f3d871d32527 941 0 27
c378567f-3c77-4fc3-b9e7-505145d71195 1 0 0
             stasis-core 2 0 0
            hep_queue_tp 211 0 0
           iax2_transmit 0 0 0
31febb7d-fb3d-4b8f-bd43-063bcd9eeee8 940 0 0
        +---------------------+-----------------+------------+-------------+
        26 taskprocessors
```

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [March 15, 2016, 5:25pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/2 "2016-03-15T17:25:42Z")

</div>

When Asterisk 13.8.0 is released the names of the taskprocessors will provide more detail about what it is for. From a general perspective though a taskprocessor is a queue of work items. If the act of handling these work items takes a long time then the queue will grow. The queue will also grow if a lot of work items are added to it at the same time. Your output doesn’t show any taskprocessor backed up, so there doesn’t appear to be anything blocking it indefinitely. A description of what was precisely going on when the message was output would help determine why it grew.

---

<div class="post-metadata">

**Author:** ![tgwaste](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/tgwaste/32/1517_2.png) [@tgwaste](https://community.asterisk.org/u/tgwaste)\
**Post date:** [March 15, 2016, 5:33pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/3 "2016-03-15T17:33:29Z")

</div>

The message is outputted every time the system starts up before it accepts a single call. Then the queue just keep growing without the system doing anything at all. At least anything I’m aware of.

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [March 15, 2016, 5:35pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/4 "2016-03-15T17:35:08Z")

</div>

core show taskprocessors doesn’t show any queue that is growing out of control and not being handled, do you have a lot of devices or something?

---

<div class="post-metadata">

**Author:** ![tgwaste](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/tgwaste/32/1517_2.png) [@tgwaste](https://community.asterisk.org/u/tgwaste)\
**Post date:** [March 15, 2016, 6:43pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/5 "2016-03-15T18:43:35Z")

</div>

Im not sure what you mean by devices. External Phones and such? I have no external devices.

Do you know when 13.8.0 will be available?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [March 15, 2016, 6:48pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/6 "2016-03-15T18:48:07Z")

</div>

As I haven’t seen such message at startup and noone else has mentioned it there must be something unique to your system or configuration to cause it. What configuration do you actually have? Any SIP entries?

As for 13.8.0 I’d expect it in a few weeks.

---

<div class="post-metadata">

**Author:** ![tgwaste](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/tgwaste/32/1517_2.png) [@tgwaste](https://community.asterisk.org/u/tgwaste)\
**Post date:** [March 15, 2016, 7:37pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/7 "2016-03-15T19:37:07Z")

</div>

Yep, I have 1 SIP registration.

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [March 15, 2016, 7:40pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/8 "2016-03-15T19:40:42Z")

</div>

Please provide the console output from startup showing where it shows a high taskprocessor queue…

---

<div class="post-metadata">

**Author:** ![tgwaste](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/tgwaste/32/1517_2.png) [@tgwaste](https://community.asterisk.org/u/tgwaste)\
**Post date:** [March 15, 2016, 8:20pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/9 "2016-03-15T20:20:29Z")

</div>

# restarted asterisk Asterisk 13.7.2, Copyright © 1999 - 2014, Digium, Inc. and others. Created by Mark Spencer [markster@digium.com](mailto:markster@digium.com) Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 13.7.2 currently running on axis (pid = 9691)  
[Mar 15 13:20:13] NOTICE[9691]: loader.c:1364 load\_modules: 221 modules will be loaded.  
[Mar 15 13:20:13] WARNING[9691]: res\_phoneprov.c:1229 get\_defaults: Unable to find a valid server address or name.  
Registered phoneprov provider ‘sipusers’.  
SIP channel loading…  
[Mar 15 13:20:14] WARNING[9691]: config\_options.c:1352 uint\_handler\_fn: Attempted to set internal\_sample\_rate=auto, but set it to 0 instead due to default)  
[Mar 15 13:20:14] NOTICE[9691]: confbridge/conf\_config\_parser.c:2054 verify\_default\_profiles: Adding default\_bridge profile to app\_confbridge  
[Mar 15 13:20:14] NOTICE[9691]: confbridge/conf\_config\_parser.c:2065 verify\_default\_profiles: Adding default\_user profile to app\_confbridge  
[Mar 15 13:20:14] NOTICE[9691]: confbridge/conf\_config\_parser.c:2076 verify\_default\_profiles: Adding default\_menu menu to app\_confbridge  
[Mar 15 13:20:14] NOTICE[9691]: cel\_custom.c:95 load\_config: No mappings found in cel\_custom.conf. Not logging CEL to custom CSVs.  
Asterisk Ready.  
[Mar 15 13:20:14] WARNING[9761][C-00000001]: taskprocessor.c:737 taskprocessor\_push: The ‘6354383e-bdad-4901-8b4d-72ccf2c49e22’ task processor queue reached 500 scheduled tasks.

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [March 15, 2016, 8:22pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/10 "2016-03-15T20:22:56Z")

</div>

Your verbose level is not very high and thus doesn’t show much. asterisk -vvvvvvvvvvvvgc would be good.

---

<div class="post-metadata">

**Author:** ![tgwaste](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/tgwaste/32/1517_2.png) [@tgwaste](https://community.asterisk.org/u/tgwaste)\
**Post date:** [March 15, 2016, 8:49pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/11 "2016-03-15T20:49:11Z")

</div>

Its a lot of output. Not sure how to remove the color so it can cause display issues but here it is:

[console output link](https://dl.dropboxusercontent.com/u/61083309/files.twg.org/files/asterisk.out)

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [March 16, 2016, 3:20pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/12 "2016-03-16T15:20:44Z")

</div>

I don’t see the message in the new log, does it happen all the time? Since the queue does get handled and not backed up it may just be worthwhile waiting until 13.8.0 to see what the queue in question is for.

---

<div class="post-metadata">

**Author:** ![tgwaste](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/tgwaste/32/1517_2.png) [@tgwaste](https://community.asterisk.org/u/tgwaste)\
**Post date:** [March 17, 2016, 5:50pm UTC](https://community.asterisk.org/t/high-queues-in-taskprocessors/66015/13 "2016-03-17T17:50:37Z")

</div>

Heh. Of course when I post the big log it doesn’t happen. Ill just wait for 13.8 to get more information. Thanks!
