# Abrupt Index rollovers and Policies update

**URL:** <https://discuss.elastic.co/t/abrupt-index-rollovers-and-policies-update/355129>\
**Category:** APM\
**Tags:** ilm-index-lifecycle-management, server, storage-explorer\
**Created:** [March 11, 2024, 7:38am UTC](https://discuss.elastic.co/t/abrupt-index-rollovers-and-policies-update/355129 "2024-03-11T07:38:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HemdeepSaini](https://avatars.discourse-cdn.com/v4/letter/h/13edae/32.png) [@HemdeepSaini](https://discuss.elastic.co/u/HemdeepSaini)\
**Post date:** [March 11, 2024, 7:38am UTC](https://discuss.elastic.co/t/abrupt-index-rollovers-and-policies-update/355129/1 "2024-03-11T07:38:51Z")

</div>

Policies gets updated itself own its own, abruptly triggering rollover of indexes managed by default policies. As a result number of shards are reaching maximum limit in cluster.

Giving Errors like

```auto
Index lifecycle error
validation_exception: Validation Failed: 1: this action would add [2] shards, but this cluster currently has [2999]/[3000] maximum normal shards open;

```

```auto
{"log.level":"error","@timestamp":"2024-03-05T16:59:15.884+0530","log.origin":{"file.name":"go-docappender@v0.1.0/appender.go","file.line":279},"message":"failed to index document (illegal_argument_exception): Number of documents in the index can't exceed [2147483519]","service.name":"apm-server","ecs.version":"1.6.0"}

```

\*\*If anyone Knows why these abrupt rollovers are happening, same thing has occurred 3 days ago also and why are ILMs updating themselves. \*\*

**Kibana version** : 8.8.1  
**Elasticsearch version** : 8.8.0  
**APM Server version** : 8.8.1  
we are using self managed binary APM server set 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:** [April 8, 2024, 7:39am UTC](https://discuss.elastic.co/t/abrupt-index-rollovers-and-policies-update/355129/2 "2024-04-08T07:39:15Z")

</div>

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