{
'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
}
我正在尝试理解上述断路器错误。
- [123273216/117.5mb] -母断路器限制(95%)。
- 新字节保留[3666526/3.4mb] -这意味着新的请求内存需要
- [123848638/118.1mb] -当前堆+新字节保留
- 实际使用量:[120182112/114.6mb] -当前堆状态
我的理解正确吗?
是的,基本上是正确的:
- 当前堆使用率为120,182,112 执行请求所需的新字节数是3,666,526因此,从内存中需要的字节数将是1 + 2 = 123,848,638
- 总堆是129,761,280
- 父熔断的最大可预留堆内存为总堆的95% = 123,273,216
Since 3 (bytes needed)>5(断路器限位),断路器跳闸