# CircuitBreakException \<transport\_request\>

**URL:** <https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320>\
**Category:** Elasticsearch\
**Created:** [August 3, 2021, 1:48pm UTC](https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320 "2021-08-03T13:48:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![grrkaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grrkaan/32/92479_2.png) [@grrkaan](https://discuss.elastic.co/u/grrkaan)\
**Post date:** [August 3, 2021, 1:48pm UTC](https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320/1 "2021-08-03T13:48:42Z")

</div>

My setup is 1 master node and 18 data node.My master node also data node.My tps events/sec 70-100 and my jvm options like this.

Elasticsearch version 7.5.0  
open-jdk 13

Machines has a 32 GB Memory. And i got an error when insert and searchs.  
I checked logs and see circuit break exceptions 'Data too large for \<transport\_request\> larger than limit. '

```auto
## JVM configuration

################################################################
## IMPORTANT: JVM heap size
################################################################
##
## You should always set the min and max JVM heap
## size to the same value. For example, to set
## the heap to 4 GB, set:
##
## -Xms4g
## -Xmx4g
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html
## for more information
##
################################################################

# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space

-Xms24g
-Xmx24g

################################################################
## Expert settings
################################################################
##
## All settings below this section are considered
## expert settings. Don't tamper with them unless
## you understand what you are doing
##
################################################################

## GC configuration
#-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly

## JDK 8 GC logging

8:-XX:+PrintGCDetails
8:-XX:+PrintGCDateStamps
8:-XX:+PrintTenuringDistribution
8:-XX:+PrintGCApplicationStoppedTime
8:-Xloggc:/var/log/elasticsearch/gc.log
8:-XX:+UseGCLogFileRotation
8:-XX:NumberOfGCLogFiles=32
8:-XX:GCLogFileSize=64m

# JDK 9+ GC logging
9-:-Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m

```

How can i decrease heap on machines ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 3, 2021, 10:46pm UTC](https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320/2 "2021-08-03T22:46:50Z")

</div>

Welcome to our community! 😃

> [@grrkaan](#):
>
> Elasticsearch version 7.5.0

Please upgrade, 7.5. is now [EOL](https://www.elastic.co/support/eol).

> [@grrkaan](#):
>
> I checked logs and see circuit break exceptions 'Data too large for \<transport\_request\> larger than limit. '

Please share the complete log you are seeing, as well as the output from the `_cluster/stats?pretty&human` API?

---

<div class="post-metadata">

**Author:** ![grrkaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grrkaan/32/92479_2.png) [@grrkaan](https://discuss.elastic.co/u/grrkaan)\
**Post date:** [August 4, 2021, 8:53am UTC](https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320/3 "2021-08-04T08:53:33Z")

</div>

Some nodes getting error

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/3/4339bd8cfc7922b21a855952dc5f0283fc84de49.png)

And details this Api

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/2/a22d9c289f83ae05b9b9c997b079fb4518df5cfd.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/f/afa4d4510678a9f68af0045bad95ab8a2d126239.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/0/8072339e81d9a4247a86a371b2ac0b443a2a708c.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f0fe0b59d3883ce7cc80259ea7665b35df859a4f.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/f/ffbc922f0d3b76ae2b9165c431e1c9ecc0bd1447.png)

I can't copy paste any data from this machine .so i get screenshots.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 4, 2021, 9:35pm UTC](https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320/4 "2021-08-04T21:35:53Z")

</div>

7.5 is [EOL](https://www.elastic.co/support/eol), please upgrade.

On average your shards are 2GB, you should be aiming for 10-25 times that size, so doing some merging of those would be useful.

---

<div class="post-metadata">

**Author:** ![grrkaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grrkaan/32/92479_2.png) [@grrkaan](https://discuss.elastic.co/u/grrkaan)\
**Post date:** [August 5, 2021, 7:43am UTC](https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320/5 "2021-08-05T07:43:56Z")

</div>

Thank you warkolm.I will upgrade 7.14 but I'm worring about snapshot.I will probably get this memory errors when i try to getting snapshot.Also I'll increase shard size and merge them.

---

<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 2, 2021, 7:44am UTC](https://discuss.elastic.co/t/circuitbreakexception-transport-request/280320/6 "2021-09-02T07:44:17Z")

</div>

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