title: Why 150 scroll contexts are created in elastic search?
body: <p>I have some time-series data which I used to put in one elasticsearch index. Now I have shifted to 1 index per day with index prefix <code>logs-</code>.</p>
  
  <p>Currently, there are 60 indices and I am making scroll call to <code>logs-*</code>. But I found that after 4 calls, I was getting error <code>too many scroll contexts</code>.</p>
  
  <pre><code>GET _nodes/stats/indices/search
  "scroll_current": 150
  </code></pre>
  
  <p>It seems with each call 150 scroll contexts are being created. Why is it so? The number of shards for each index is 5 if it matters.</p>