# ES cluster always auto-balancing

**URL:** https://discuss.elastic.co/t/es-cluster-always-auto-balancing/210947
**Category:** Elasticsearch
**Created:** [December 7, 2019, 12:47am UTC](https://discuss.elastic.co/t/es-cluster-always-auto-balancing/210947 "2019-12-07T00:47:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dwilches](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dwilches/32/48586_2.png) [@dwilches](https://discuss.elastic.co/u/dwilches)
#### Post date: [December 7, 2019, 12:47am UTC](https://discuss.elastic.co/t/es-cluster-always-auto-balancing/210947/1 "2019-12-07T00:47:19Z")

</div>

We turned auto balancing on in the cluster, and we started seeing that there were always 9 shards moving around (9 is the maximum number of shards that we configured).

Our nodes were already quite balanced (we eye-balled them and they had similar shard counts and free space). I took a closer look and I saw shards moving from nodes with more free disk space to nodes with less free disk space.

Why is ES taking a decision like that? Is there a way to look into why ES decides to balance a shard in a certain way?

We are currently using ES 6.8

Thanks.

---

<div class="post-metadata">

### Author: ![dwilches](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dwilches/32/48586_2.png) [@dwilches](https://discuss.elastic.co/u/dwilches)
#### Post date: [December 28, 2019, 1:20am UTC](https://discuss.elastic.co/t/es-cluster-always-auto-balancing/210947/2 "2019-12-28T01:20:48Z")

</div>

I will cross-post in StackOverflow: [https://stackoverflow.com/questions/59507420/elasticsearch-cluster-always-auto-balancing](https://stackoverflow.com/questions/59507420/elasticsearch-cluster-always-auto-balancing)

---

<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: [January 25, 2020, 1:20am UTC](https://discuss.elastic.co/t/es-cluster-always-auto-balancing/210947/3 "2020-01-25T01:20:54Z")

</div>

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