# Scroll analysis at node stats level

**URL:** <https://discuss.elastic.co/t/scroll-analysis-at-node-stats-level/232127>\
**Category:** Elasticsearch\
**Created:** [May 12, 2020, 1:58am UTC](https://discuss.elastic.co/t/scroll-analysis-at-node-stats-level/232127 "2020-05-12T01:58:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![solenom85](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/solenom85/32/68154_2.png) [@solenom85](https://discuss.elastic.co/u/solenom85)\
**Post date:** [May 12, 2020, 1:58am UTC](https://discuss.elastic.co/t/scroll-analysis-at-node-stats-level/232127/1 "2020-05-12T01:58:52Z")

</div>

Hi:  
I was querying the nodes API in an ES cluster and saw the following output related to scroll contexts.

`"scroll_total": 1546241427,`  
`"scroll_time": "103866.7d",`  
`"scroll_time_in_millis": 8974085281558,`  
`"scroll_current": 1396,`

Reading throug the guide I got that the scroll\_total referes to done total scroll operations, scroll\_current are current scroll contexts open. And scroll time is the value that is most curious to me, 103866.7d, those are 103866 days, which are more time than the time my company has being using ES. My question is:

Is the scroll time the time that the scroll contexts will be left open even if they are not being used anymore?

How to calc the impact of this scroll contexts on the node resources, mem and cpu usage? I know for sure there isn't a way to do that, but we are enthusiast people 😃

Thanks in advance for all of your answers.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 12, 2020, 7:19am UTC](https://discuss.elastic.co/t/scroll-analysis-at-node-stats-level/232127/2 "2020-05-12T07:19:48Z")

</div>

> [@solenom85](#):
>
> Is the scroll time the time that the scroll contexts will be left open even if they are not being used anymore?

Yes, and it counts each scroll separately so if you have 10 scrolls open then after an hour that counts as 10 hours of scroll time. I think you should consider it a bug in your usage of Elasticsearch if you're leaving scroll contexts open after they're not being used any more.

> [@solenom85](#):
>
> How to calc the impact of this scroll contexts on the node resources, mem and cpu usage?

Open scrolls may not take up significant resources but they block the cluster from doing certain things, e.g. completely relocating shards, that will cause you problems if not addressed.

---

<div class="post-metadata">

**Author:** ![solenom85](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/solenom85/32/68154_2.png) [@solenom85](https://discuss.elastic.co/u/solenom85)\
**Post date:** [May 12, 2020, 7:39pm UTC](https://discuss.elastic.co/t/scroll-analysis-at-node-stats-level/232127/3 "2020-05-12T19:39:17Z")

</div>

Thanks for your answer @DavidTurner.

---

<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:** [June 9, 2020, 7:39pm UTC](https://discuss.elastic.co/t/scroll-analysis-at-node-stats-level/232127/4 "2020-06-09T19:39:20Z")

</div>

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