# Reindexing creates frivolous tasks (ES 2.3.3,. 2.4)

**URL:** https://discuss.elastic.co/t/reindexing-creates-frivolous-tasks-es-2-3-3-2-4/61965
**Category:** Elasticsearch
**Created:** [September 30, 2016, 9:09pm UTC](https://discuss.elastic.co/t/reindexing-creates-frivolous-tasks-es-2-3-3-2-4/61965 "2016-09-30T21:09:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Abhishek\_Vaid](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Abhishek\_Vaid](https://discuss.elastic.co/u/Abhishek_Vaid)
#### Post date: [September 30, 2016, 9:09pm UTC](https://discuss.elastic.co/t/reindexing-creates-frivolous-tasks-es-2-3-3-2-4/61965/1 "2016-09-30T21:09:42Z")

</div>

I have noticed it multiple times that when I try to reindex any of my index (/\_reindex), I see multiple tasks which all try to execute same reindexing operation. These tasks still persist even when the reindexing is essentially over.

I don't know what causes this behaviour and It adds load to my search rate.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 1, 2016, 11:10am UTC](https://discuss.elastic.co/t/reindexing-creates-frivolous-tasks-es-2-3-3-2-4/61965/2 "2016-10-01T11:10:09Z")

</div>

Can you provide more details, like showing what these tasks are?

---

<div class="post-metadata">

### Author: ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)
#### Post date: [October 1, 2016, 11:40am UTC](https://discuss.elastic.co/t/reindexing-creates-frivolous-tasks-es-2-3-3-2-4/61965/3 "2016-10-01T11:40:05Z")

</div>

I've seen this mentioned a few times now but never been able to reproduce it and I've spent quite a bit of time on reindex. Most folks seem to have no trouble with reindex and, like I said, I can't make it happen either.

Is there any chance you could create a gist of `curl 'localhost:9200/_tasks/?pretty&detailed=true&actions=*reindex` when this happens again? Does it happen every time you reindex or just sometimes? Do you `_update_by_query` or `_delete_by_query` and, if you do, does this ever happen with them?

---

<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: [July 5, 2017, 10:15pm UTC](https://discuss.elastic.co/t/reindexing-creates-frivolous-tasks-es-2-3-3-2-4/61965/4 "2017-07-05T22:15:40Z")

</div>


