# Sporadic refresh happening even though refresh\_interval is set to -1

**URL:** <https://discuss.elastic.co/t/sporadic-refresh-happening-even-though-refresh-interval-is-set-to-1/198524>\
**Category:** Elasticsearch\
**Created:** [September 7, 2019, 9:02pm UTC](https://discuss.elastic.co/t/sporadic-refresh-happening-even-though-refresh-interval-is-set-to-1/198524 "2019-09-07T21:02:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![viniciof](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/viniciof/32/53454_2.png) [@viniciof](https://discuss.elastic.co/u/viniciof)\
**Post date:** [September 7, 2019, 9:02pm UTC](https://discuss.elastic.co/t/sporadic-refresh-happening-even-though-refresh-interval-is-set-to-1/198524/1 "2019-09-07T21:02:36Z")

</div>

Hi everyone,

Today I noticed that for an index I'm currently reindexing (as source, all writes disabled only search taking place) there are some refreshes happening, but the refresh\_interval is already set to -1.

I see every time this happens the search QoS decreases dramatically, as soon as refresh finishes, it returns back to normal (450~ req/sec)

 ![refresh%20index%20unexpected](https://us1.discourse-cdn.com/elastic/original/3X/5/0/50a7b3f852713cccc795d2f66d195e63d5ea7e9e.png)

Is there any other setting that needs to be disabled in the index or cluster level so this kind of unexpected refresh cycles don't happen ?

---

<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:** [September 8, 2019, 6:47am UTC](https://discuss.elastic.co/t/sporadic-refresh-happening-even-though-refresh-interval-is-set-to-1/198524/2 "2019-09-08T06:47:33Z")

</div>

With refresh interval set to -1 I believe refresh happens purely based on size when the internal buffers fill up.

---

<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:** [October 6, 2019, 6:47am UTC](https://discuss.elastic.co/t/sporadic-refresh-happening-even-though-refresh-interval-is-set-to-1/198524/3 "2019-10-06T06:47:43Z")

</div>

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