# We get error when update ES2 to ES6, info as follow: Remote responded with a chunk that was too large. Use a smaller batch size

**URL:** <https://discuss.elastic.co/t/we-get-error-when-update-es2-to-es6-info-as-follow-remote-responded-with-a-chunk-that-was-too-large-use-a-smaller-batch-size/146097>\
**Category:** Elasticsearch\
**Created:** [August 27, 2018, 3:00am UTC](https://discuss.elastic.co/t/we-get-error-when-update-es2-to-es6-info-as-follow-remote-responded-with-a-chunk-that-was-too-large-use-a-smaller-batch-size/146097 "2018-08-27T03:00:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![showmeall](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/showmeall/32/29507_2.png) [@showmeall](https://discuss.elastic.co/u/showmeall)\
**Post date:** [August 27, 2018, 3:00am UTC](https://discuss.elastic.co/t/we-get-error-when-update-es2-to-es6-info-as-follow-remote-responded-with-a-chunk-that-was-too-large-use-a-smaller-batch-size/146097/1 "2018-08-27T03:00:41Z")

</div>

we get error when update ES2 to ES6, info as follow:  
{"error":{"root\_cause":[{"type":"illegal\_argument\_exception","reason":"Remote responded with a chunk that was too large. Use a smaller batch size."}],"type":"illegal\_argument\_exception","reason":"Remote responded with a chunk that was too large. Use a smaller batch size.","caused\_by":{"type":"content\_too\_long\_exception","reason":"entity content is too long [123362947] for the configured buffer limit [104857600]"}},"status":400}

ES2 version: 2.4.0  
ES2 version: 6.2.4  
number of shard : 5  
number of replica : 0  
number fo documents : 100 millons  
date store size : 10TB

please help us .thanks

---

<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:** [September 24, 2018, 3:00am UTC](https://discuss.elastic.co/t/we-get-error-when-update-es2-to-es6-info-as-follow-remote-responded-with-a-chunk-that-was-too-large-use-a-smaller-batch-size/146097/2 "2018-09-24T03:00:54Z")

</div>

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