Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 3.7.0
Describe the issue:
We have a three-node OpenSearch cluster with the following topology in both deployments:
| Node type | Number of nodes | Responsibility |
|---|---|---|
| Client node | 1 | Receives client requests and coordinates search operations |
| Cluster manager node | 1 | Manages cluster state and coordination |
| Data node | 1 | Stores index data and executes shard-level operations |
The same logical topology is used for both OpenSearch 3.5.0 and 3.7.0. The client node is where we are observing repeated parent circuit breaker exceptions.
Test scenario and workload:
We are running a Performance Sanity Test suite for the Response use case, using the Elasticsearch REST client v7.0.0.
The test performs bulk create/sync/audit operations for up to 250 intents.
Load conditions are unchanged between the two OpenSearch versions. We are using the same test scenario and client version, and the test works with OpenSearch 3.5.0 but encounters failures after upgrading to 3.7.0.
Resource Configuration:
3.5.0
[
{
"pod": "automation-infra-indexsearch-client-6d97bcc569-lt55d",
"container": "is-client",
"chart": "indexsearch-14.0.0",
"app_version": "3.5.0",
"image": "*****",
"imageID": "*****",
"restarts": 0,
"resources": {
"limits": {
"cpu": "500m",
"ephemeral-storage": "2Gi",
"memory": "2Gi"
},
"requests": {
"cpu": "100m",
"ephemeral-storage": "200Mi",
"memory": "1500Mi"
}
},
"java_opts": "-Xms1g -Xmx1g -Dlog4j2.formatMsgNoLookups=true"
},
{
"pod": "automation-infra-indexsearch-data-0",
"container": "is-data",
"chart": "indexsearch-14.0.0",
"app_version": "3.5.0",
"image": "****
"imageID": "****
"restarts": 0,
"resources": {
"limits": {
"cpu": "1500m",
"ephemeral-storage": "6Gi",
"memory": "6Gi"
},
"requests": {
"cpu": "300m",
"ephemeral-storage": "200Mi",
"memory": "4Gi"
}
},
"java_opts": "-Xms3g -Xmx3g -Dlog4j2.formatMsgNoLookups=true"
},
{
"pod": "automation-infra-indexsearch-manager-0",
"container": "is-manager",
"chart": "indexsearch-14.0.0",
"app_version": "3.5.0",
"image": "****",
"imageID": "****",
"restarts": 0,
"resources": {
"limits": {
"cpu": "500m",
"ephemeral-storage": "2Gi",
"memory": "2Gi"
},
"requests": {
"cpu": "100m",
"ephemeral-storage": "200Mi",
"memory": "1500Mi"
}
},
"java_opts": "-Xms1g -Xmx1g -Dlog4j2.formatMsgNoLookups=true"
}
]
3.7.0
{
"pod": "infra-indexsearch-client-579f584fd7-9sb7h",
"container": "is-client",
"phase": "Running",
"ready": [
true,
0
],
"image": "***",
"resources": {
"limits": {
"cpu": "1",
"ephemeral-storage": "4Gi",
"memory": "4Gi"
},
"requests": {
"cpu": "500m",
"ephemeral-storage": "200Mi",
"memory": "2Gi"
}
},
"java": {
"OPENSEARCH_JAVA_OPTS": "-Xms2g -Xmx2g -Dlog4j2.formatMsgNoLookups=true"
}
},
{
"pod": "infra-indexsearch-dashboards-6556b48b5c-twfjp",
"container": "dashboards",
"phase": "Running",
"ready": [
true,
0
],
"image": "****",
"resources": {
"limits": {
"cpu": "1",
"ephemeral-storage": "1500Mi",
"memory": "5Gi"
},
"requests": {
"cpu": "500m",
"ephemeral-storage": "500Mi",
"memory": "1Gi"
}
},
"java": {}
},
{
"pod": "infraindexsearch-data-0",
"container": "is-data",
"phase": "Running",
"ready": [
true,
0
],
"image": "****",
"resources": {
"limits": {
"cpu": "3",
"ephemeral-storage": "10Gi",
"memory": "10Gi"
},
"requests": {
"cpu": "500m",
"ephemeral-storage": "200Mi",
"memory": "8Gi"
}
},
"java": {
"OPENSEARCH_JAVA_OPTS": "-Xms5g -Xmx5g -Dlog4j2.formatMsgNoLookups=true"
}
},
{
"pod": "infra-indexsearch-manager-0",
"container": "is-manager",
"phase": "Running",
"ready": [
true,
0
],
"image": "****",
"resources": {
"limits": {
"cpu": "1",
"ephemeral-storage": "2Gi",
"memory": "2Gi"
},
"requests": {
"cpu": "100m",
"ephemeral-storage": "200Mi",
"memory": "1500Mi"
}
},
"java": {
"OPENSEARCH_JAVA_OPTS": "-Xms1g -Xmx1g -Dlog4j2.formatMsgNoLookups=true"
}
}
]
Relevant Logs or Screenshots:
Error 1:
[parent] Data too large, data for [<reduce_aggs>] would be
[2045799219/1.9gb], which is larger than the limit of
[2040109465/1.8gb], real usage: [2045799152/1.9gb],
new bytes reserved: [67/67b],
usages [request=772/772b, fielddata=0/0b,
in_flight_requests=33566/32.7kb]
Error 2:
[parent] Data too large, data for [<http_request>] would be
[2114804076/1.9gb], which is larger than the limit of
[2040109465/1.8gb], real usage: [2114803152/1.9gb],
new bytes reserved: [924/924b],
usages [request=0/0b, fielddata=0/0b,
in_flight_requests=35488/34.6kb]
Observation:
-
The same performance sanity-test workload succeeds on OpenSearch 3.5.0 but fails on 3.7.0.
-
Core circuit breaker thresholds are unchanged.
-
The 3.7.0 client node has substantially higher absolute heap usage and many more breaker trips in the captured statistics.
-
Failures occur in both aggregation-reduction and HTTP-request allocation contexts.
-
Increasing the client heap from 1 GiB to 2 GiB has not resolved the problem, although 1 GiB was working fine with 3.5.0 during the regression test.
-
We found that quite a few new configuration parameters were added in the cluster configuration differences, and I suspect one of them is the cause; perhaps some configuration tuning is required.
search:
aggregations:
terms:
max_precompute_cardinality: 30000
- Fix terms aggregation performance regression on high-cardinality fields by adding a max cardinality setting (#20623)
- The following parameters were added in the 3.7.0 cluster configuration:
admission_control.cluster_admin.native_memory_usage.limit: 95
admission_control.indexing.native_memory_usage.limit: 95
admission_control.search.native_memory_usage.limit: 95
admission_control.transport.native_memory_usage.mode_override: disabled
cluster.pluggable.dataformat:
cluster.pluggable.dataformat.enabled: false
cluster.pluggable.dataformat.restrict.allowlist: []
cluster.remote_store.state.cleanup.batch_size: 1000
cluster.remote_store.state.cleanup.max_batches: 3
cluster.remote_store.uploaded_segments_cleanup_threshold: 1000
cluster.restrict.pluggable.dataformat: false
cluster.tiering.filecache_active_threshold_percent: 90
cluster.tiering.jvm_usage_threshold_percent: 95
cluster.tiering.max_concurrent_hot_to_warm_requests: 200
cluster.tiering.max_concurrent_warm_to_hot_requests: 10
http.request_id.max_length: 128
index.store.data_locality: FULL
indices.memory.max_native_index_buffer_size: -1
indices.memory.min_native_index_buffer_size: 48mb
indices.memory.native_index_buffer_size: 5%
monitor.native_memory.refresh_interval: 1s
node.native_memory.buffer_percent: 0
node.native_memory.limit: 1696512081b
node.resource.tracker.global_native_memory_usage.window_duration: 30s
opensearch.experimental.feature.pluggable.dataformat.enabled: false
plugins.security.dfm_empty_overrides_all: false
search.aggregations.terms.max_precompute_cardinality: 30000
search_backpressure.node_duress.native_memory_limit: 0b
search_backpressure.node_duress.native_memory_threshold: 0.85
search_backpressure.search_shard_task.native_memory_percent_threshold: 0.05
search_backpressure.search_task.native_memory_percent_threshold: 0.05
thread_pool.merge.core: 1
thread_pool.merge.keep_alive: 5m
thread_pool.merge.max: 1
thread_pool.remote_download.core: 1
thread_pool.remote_download.keep_alive: 5m
thread_pool.remote_download.max: 2
tiering.service.prefetch.read_ahead.block_count: 4
tiering.service.prefetch.stored_fields.enabled: true
- And the following configuration was present in 3.5.0 and removed in 3.7.0:
opensearch.experimental.feature.arrow.streams.enabled: false
Thank you for the support!





