# Reindexing process stops in middle. Cluster health unstable

**URL:** <https://discuss.elastic.co/t/reindexing-process-stops-in-middle-cluster-health-unstable/187566>\
**Category:** Elasticsearch\
**Created:** [June 26, 2019, 12:38pm UTC](https://discuss.elastic.co/t/reindexing-process-stops-in-middle-cluster-health-unstable/187566 "2019-06-26T12:38:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurunga011](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gurunga011](https://discuss.elastic.co/u/gurunga011)\
**Post date:** [June 26, 2019, 12:38pm UTC](https://discuss.elastic.co/t/reindexing-process-stops-in-middle-cluster-health-unstable/187566/1 "2019-06-26T12:38:38Z")

</div>

Hi,

I am trying to reindex 20million documents(size of 5 TB) from kibana console using re-index api. After only little over 1 million, it stops. My cluster health keeps fluctuating from GREEN to NOT CONNECTED in every 5-10 seconds, sometimes it is not connected for a long period of time. And this causes my re-indexing process fail completely. What are my options? How do I make my cluster health GREEN or strong all the time. I have 3 nodes, 1 master node. I am reindexing to the same cluster. From kibana, at the beginning it says time-out error, but in the background it starts re-indexing and stops little after 1 million. I have also tried re-indexing through command prompt using curl command, same issue.

Thank you

---

<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:** [July 24, 2019, 12:38pm UTC](https://discuss.elastic.co/t/reindexing-process-stops-in-middle-cluster-health-unstable/187566/2 "2019-07-24T12:38:39Z")

</div>

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