PUT /_cluster/settings
API 를 통해 조정indices.breaker.total.use_real_memory
indices.breaker.total.limit
indices.breaker.total.use_real_memory
가 true 이면 75%, false 이면 90%필드 데이터를 로딩하는 heap 메모리를 추정하여, field 데이터 캐시 메모리 사용량이 초과하면 중단하고 에러 리턴
indices.breaker.fielddata.limit
indices.breaker.fielddata.overhead
1.03
indices.breaker.request.limit
60%
indices.breaker.request.overhead
1
100%
. (기본값이면 parent breaker 설정을 따르게 됨)network.breaker.inflight_requests.overhead
2
indices.breaker.accounting.limit
100%
. (기본값이면 parent breaker 설정을 따르게 됨)indices.breaker.accounting.overhead
1
script.max_compilations_rate
150/5m
(5분동안 150개)_nodes/stats
로 script.cache_evictions_history
나 script.compilations_history
점검script.cache.max_size
를 두배로 늘려 조치 권장script.painless.regex.enabled
limited
: 기본값. 정규식 활성화하되, 클러스터 설정의 script.painless.regex.limit-factor
값으로 제한true
복잡도 제한 없이 정규식 활성화 (=breaker 비활성화)false
: 정규식 사용 자체를 제한. 정규식 request 는 모두 에러 리턴script.painless.regex.limit-factor
script.painless.regex.enabled
설정이 limited
일 때에만 적용Caused by: ElasticsearchException[Elasticsearch exception [type=circuit_breaking_exception, reason=[parent] Data too large, data for [indices:data/write/bulk[s]] would be [509191974/485.6mb], which is larger than the limit of [493030604/470.1mb], real usage: [508969864/485.3mb], new bytes reserved: [222110/216.9kb], usages [request=0/0b, fielddata=700/700b, in_flight_requests=222110/216.9kb, model_inference=0/0b, accounting=8111422/7.7mb]]]