# Multiple tasks causing huge disk load

**URL:** <https://discuss.elastic.co/t/multiple-tasks-causing-huge-disk-load/160886>\
**Category:** Elasticsearch\
**Created:** [December 14, 2018, 10:53am UTC](https://discuss.elastic.co/t/multiple-tasks-causing-huge-disk-load/160886 "2018-12-14T10:53:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhernik](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@mhernik](https://discuss.elastic.co/u/mhernik)\
**Post date:** [December 14, 2018, 10:53am UTC](https://discuss.elastic.co/t/multiple-tasks-causing-huge-disk-load/160886/1 "2018-12-14T10:53:36Z")

</div>

Recently I've experienced a huge performance drop and disk load. I've checked what's running in the background and I saw multiple tasks with "action": "indices:data/read/scroll"  
Here is one of 50 examples:  
"z6S1B-p3S2W7UIgsrGpxdA:167974159": {  
"node": "z6S1B-p3S2W7UIgsrGpxdA",  
"id": 167974159,  
"type": "transport",  
"action": "indices:data/read/scroll",  
"description": "scrollId[DnF1ZXJ5VGhlbkZldGNoKAAAAAADpOzlFjJGanBQSWo5UzdHRGo2eGhlajdtM2cAAAAAA544FhZ2RE00U0FWX1FmNnpvT3VoTUlFeHFnAAAAAAOk7OYWMkZqcFBJajlTN0dEajZ4aGVqN20zZwAAAAADnjgUFnZETTRTQVZfUWY2em9PdWhNSUV4cWcAAAAAA544ERZ2RE00U0FWX1FmNnpvT3VoTUlFeHFnAAAAAAOk7OQWMkZqcFBJajlTN0dEajZ4aGVqN20zZwAAAAADnjgTFnZETTRTQVZfUWY2em9PdWhNSUV4cWcAAAAAA6Ts4xYyRmpwUElqOVM3R0RqNnhoZWo3bTNnAAAAAANAK4UWNnluRXFSOVJRdzZyNTVlZUYwTG0yQQAAAAADQCuDFjZ5bkVxUjlSUXc2cjU1ZWVGMExtMkEAAAAAA0ArhBY2eW5FcVI5UlF3NnI1NWVlRjBMbTJBAAAAAATiQgMWejZTMUItcDNTMlc3VUlnc3JHcHhkQQAAAAADnjgQFnZ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AAAAANAK40WNnluRXFSOVJRdzZyNTVlZUYwTG0yQQAAAAAE4kIMFno2UzFCLXAzUzJXN1VJZ3NyR3B4ZEE=], scroll[Scroll{keepAlive=1m}]",  
"start\_time\_in\_millis": 1544695879485,  
"running\_time\_in\_nanos": 54295644307,  
"cancellable": true  
}  
Does anybody have an idea what could have cause it? Whas this a search or some internal transporting mechanism?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 14, 2018, 2:01pm UTC](https://discuss.elastic.co/t/multiple-tasks-causing-huge-disk-load/160886/2 "2018-12-14T14:01:32Z")

</div>

someone/something is triggering a so called [scroll search](https://www.elastic.co/guide/en/elasticsearch/reference/6.5/search-request-scroll.html) - those are potentially long running operations that prevent deletion of files and also keep file handles open, so you should use them with care. A reindex operation could be triggered within elasticsearch, but any app accessing Elasticsearch could use those as well.

--Alex

---

<div class="post-metadata">

**Author:** ![mhernik](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@mhernik](https://discuss.elastic.co/u/mhernik)\
**Post date:** [December 15, 2018, 12:31pm UTC](https://discuss.elastic.co/t/multiple-tasks-causing-huge-disk-load/160886/3 "2018-12-15T12:31:42Z")

</div>

Hi Alex,

I was monitoring all traffic that could generate those queries and there weren't any jobs that could generate this kind of tasks - our application without efficient ES was virtually unusable.  
But there was a lot of "scroll" queries sent to ES before (and for some time during) it got stuck. Could it be that those jobs are piling up and running for hours after the initial request? As you can see scroll timeout was set to 1 minute, and all requests were finished/killed within this time. Problem was, that those tasks were appearing up to 4 hours after the source of those queries was blocked.

You've also said that it could be internal reindex. Could you provide some more info? When it's starting automatically? Is there a way to temporarily stop that? How to identify if it was triggered within ES?

---

<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:** [January 12, 2019, 12:31pm UTC](https://discuss.elastic.co/t/multiple-tasks-causing-huge-disk-load/160886/4 "2019-01-12T12:31:47Z")

</div>

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