# How to set indices.lifecycle.poll\_interval?

**URL:** <https://discuss.elastic.co/t/how-to-set-indices-lifecycle-poll-interval/289143>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [November 14, 2021, 4:11pm UTC](https://discuss.elastic.co/t/how-to-set-indices-lifecycle-poll-interval/289143 "2021-11-14T16:11:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [November 14, 2021, 4:59pm UTC](https://discuss.elastic.co/t/how-to-set-indices-lifecycle-poll-interval/289143/4 "2021-11-14T16:59:48Z")

</div>

Hi @shi

Let me save you a little trouble ... testing lifecycle with small indices and small times, and small sizes will will not perform "Exactly" as you expect there have been a number of threads on this...

See [Here](https://discuss.elastic.co/t/ilm-rollover-not-working-on-max-size/287999/4) and [Here](https://discuss.elastic.co/t/question-about-index-rollover/207452)

Not to say you can not test... but if you expect indices to rollover at _ **exactly** _ 50MB they will not... Rollover is a background task... ILM is geared to work on indices that of sizes of GBs, hours, days etc... not MB and Minutes.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-set-indices-lifecycle-poll-interval/289143)._
