# Circuit break exception

**URL:** <https://discuss.elastic.co/t/circuit-break-exception/308774>\
**Category:** Elasticsearch\
**Created:** [July 4, 2022, 4:28am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774 "2022-07-04T04:28:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_Sahu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajesh_sahu/32/107880_2.png) [@Rajesh\_Sahu](https://discuss.elastic.co/u/Rajesh_Sahu)\
**Post date:** [July 4, 2022, 4:28am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774/1 "2022-07-04T04:28:57Z")

</div>

Hi all,

I have been using Elasticsearch with multiple node setup from last 2 years, but currently all of sudden , got below exception of circuit\_breaking\_exception .  
\<  
{"error":{"root\_cause":[{"type":"circuit\_breaking\_exception","reason":"[parent] Data too large, data for [\<http\_request\>] would be [4101763462/3.8gb], which is larger than the limit of [4080218931/3.7gb], real usage: [4099648288/3.8gb], new bytes reserved: [2115174/2mb], usages [request=0/0b, fielddata=0/0b, in\_flight\_requests=2115174/2mb, accounting=25208/24.6kb]","bytes\_wanted":4101763462,"bytes\_limit":4080218931,"durability":"TRANSIENT"}  
/\>  
Can anyone guide me what should i look into?

Regards,  
Rajesh

---

<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:** [July 4, 2022, 4:46am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774/2 "2022-07-04T04:46:37Z")

</div>

Welcome to our community! 😃

What is the output from the `_cluster/stats?pretty&human` API?

---

<div class="post-metadata">

**Author:** ![Rajesh\_Sahu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajesh_sahu/32/107880_2.png) [@Rajesh\_Sahu](https://discuss.elastic.co/u/Rajesh_Sahu)\
**Post date:** [July 4, 2022, 4:59am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774/3 "2022-07-04T04:59:58Z")

</div>

Hello,

Below is the response ,

```auto
{
  "_nodes" : {
    "total" : 3,
    "successful" : 3,
    "failed" : 0
  },
  "cluster_name" : "es-prod-cluster",
  "cluster_uuid" : "V-wgu8A_SBeR8S_cobyNvQ",
  "timestamp" : 1656910658528,
  "status" : "green",
  "indices" : {
    "count" : 11,
    "shards" : {
      "total" : 22,
      "primaries" : 11,
      "replication" : 1.0,
      "index" : {
        "shards" : {
          "min" : 2,
          "max" : 2,
          "avg" : 2.0
        },
        "primaries" : {
          "min" : 1,
          "max" : 1,
          "avg" : 1.0
        },
        "replication" : {
          "min" : 1.0,
          "max" : 1.0,
          "avg" : 1.0
        }
      }
    },
    "docs" : {
      "count" : 120064,
      "deleted" : 41796
    },
    "store" : {
      "size" : "1.6gb",
      "size_in_bytes" : 1724034581
    },
    "fielddata" : {
      "memory_size" : "0b",
      "memory_size_in_bytes" : 0,
      "evictions" : 0
    },
    "query_cache" : {
      "memory_size" : "255kb",
      "memory_size_in_bytes" : 261152,
      "total_count" : 1073794,
      "hit_count" : 53114,
      "miss_count" : 1020680,
      "cache_size" : 24,
      "cache_count" : 1848,
      "evictions" : 1824
    },
    "completion" : {
      "size" : "0b",
      "size_in_bytes" : 0
    },
    "segments" : {
      "count" : 78,
      "memory" : "1.8mb",
      "memory_in_bytes" : 1888838,
      "terms_memory" : "1mb",
      "terms_memory_in_bytes" : 1108752,
      "stored_fields_memory" : "52.2kb",
      "stored_fields_memory_in_bytes" : 53456,
      "term_vectors_memory" : "0b",
      "term_vectors_memory_in_bytes" : 0,
      "norms_memory" : "139.6kb",
      "norms_memory_in_bytes" : 143040,
      "points_memory" : "0b",
      "points_memory_in_bytes" : 0,
      "doc_values_memory" : "569.9kb",
      "doc_values_memory_in_bytes" : 583590,
      "index_writer_memory" : "0b",
      "index_writer_memory_in_bytes" : 0,
      "version_map_memory" : "0b",
      "version_map_memory_in_bytes" : 0,
      "fixed_bit_set" : "0b",
      "fixed_bit_set_memory_in_bytes" : 0,
      "max_unsafe_auto_id_timestamp" : -1,
      "file_sizes" : { }
    },
    "mappings" : {
      "field_types" : [
        {
          "name" : "boolean",
          "count" : 16,
          "index_count" : 2
        },
        {
          "name" : "date",
          "count" : 30,
          "index_count" : 2
        },
        {
          "name" : "float",
          "count" : 11,
          "index_count" : 1
        },
        {
          "name" : "keyword",
          "count" : 106,
          "index_count" : 4
        },
        {
          "name" : "long",
          "count" : 78,
          "index_count" : 4
        },
        {
          "name" : "object",
          "count" : 43,
          "index_count" : 2
        },
        {
          "name" : "search_as_you_type",
          "count" : 3,
          "index_count" : 3
        },
        {
          "name" : "text",
          "count" : 106,
          "index_count" : 4
        }
      ]
    },
    "analysis" : {
      "char_filter_types" : [],
      "tokenizer_types" : [],
      "filter_types" : [],
      "analyzer_types" : [],
      "built_in_char_filters" : [],
      "built_in_tokenizers" : [],
      "built_in_filters" : [],
      "built_in_analyzers" : []
    }
  },
  "nodes" : {
    "count" : {
      "total" : 3,
      "coordinating_only" : 0,
      "data" : 3,
      "ingest" : 3,
      "master" : 3,
      "ml" : 3,
      "remote_cluster_client" : 3,
      "transform" : 3,
      "voting_only" : 0
    },
    "versions" : [
      "7.7.1"
    ],
    "os" : {
      "available_processors" : 6,
      "allocated_processors" : 6,
      "names" : [
        {
          "name" : "Linux",
          "count" : 3
        }
      ],
      "pretty_names" : [
        {
          "pretty_name" : "Amazon Linux 2",
          "count" : 3
        }
      ],
      "mem" : {
        "total" : "23.1gb",
        "total_in_bytes" : 24840437760,
        "free" : "533.2mb",
        "free_in_bytes" : 559173632,
        "used" : "22.6gb",
        "used_in_bytes" : 24281264128,
        "free_percent" : 2,
        "used_percent" : 98
      }
    },
    "process" : {
      "cpu" : {
        "percent" : 2
      },
      "open_file_descriptors" : {
        "min" : 339,
        "max" : 350,
        "avg" : 345
      }
    },
    "jvm" : {
      "max_uptime" : "52.8d",
      "max_uptime_in_millis" : 4562175180,
      "versions" : [
        {
          "version" : "14.0.1",
          "vm_name" : "OpenJDK 64-Bit Server VM",
          "vm_version" : "14.0.1+7",
          "vm_vendor" : "AdoptOpenJDK",
          "bundled_jdk" : true,
          "using_bundled_jdk" : true,
          "count" : 3
        }
      ],
      "mem" : {
        "heap_used" : "2.5gb",
        "heap_used_in_bytes" : 2762084184,
        "heap_max" : "12gb",
        "heap_max_in_bytes" : 12884901888
      },
      "threads" : 138
    },
    "fs" : {
      "total" : "149.9gb",
      "total_in_bytes" : 160982630400,
      "free" : "148gb",
      "free_in_bytes" : 158994112512,
      "available" : "148gb",
      "available_in_bytes" : 158994112512
    },
    "plugins" : [],
    "network_types" : {
      "transport_types" : {
        "security4" : 3
      },
      "http_types" : {
        "security4" : 3
      }
    },
    "discovery_types" : {
      "zen" : 3
    },
    "packaging_types" : [
      {
        "flavor" : "default",
        "type" : "rpm",
        "count" : 3
      }
    ],
    "ingest" : {
      "number_of_pipelines" : 2,
      "processor_stats" : {
        "gsub" : {
          "count" : 0,
          "failed" : 0,
          "current" : 0,
          "time" : "0s",
          "time_in_millis" : 0
        },
        "script" : {
          "count" : 0,
          "failed" : 0,
          "current" : 0,
          "time" : "0s",
          "time_in_millis" : 0
        }
      }
    }
  }
}

```

Regards,  
Rajesh

---

<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:** [July 4, 2022, 6:59am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774/4 "2022-07-04T06:59:39Z")

</div>

7.7 is [EOL](https://www.elastic.co/support/eol) and you should really upgrade ASAP. That would be the first thing to do.

---

<div class="post-metadata">

**Author:** ![Rajesh\_Sahu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajesh_sahu/32/107880_2.png) [@Rajesh\_Sahu](https://discuss.elastic.co/u/Rajesh_Sahu)\
**Post date:** [July 5, 2022, 3:32am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774/5 "2022-07-05T03:32:53Z")

</div>

Sure will do that.  
But can help me out what causes this exception.

---

<div class="post-metadata">

**Author:** ![sudhagar\_ramesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sudhagar_ramesh/32/105673_2.png) [@sudhagar\_ramesh](https://discuss.elastic.co/u/sudhagar_ramesh)\
**Post date:** [July 5, 2022, 6:13am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774/6 "2022-07-05T06:13:17Z")

</div>

Hello @Rajesh_Sahu

The data that you are trying to ingest is 4GB but your node can handle only upto 3.7GB  
Hence please increase the resource to fix this issue.

Keep Posted!!! 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:** [August 2, 2022, 6:13am UTC](https://discuss.elastic.co/t/circuit-break-exception/308774/7 "2022-08-02T06:13:37Z")

</div>

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