Circuit Breaker Exception

{
  'error': {
    'type': 'circuit_breaking_exception',
    'reason': '[parent] Data too large, data for [<http_request>] would be [123848638/118.1mb], which is larger than the limit of [123273216/117.5mb], real usage: [120182112/114.6mb], new bytes reserved: [3666526/3.4mb]',
    'bytes_wanted': 123848638,
    'bytes_limit': 123273216,
    'durability': 'TRANSIENT'
  },
  'status': 429
}

I am getting a circuit breaker exception. I am trying to understand the error message.

  • [123273216/117.5mb] - parent circuit breaker limit (95%).
  • new bytes reserved [3666526/3.4mb] - this means the new request memory needs
  • [123848638/118.1mb] - current heap + new bytes reserved
  • real usage: [120182112/114.6mb] - current heap status

Is my understanding correct?

What heap size do you have configured?

Which version of Elasticsearch are you using?

Heap Size - 124 mb
Version - 7.10

I do not think I have ever seen Elasticsearch node run with successfully with a heap smaller than 512MB, especially for older versions like the one you are using, and that would generally only be suitable for a small test instance. I would recommend you increase the heap size to a minimum of 512MB.

1 Like

ok. I want to understand the error. Is the below interpretation correct according to the error?

  • [123273216/117.5mb] - parent circuit breaker limit (95%).
  • new bytes reserved [3666526/3.4mb] - this means the new request memory needs
  • [123848638/118.1mb] - current heap + new bytes reserved
  • real usage: [120182112/114.6mb] - current heap status

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