# Problem when reindex a 8G index

**URL:** <https://discuss.elastic.co/t/problem-when-reindex-a-8g-index/232592>\
**Category:** Elasticsearch\
**Created:** [May 14, 2020, 9:14am UTC](https://discuss.elastic.co/t/problem-when-reindex-a-8g-index/232592 "2020-05-14T09:14:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lizhu](https://avatars.discourse-cdn.com/v4/letter/l/8c91f0/32.png) [@lizhu](https://discuss.elastic.co/u/lizhu)\
**Post date:** [May 14, 2020, 9:14am UTC](https://discuss.elastic.co/t/problem-when-reindex-a-8g-index/232592/1 "2020-05-14T09:14:35Z")

</div>

I have a 8G 、336408 docs index which have 5 pri and 1 rep, and want to reindex it.  
my command is

```auto
POST <node_ip>:9200/_reindex?scroll=120m&timeout=120m&requests_per_second=10
{
  "source": {
    "index": "pcom",
    "size":50
  },
  "dest": {
    "index": "pcom_temp"
  }
}

```

my es cluster is ok, but i got an err:

 ![es](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8bef6ef0ebf3c7ae5889ef24ca5b40d67e041e3.png)

what hanppend and how to troubleshoot?

---

<div class="post-metadata">

**Author:** ![wen.gao](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@wen.gao](https://discuss.elastic.co/u/wen.gao)\
**Post date:** [May 14, 2020, 9:55am UTC](https://discuss.elastic.co/t/problem-when-reindex-a-8g-index/232592/2 "2020-05-14T09:55:21Z")

</div>

Hi all

And we found in the same index , if we reindex less data(about less than 10k docs), success rate goes up obviously.

Thanks for help

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [May 14, 2020, 10:41am UTC](https://discuss.elastic.co/t/problem-when-reindex-a-8g-index/232592/3 "2020-05-14T10:41:07Z")

</div>

@lizhu, it does look odd. Which version of Elasticsearch are you on?

I would advice against the `requests_per_second=10`, since it really means documents per second and thus would take around 10 hours to complete with that.

---

<div class="post-metadata">

**Author:** ![lizhu](https://avatars.discourse-cdn.com/v4/letter/l/8c91f0/32.png) [@lizhu](https://discuss.elastic.co/u/lizhu)\
**Post date:** [May 14, 2020, 5:16pm UTC](https://discuss.elastic.co/t/problem-when-reindex-a-8g-index/232592/4 "2020-05-14T17:16:09Z")

</div>

@HenningAndersen Thank you, es version: 6.8.0  
As shown in the picture, I did not set url parameter `requests_per_second`, however the err is also returned many times.

---

<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 11, 2020, 5:18pm UTC](https://discuss.elastic.co/t/problem-when-reindex-a-8g-index/232592/5 "2020-06-11T17:18:31Z")

</div>

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