To diagnose high JVM memory pressure on managed OpenSearch, start with the response your client actually received. Record the HTTP status, the error type and any breaker label such as [parent]. Line that failure up in UTC with the query that ran and any concurrent bulk activity, then collect the read-only cluster and index snapshots you can take. On Logit.io Hosted OpenSearch, Logit.io manages the JVM and cluster topology. Put what you have into a support packet, and ask support to add heap or GC samples if you need them.
The OpenSearch 2.19.0 figures below are illustrative example values. They show how to prepare that handoff even when you have no heap or GC measurements.
Contents
Read the symptom precisely
Start with the first thing the caller could see. A dashboard panel might return data slowly, time out at the client or receive an HTTP error. Record the search or bulk operation, the caller, the redacted request path, the UTC time and the HTTP status if there was a response. For a timeout with no response, record the client timeout and whether a retry followed. If a search responded, keep client elapsed time and any OpenSearch took value separately. Client timing includes overhead outside the time reported by OpenSearch.
Read heap occupancy as a point-in-time measurement. Heap use can rise as objects are allocated and fall when garbage collection (GC) frees space. The low readings immediately after comparable collections are the post-GC floor. Several rises and falls back to that node’s earlier floor support a recovering sawtooth over the sampled interval. Repeated post-GC readings above that node’s usual floor, including after the recorded workload eases, support a sustained elevation. One heap value, sparse samples or a cluster average can leave both patterns plausible. Use a comparable baseline for the same node and note any gap in coverage.
Read the response body before classifying a 429. Record the outer type in error.type and look for a more specific cause in root_cause, caused_by or a failed shard’s reason, where present. In the example error below, circuit_breaking_exception gives the type and [parent] in the reason names the breaker. Preserve a different label such as [request] if the body gives one. For a rejected_execution_exception, record the type and any executor or queue detail. For bulk 429s and rejected-execution backpressure, see OpenSearch bulk rejections and 429 backpressure. If all the client retained was HTTP 429, record the response type as unknown.
This is a shortened view of the example response for the wide search in timeline B. The byte values describe quantities reported for that breaker decision. Treat the limit as a value from this response and use the operator samples for the node’s measured heap over time.
{
"error": {
"type": "circuit_breaking_exception",
"reason": "[parent] Data too large, data for [<http_request>] would be [4260000000], which is larger than the limit of [4080000000]",
"bytes_wanted": 4260000000,
"bytes_limit": 4080000000
},
"status": 429
}
The client’s record of the POST /logs-app-2026.11.24/_search response ties the error to a refused search. To investigate what contributed to it, compare timestamps and safe correlation references with the importer’s records. For bulk calls, keep both the overall response status and any item-level failures you can see. A completed bulk request can contain failed items. Compare the last comparable search success, the first search failure and the bulk send and retry intervals. If the search failed during an import, include both workloads in the handoff so support can see them together.
Line up memory and workload evidence
Use a single UTC time axis. Put the client’s request start, response time and retries on it. Write the query’s event-time bounds next to the request, since those bounds describe which documents matched. Add the bulk sender’s active intervals, timestamped shard snapshots and any post-GC points supplied by the operator. Label each point with its source and scope, such as one panel, one importer, one index or one node. Leave gaps for missing observations. If client and importer clocks differ, record the known offset or mark the ordering as uncertain.
On your own stack, check Settings → Endpoints for the authentication mode before collecting the read-only snapshots you’re authorised to see. Hosted OpenSearch MCP can run the same read-only index and shard checks when the stack is an OpenSearch-version stack in Basic authentication mode and MCP is enabled on that stack. Record the path, UTC capture time and index scope alongside each response. The request shapes below use the illustrative host https://your-stack-id-es.logit.io. The matching cluster health and CAT indices responses below are short illustrative examples, labelled as such, not captures from a live stack. See the documented cluster and CAT APIs.
GET /_cluster/health
GET /_cat/indices?v&h=health,status,index,pri,rep,docs.count,store.size
GET /_cat/shards/logs-app-2026.11.24?v
This illustrative cluster health response is captured at 11:17 UTC in the example. It shows cluster-wide shard counts. It cannot show how those copies are split across indexes.
{
"cluster_name": "example-hosted-opensearch",
"status": "green",
"number_of_nodes": 3,
"active_primary_shards": 6,
"active_shards": 12,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 0
}
This illustrative /_cat/indices response is from the same time. Each index has three primaries and one replica, so six copies per index and 12 active copies across the two indexes.
health status index pri rep docs.count store.size
green open logs-app-2026.11.23 3 1 81200 11.4gb
green open logs-app-2026.11.24 3 1 84600 12.1gb
/_cluster/healthshows shard health and cluster-wide counts such asactive_primary_shards,active_shardsandunassigned_shards. In the example, the response is green at 11:17 UTC with 12 active shards in the cluster. Green describes shard allocation at capture time. A search can still be slow or fail. Use/_cat/indicesto see that those 12 copies sit on two indexes./_cat/indicesgives per-index counts and sizes. In the example, each index haspriof 3 andrepof 1, or three configured primaries with one replica each. Check the six individual copies of the target index and their current states in/_cat/shards/{index}when allocation matters. Keep cluster-wide totals and target-index counts labelled separately./_cluster/statsprovides a cluster-level summary, and/_cat/healthis a compact health view. Fields in/_cat/nodescan be limited on hosted stacks. Record the fields you received and the time you received them.
If you receive HTTP 401 or 403, check the authentication mode on the Endpoints page first. If the credentials are correct and the call still fails, the operation may be unavailable on your hosted stack. Record the endpoint path, status and UTC time as a gap and contact Logit.io support. See the managed stack limitations.
For a post-GC comparison, ask support whether it can supply time-aligned, per-node used-heap samples and collection markers for the incident and an earlier comparable window. The timelines below show used heap in MiB immediately after a marked collection, where those samples exist. A reading qualifies as immediately post-GC here because the operator marked it as such. Keep samples for each node together.
Timeline A. A spike that recovers. The three timelines are independent illustrative cases dated 24 November 2026. The shard counts shown are target-index copies from the recorded snapshots.
| UTC | Customer evidence | Operator evidence | Shard copies |
|---|---|---|---|
| 09:55 | Baseline snapshot | 1,536 MiB after old GC on lab-node-a | 6 |
| 10:06–10:09 | Importer sends bulk requests | See sample at 10:08 | — |
| 10:07:20 | Search starts with a 09:45–10:07 event-time filter. HTTP 200 in about 2 seconds. | — | — |
| 10:08 | — | 3,328 MiB before the marked old GC, then 1,536 MiB | — |
| 10:09:10 | Same fixed-window query returns HTTP 200 in 180 ms | — | — |
| 10:14 | Second shard snapshot | 2,816 MiB before the marked old GC, then 1,536 MiB | 6 |
The sampled node returned to baseline twice. Keep this trace for comparison with the next naturally occurring slow response for that query and window. A few cycles on one node leave the cause of the slow response and the behaviour of other nodes uncertain.
Timeline B. A higher floor that persists. The search and importer records overlap, and the operator series extends beyond the end of the bulk window.
| UTC | Customer evidence | Operator evidence | Shard copies |
|---|---|---|---|
| 10:46 | Comparable panel refresh returns HTTP 200 in 190 ms with a 15-minute event filter and two service buckets | 1,536 MiB after old GC on lab-node-b | 6 |
| 10:58 | Panel switches to 00:00–11:00 event time and 20 service buckets | — | — |
| 10:59–11:09 | Importer sends bulk requests | See sample at 11:03 | — |
| 11:02:20 | First visible 429 on the search with the parent breaker named | — | — |
| 11:03 | — | 3,328 MiB after old GC | — |
| 11:07:40 | Last observed search failure, HTTP 429 with [parent] named in the reason | — | — |
| 11:10 | Bulk send interval has ended | 3,328 MiB after old GC | — |
| 11:17 | Cluster health is green. /_cat/indices shows 12 active copies across two indexes | 3,328 MiB after old GC | 6 |
Three marked post-GC samples are above the same node’s earlier floor. Send support the redacted parent-breaker body and ask them to correlate the failed searches and concurrent indexing with per-node measurements through 11:17, including the receiving node and whether search recovered.
Timeline C. HTTP 429 with no named breaker. The client retained the status. Heap and GC samples are unavailable.
| UTC | Customer evidence | Operator evidence | Shard copies |
|---|---|---|---|
| 12:14 | Search over 12:00–12:10 event time returns HTTP 200 in 210 ms | Unavailable | 6 |
| 12:15–12:19 | Importer sends bulk requests | Unavailable | — |
| 12:16:05 | Same search returns 429. Client retains only the status. | Unavailable | — |
| 12:19:30 | Existing client record shows HTTP 200 for the same search | Unavailable | — |
Check existing client or intermediary logs for a body or correlation reference. If the original body is unavailable, capture a redacted response the next time the failure occurs naturally. Without a response body or heap samples, you cannot name the breaker or describe heap behaviour. Record the status and times, then capture a body if the failure happens again.
Narrow one query safely
Reduce the search to one example index with known fields. The two OpenSearch 2.19.0 bodies below both correspond to a read-only POST /logs-app-2026.11.24/_search. In the example rows, @timestamp is a date and service.name is a single-valued keyword. For an incident handoff, record the actual field types if you can see them. A missing field or a different mapping across the original search targets can change the result even when the request looks similar.
The wide search asks for up to 20 service buckets over eleven hours. The top-level "size": 0 suppresses document hits. The terms.size inside the aggregation controls how many buckets the response can show.
{
"size": 0,
"query": {
"range": {
"@timestamp": {
"gte": "2026-11-24T00:00:00Z",
"lt": "2026-11-24T11:00:00Z"
}
}
},
"aggs": {
"by_service": {
"terms": {
"field": "service.name",
"size": 20
}
}
}
}
The bounded search matches the successful 15-minute panel refresh at 10:46 in timeline B. In this example that window runs from 10:31:00 UTC up to, but not including, 10:46:00 UTC, and asks for up to two service buckets.
{
"size": 0,
"query": {
"range": {
"@timestamp": {
"gte": "2026-11-24T10:31:00Z",
"lt": "2026-11-24T10:46:00Z"
}
}
},
"aggs": {
"by_service": {
"terms": {
"field": "service.name",
"size": 2
}
}
}
}
The event rows below are illustrative sample events in logs-app-2026.11.24. They are the only events used for the counts that follow.
| UTC on 24 November 2026 | service.name | In 00:00–11:00 | In 10:31–10:46 |
|---|---|---|---|
| 01:12 | APP-C | Yes | No |
| 04:40 | APP-C | Yes | No |
| 08:05 | APP-C | Yes | No |
| 10:33 | APP-A | Yes | Yes |
| 10:35 | APP-B | Yes | Yes |
| 10:38 | APP-A | Yes | Yes |
| 10:40 | APP-C | Yes | Yes |
| 10:42 | APP-B | Yes | Yes |
| 10:44 | APP-A | Yes | Yes |
In the eleven-hour window APP-C has four events, APP-A has three and APP-B has two, so APP-C is first. In the 10:31–10:46 window APP-A has three events, APP-B has two and APP-C has one. A top-two terms aggregation therefore returns APP-A and APP-B, even though APP-C still has a matching event. An omitted service can still have matching events. These counts are illustrative example values and contain no OpenSearch timings or memory measurements. A terms aggregation with size: 2 is also approximate when the index has more than one shard; raise shard_size or confirm with a targeted filter if a missing bucket would change the decision.
To isolate a change, first apply the 15-minute window with the original bucket size. Then keep that window fixed and lower the bucket size. Check the service list and the order at each step. If the panel answers “which two services produced the most events in the 15-minute window?”, the bounded form fits that question. If it answers “did APP-C produce any events?”, keep a separate targeted check for APP-C or retain the bucket needed for the decision. Record which check you deferred and when the team needs its answer. A lower bucket size can hide a low-volume service that matters to the incident.
For any already recorded search response you compare with the example rows, check the effective time bounds and index scope, then look for timed_out and failed shards before using its counts as a baseline. A partial response can omit evidence. Compare operations that ask the same question before drawing conclusions from timing. In this example, narrowing is a check of the panel's intent against the sample events. The parent-breaker response and the elevated post-GC samples remain separate observations in the support packet.
Prepare the support packet
Give Logit.io support the shortest timeline that still preserves the order of events. Include the last comparable success, first and last recorded failures, and first confirmed recovery if you saw one. Include the OpenSearch engine version if known. Identify the affected operation and whether you saw the same symptom elsewhere. Describe the query change with the redacted index scope, fixed UTC event-time bounds, mapped field types and bucket sizes. Attach an illustrative example if support needs the request shape. Separate the observations from the reproduction scope.
Remove authentication headers, API keys, account identifiers, internal hostnames and raw event payloads from the attachment. Use consistent replacements so that support can follow one node or query across the timeline. Keep the response type, breaker label and numerical fields with their units. If the engine version, response body or required diagnostic is missing, say which source was checked and what it returned. Share any stack reference needed for correlation inside the authenticated support case.
Copy these fields into your case and fill them in using your redacted records.
Stack reference and OpenSearch engine version […]
Affected operation and impact […]
Last comparable success and client timing […]
First failure, last failure and confirmed recovery (UTC) […]
HTTP status, error type and redacted response […]
Query change, event-time bounds and reproduction scope […]
Bulk send and retry window, and any item errors […]
Health and target shard counts, with UTC capture times […]
Unavailable evidence and operator measurements requested […]
Redacted attachments […]
For illustrative timeline B, the handoff says one panel’s search failed at 11:02:20 UTC and again at 11:07:40 UTC with HTTP 429 and a parent breaker. The baseline refresh returned HTTP 200 in 190 ms before the range widened and the bucket size increased. Bulk sends overlap both failures. The two recorded target-index snapshots show six shard copies. The packet includes a post-GC series for one node and leaves the responding node, bulk item responses and successful recovery time open. The specific request is to correlate per-node heap and GC with search and bulk activity over that interval, where support has the measurements.
When a change in shard count or distribution appears in the evidence, include the target-index snapshots and point support to the relevant window. For interpretation of a shard layout, see OpenSearch shard sizing on Logit.io.
Persistent cluster settings can be restricted or overridden on Hosted OpenSearch. For a restricted diagnostic or a tuning request, attach the packet and ask Logit.io support to review it. See the managed stack limitations and support route.
Frequently asked questions
Heap use alone
If the operator supplied several comparable post-GC samples from the same node and a baseline, you can judge whether that node recovered during the window. A lone high reading leaves recovery unknown. When the available series misses collection boundaries or combines nodes, preserve what you can see and ask support for a more closely timed view.
HTTP 429 and the parent breaker
Use the error type and reason to identify the breaker or a rejected execution. A search client’s response can identify the operation that failed, and the importer’s timeline shows whether bulk activity was concurrent. If only the status is available, the reason remains unknown.
Measurements you can collect
Start with your search and importer records, plus the supported read-only cluster and CAT diagnostics your credentials can access. For missing per-node heap readings, GC timing or node-level attribution, ask Logit.io support whether it can supply the data for your incident window.
The free trial
Yes. The free trial includes every feature, including the OpenSearch API and Hosted OpenSearch MCP. You can use MCP for the same read-only index and shard checks described above. It requires an OpenSearch-version stack in Basic authentication mode, and an administrator enables it per stack. Hosted OpenSearch MCP is read-only and works with any MCP client that supports remote HTTPS and a custom Authorization header. See the Hosted OpenSearch MCP quickstart.
Next steps
Log the first visible failure in UTC, attach its redacted response, and put the query change, bulk window and shard snapshots on the same timeline. Where a missing measurement affects your next decision, mark the gap and ask Logit.io support for that measurement. If the evidence points to a restricted diagnostic or a tuning request, follow the managed stack limitations.
Unlock complete visibility with hosted ELK, Grafana, and Prometheus-backed Observability
