# Reindex gets stuck

**URL:** <https://discuss.elastic.co/t/reindex-gets-stuck/234108>\
**Category:** Elasticsearch\
**Created:** [May 25, 2020, 8:56am UTC](https://discuss.elastic.co/t/reindex-gets-stuck/234108 "2020-05-25T08:56:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nayestaran](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@nayestaran](https://discuss.elastic.co/u/nayestaran)\
**Post date:** [May 25, 2020, 8:56am UTC](https://discuss.elastic.co/t/reindex-gets-stuck/234108/1 "2020-05-25T08:56:44Z")

</div>

Hello Elastic community,

**Context**

We have two Elasticsearch clusters with 6 and 3 nodes each. The cluster with 6 nodes is the one we use in production environment and we use the one with 3 nodes for testing purposes. (We have the same problem in both clusters). All the nodes have the following characteristics:

- Elasticsearch 7.4.2
- 1TB HDD disk
- 8 GB RAM

In our case, we need to reindex some of the indexes. Those indexes have billions of documents and a size between 50GB and 250GB.

**Problem**

Whenever we start reindexing, internally or from a remote source, the task starts working correctly but it reaches a point where it stops reindexing, without apparent reason. We can´t see anything in the logs. The task is not cancelled or anything, it only stops reindexing documents, it looks like the task gets stuck. We tried changing GC strategies, we used CMS and Shenandoah but nothing changes.

Has anyone run into the same problem?

---

<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:** [June 22, 2020, 8:56am UTC](https://discuss.elastic.co/t/reindex-gets-stuck/234108/2 "2020-06-22T08:56:48Z")

</div>

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