# Search-queued-tasks more than 1000

**URL:** <https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734>\
**Category:** Elasticsearch\
**Created:** [October 10, 2018, 2:17am UTC](https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734 "2018-10-10T02:17:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![minhua1983](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@minhua1983](https://discuss.elastic.co/u/minhua1983)\
**Post date:** [October 10, 2018, 2:17am UTC](https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734/1 "2018-10-10T02:17:28Z")

</div>

I found that the search-queued-tasks was usually more than 1000.

There are several visualizes in my dashboard. Each of them set an aggregation at least. I have no idea what caused this issue.

Is this situation normal？

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 10, 2018, 6:04am UTC](https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734/2 "2018-10-10T06:04:51Z")

</div>

How many shards are you typically searching with these dashboards?

---

<div class="post-metadata">

**Author:** ![minhua1983](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@minhua1983](https://discuss.elastic.co/u/minhua1983)\
**Post date:** [October 11, 2018, 2:07am UTC](https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734/3 "2018-10-11T02:07:11Z")

</div>

There are six visualizes in my dashboard. Each of them set an aggregation at least.

The dashboard monitors a special index by daily and refreshes the dashboard page automatically by each 5 seconds .

The data of this index is split by daily. So the index pattern is like 'indexname.yyyy.mm.dd'.  
Each index in elasticsearch has 5 shards.

The environment of my elasticsearch is non-clustered. Because it has only one node.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 11, 2018, 5:14am UTC](https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734/4 "2018-10-11T05:14:41Z")

</div>

How long does the dashboard take to reload? What is the specification of the node? How many days is the dashboard querying?

---

<div class="post-metadata">

**Author:** ![minhua1983](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@minhua1983](https://discuss.elastic.co/u/minhua1983)\
**Post date:** [October 11, 2018, 6:13am UTC](https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734/5 "2018-10-11T06:13:17Z")

</div>

The dashboard take less than 1 second to reload.

As usual, the dashboard load data by current date.

Please check the specification of the node below:

4 core cpu  
16G ram  
window 2008(a virtual machine hosted on [aliyun.com](http://aliyun.com))

I set 8G ram by config the panel of elasticsearch-service to start up the elasticsearch service.

I have set the 'thread\_pool.search.queue\_size' up to 3000 this morning.

It seems that the kibana works well.

But I still have a little concern about the reason why the number of 'search-queued-tasks' is so high.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2018, 6:13am UTC](https://discuss.elastic.co/t/search-queued-tasks-more-than-1000/151734/6 "2018-11-08T06:13:20Z")

</div>

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