# OpenSearch Problems & Issues 2026 - Red Cluster, Heap & Shards

Source: https://www.tryorbye.com/products/opensearch
Last analyzed: 2026-11-15
Try or Bye score: 63/100

## Verdict: Try with caution

OpenSearch works for some teams, but users report recurring problems (score 63/100). Most reported issues: OpenSearch cluster status red or yellow; JVM memory pressure and OutOfMemory crashes; Disk watermark makes indices read-only. Not a good fit for: Startups needing simple site search; Teams without anyone who knows JVM/shard tuning. Users most often switch to Elasticsearch, Typesense, Meilisearch.

## What it is

OpenSearch is an open-source distributed search, log analytics and vector search engine, forked from Elasticsearch 7.10.2 and Kibana in 2021 and now governed by the OpenSearch Software Foundation under the Linux Foundation. You can self-host it for free or pay AWS for Amazon OpenSearch Service. It suits teams that want Elasticsearch-style power under a permissive license, but it inherits the same operational complexity around shards, heap and cluster health.

## Common errors & fixes

### OpenSearch 429 Too Many Requests

429s mean the cluster is rejecting work: queues are full, heap is exhausted or shards are skewed. Back off, rebalance and scale.

1. **Retry correctly** — Use client-side exponential backoff with jitter Reduce bulk size or concurrency
2. **Check for skew** — GET _cat/allocation?v and compare shards and disk.indices across nodes Use shard counts that are multiples of the data node count
3. **Find heavy searches** — Review slow logs and search backpressure reasons
4. **Scale** — Add nodes or move to larger instances

Full guide: https://www.tryorbye.com/products/opensearch/issues/429-too-many-requests

### How to Cancel Amazon OpenSearch Service

OpenSearch itself is free; to stop charges delete the Amazon OpenSearch Service domain or Serverless collection. Reserved Instances cannot be canceled or refunded.

1. **Export data first** — Take a manual snapshot to S3 if you may need the data (automated snapshots are kept 14 days)
2. **Delete a provisioned domain** — AWS Console > Amazon OpenSearch Service > Domains > select domain > Delete Confirm by typing the domain name
3. **Delete Serverless resources** — Console > OpenSearch Serverless > Collections > delete collections, then policies
4. **Check leftover charges** — Review Reserved Instances (non-cancelable, no refunds per AWS pricing page) Delete S3 snapshots and check Billing for data transfer and CloudWatch

Full guide: https://www.tryorbye.com/products/opensearch/issues/cancel

### OpenSearch Cluster Status Red

A red cluster means at least one primary shard is unassigned. Find the index with _cat/indices and _cluster/allocation/explain, fix the cause (dead node, full disk, memory), and only delete the index as a last resort.

1. **Find the red index** — Run GET _cluster/health?pretty Run GET _cat/indices?v&health=red Run GET _cluster/allocation/explain to see why the first unassigned shard cannot be placed
2. **Fix the underlying cause** — Bring failed nodes back or add nodes Free disk space or add storage if watermarks are hit Check JVM memory pressure and CPU, then scale or reduce load
3. **Retry allocation** — Run POST _cluster/reroute?retry_failed=true Confirm allocation is enabled: GET _cluster/settings
4. **Restore or delete as last resort** — Restore the index from a snapshot On Amazon's service deleting the red index is the quickest route but loses its data; do it only if you can recreate it Fix red status before reconfiguring a managed domain, otherwise it can stick in Processing

Full guide: https://www.tryorbye.com/products/opensearch/issues/cluster-status-red

### OpenSearch Cluster Status Yellow

Yellow means all primaries are assigned but at least one replica is not. A single node is always yellow; on multiple nodes check disk space and replica counts.

1. **Check why replicas are unassigned** — GET _cat/shards?v and look for UNASSIGNED rows with prirep r GET _cluster/allocation/explain
2. **Single-node cluster** — Add a second node, or Set replicas to 0 for dev: PUT my-index/_settings {"index":{"number_of_replicas":0}}
3. **Free disk space** — GET _cat/allocation?v to see disk usage per node Delete old indices or add storage
4. **Wait if it is transient** — After a restart or new index the cluster often self-heals as replicas copy

Full guide: https://www.tryorbye.com/products/opensearch/issues/cluster-status-yellow

### OpenSearch Dashboards Server Is Not Ready Yet

This message means Dashboards cannot reach or authenticate to OpenSearch, or a saved-object migration is stuck. Check hosts, credentials, ports and cluster health.

1. **Verify the cluster** — curl -k -u admin:<password> https://localhost:9200 and check GET _cluster/health
2. **Fix opensearch.dashboards.yml** — Set opensearch.hosts to the correct https URL Set opensearch.username and opensearch.password Restart Dashboards
3. **Check network** — Open port 9200 between Dashboards and nodes; in Docker use the service name, not localhost
4. **Check migration** — Review Dashboards logs for stuck saved-object migration; on Amazon's service see its Dashboards troubleshooting page

Full guide: https://www.tryorbye.com/products/opensearch/issues/dashboards-server-not-ready

### OpenSearch Docker Container Won't Start

Since 2.12 OpenSearch needs OPENSEARCH_INITIAL_ADMIN_PASSWORD with a strong value, and the host needs vm.max_map_count of at least 262144.

1. **Set a strong admin password** — Export OPENSEARCH_INITIAL_ADMIN_PASSWORD or put it in a .env next to docker-compose.yml Use 8+ characters with upper, lower, number and special character
2. **Raise vm.max_map_count** — Linux: sudo sysctl -w vm.max_map_count=262144 and persist in /etc/sysctl.conf Docker Desktop: set it inside the Docker VM or WSL docker-desktop distro, not in the container
3. **Read the logs** — docker logs <container> will show which check failed

Full guide: https://www.tryorbye.com/products/opensearch/issues/docker-wont-start

### OpenSearch High JVM Memory Pressure

Keep JVM memory pressure below about 80%. Reduce shard count, avoid aggregating on text fields, clear fielddata and scale nodes.

1. **Reduce shard overhead** — Delete or merge old indices Use shrink or reindex into fewer shards Use ISM policies to remove unused indexes
2. **Clear fielddata** — POST my-index/_cache/clear?fielddata=true (can disrupt running queries)
3. **Fix mappings and queries** — Aggregate on keyword fields, not text Avoid leading wildcards and huge date ranges
4. **Scale** — Add data nodes or use a larger instance type Keep max heap at 32 GB or less per node

Full guide: https://www.tryorbye.com/products/opensearch/issues/high-jvm-memory-pressure

### OpenSearch Index Read-Only: Disk Watermark and ClusterBlockException

When a node passes the flood-stage disk watermark, indices become read-only. Free space first, then clear the block with read_only_allow_delete set to null.

1. **Free disk space** — GET _cat/allocation?v&s=disk.percent:desc Delete old indices or add storage/nodes
2. **Clear the block** — PUT _all/_settings {"index.blocks.read_only_allow_delete": null} Some sources report the block clears itself on newer versions; verify with GET my-index/_settings
3. **Prevent recurrence** — Create alerts on free storage Use ISM to delete or roll over old indices
4. **Do not just raise the watermark** — Setting flood-stage to 99% or disabling thresholds only hides the problem

Full guide: https://www.tryorbye.com/products/opensearch/issues/index-read-only-disk-watermark

### OpenSearch OutOfMemoryError and Circuit Breaker

A JVM OutOfMemoryError usually means a circuit breaker was hit. Find the heavy query or mapping, then reduce load or scale; raise breaker limits only with care.

1. **Identify the breaker** — GET _nodes/stats/breaker GET _nodes/stats/jvm?pretty
2. **Lower memory demand** — Simplify aggregations Reduce bucket sizes Fix mapping explosions and fielddata on text
3. **Adjust settings carefully** — Tune indices.breaker.request.limit or indices.breaker.fielddata.limit only if the workload needs it Prefer adding memory over raising limits
4. **Scale out** — Add nodes or increase instance size so heap is under 32 GB per node

Full guide: https://www.tryorbye.com/products/opensearch/issues/out-of-memory-circuit-breaker

### OpenSearch Exceeded Maximum Shard Limit

The default is 1,000 shards per node. Add data nodes, shrink or delete indices, or raise cluster.max_shards_per_node as a stopgap.

1. **Count what you have** — GET _cat/shards?v | wc -l and GET _cat/allocation?v
2. **Remove or consolidate** — Delete old indices with ISM Use the _shrink API to cut shard counts Reindex small indices together
3. **Add capacity** — Add data nodes so shards per node drops
4. **Temporary raise** — PUT _cluster/settings {"persistent":{"cluster.max_shards_per_node":1500}} and fix the root cause afterward

Full guide: https://www.tryorbye.com/products/opensearch/issues/shard-limit-exceeded

### OpenSearch Unassigned Shards

Use the allocation explain API to see why a shard cannot be placed. Typical causes are disk watermarks, node loss, allocation filters and shard limits.

1. **Diagnose** — GET _cat/shards?v&h=index,shard,prirep,state,unassigned.reason GET _cluster/allocation/explain?pretty
2. **Retry failed allocations** — POST _cluster/reroute?retry_failed=true
3. **Unblock allocation** — Check cluster.routing.allocation.enable and exclude/require filters in GET _cluster/settings Raise or free disk below the low watermark
4. **Do not delete shards blindly** — Fix the cause so the cluster reassigns by itself; delete an index only when you can recreate it

Full guide: https://www.tryorbye.com/products/opensearch/issues/unassigned-shards

## Common problems

- **OpenSearch cluster status red or yellow** (reliability): Red means a primary shard is unassigned; yellow means a replica is. AWS docs list failed nodes and sustained heavy load as the most common causes, and single-node clusters are always yellow. A frequent first fear for new operators.
- **JVM memory pressure and OutOfMemory crashes** (performance): AWS documents that heap above about 80% is risky, and at 92% for 30 minutes the managed service blocks writes. Too many shards, fielddata on text fields and heavy aggregations are the usual triggers.
- **Disk watermark makes indices read-only** (reliability): When disk fills past the flood-stage watermark indices get a read-only-allow-delete block, writes fail with ClusterBlockException, and users report having to clear the block manually after freeing space.
- **Too many shards: shard limit exceeded** (performance): Default limit is 1,000 shards per node; creating an index fails past it. Teams that create daily indices with default shard counts hit this and pay in heap overhead long before.
- **429 Too Many Requests and rejected bulk indexing** (performance): Thread pool queues fill, or on Amazon's service payloads that would exceed heap are throttled. Shows up as 429 errors on bulk indexing and search, often on only some nodes when shards are skewed.
- **Amazon OpenSearch Service gets expensive** (pricing): AWS pricing example: three r6g.xlarge data nodes plus three dedicated manager nodes already cost over $1,000 a month before storage. Extended Support fees, data transfer and Serverless OCUs add on top.
- **Docker/quickstart fails: admin password and vm.max_map_count** (onboarding): Since 2.12 the demo security setup refuses to start without a strong OPENSEARCH_INITIAL_ADMIN_PASSWORD, and hosts with vm.max_map_count below 262144 fail bootstrap checks. Common forum threads for first-time installs.
- **OpenSearch Dashboards 'server is not ready yet'** (usability): One of the most-posted forum errors: Dashboards cannot reach or authenticate to the cluster (wrong hosts or https, blocked port 9200, red cluster, or a stuck saved-object migration).
- **Upgrades and Elasticsearch migrations are not drop-in** (usability): Snapshots from Elasticsearch work smoothly only up to roughly 7.10.x; later versions have diverged, ILM and ISM differ, and in-place managed upgrades cannot be undone without support help.
- **Elastic clients and Beats refuse to connect** (integrations): Default Logstash and Beats distributions include license checks and fail against OpenSearch. You must use Apache 2.0 builds or OpenSearch-compatible clients, a surprise for teams copying Elastic tutorials.
- **Slow indexing and merge pressure without tuning** (performance): Third-party guides warn that default merge and thread pool settings can limit indexing throughput and heap under high concurrency, requiring refresh interval and bulk size tuning.
- **Managed service limits: no SSH, no opensearch.yml** (usability): On Amazon OpenSearch Service you cannot SSH to nodes or edit config files; only some settings are exposed, and limits like search.max_buckets need a support case.
- **Custom plugins break on every version** (integrations): Plugins must match the exact OpenSearch version, so each upgrade needs a rebuild; installation fails with a plugin validation error on mismatch.

## What users like

- **Permissive Apache 2.0 license**: Free to self-host with no usage caps and governed by a foundation, avoiding the SSPL/AGPL debate.
- **Security features included**: Access control, encryption and audit logging ship in the open-source distribution rather than a paid tier.
- **Strong search, analytics and vector support**: Full-text search, log analytics, aggregations and k-NN vector search in one engine.
- **Managed option on AWS**: Amazon OpenSearch Service, with snapshots, multi-AZ and Serverless, removes much cluster babysitting.
- **Large ecosystem**: Works with Logstash-compatible pipelines, Data Prepper, Fluent Bit and many SIEM/observability products that embed it.

## Pricing

- **Self-hosted (open source)**: $0.00 (free) — hidden costs: Servers, storage, backups and engineer time to run it; shard and heap tuning is on you
- **Amazon OpenSearch Service (provisioned, example 3x r6g.xlarge data nodes)**: $733.65 (monthly) — hidden costs: Dedicated manager nodes (about $247/month in the AWS example), EBS, UltraWarm storage, data transfer, Extended Support fees on old versions, non-refundable Reserved Instances
- **Amazon OpenSearch Serverless (per OCU-hour)**: $0.24 (usage_based) — hidden costs: Classic collections have a 2 OCU minimum for the first collection; add-ons (ingestion, semantic search, direct query) have separate OCU charges

## Who should and shouldn't use it

- **Teams self-hosting logs and observability** — Good fit: Free license with security and dashboards included; fits ISM-managed log retention.
- **AWS-centric engineering teams** — Good fit: Managed service integrates with IAM, VPC and CloudWatch.
- **Companies avoiding SSPL/AGPL licensing** — Good fit: Apache 2.0 with foundation governance.
- **Startups needing simple site search** — Avoid: Cluster operations are overkill; Typesense or Meilisearch are lighter.
- **Teams without anyone who knows JVM/shard tuning** — Avoid: Red status, heap pressure and shard limits will hit sooner or later.
- **Heavy Elastic stack users (Beats, Elastic APM, ILM)** — Depends: Compatibility gaps and different APIs mean extra migration work.
- **Cost-sensitive small projects on AWS** — Depends: Multi-node managed domains cost four figures a month; a single self-hosted node is cheaper but yellow.
- **Vector/semantic search builders** — Depends: k-NN built in, but purpose-built vector DBs may be simpler at scale.

## Alternatives

- **Elasticsearch** (https://www.tryorbye.com/products/elasticsearch): The original; broader first-party tooling and Elastic Cloud, but license history (SSPL then AGPL option) and paid features
- **Typesense** (https://www.tryorbye.com/products/typesense): Far simpler for app/site search with typo tolerance out of the box; not a log analytics engine
- **Meilisearch** (https://www.tryorbye.com/products/meilisearch): Easy relevance and instant search for products and docs; less suited to huge log volumes
- **Algolia** (https://www.tryorbye.com/products/algolia): Hosted search with no cluster to run; costs scale with requests and records
- **ClickHouse**: Often cheaper and faster for log and analytics workloads; weak at relevance-ranked text search

## FAQ

### Is OpenSearch worth it?

Yes if you need Elasticsearch-style search or log analytics under an Apache 2.0 license and have someone to manage shards, heap and disk. For simple site search a lighter engine is usually a better fit.

### Is OpenSearch free?

The software is free and open source under Apache 2.0. You pay for the servers you run it on, or for Amazon OpenSearch Service if you use the managed version.

### Why is my OpenSearch cluster red?

At least one primary shard is unassigned. Common causes are failed nodes, full disks and memory pressure. Use GET _cluster/allocation/explain and GET _cat/indices?v to find the index, then fix the cause.

### Why is my OpenSearch cluster yellow?

All primaries are assigned but a replica is not. A single-node cluster with replicas configured is always yellow; on multi-node clusters it can be transient or caused by low disk space.

### What is the OpenSearch shard limit?

The default cluster.max_shards_per_node is 1,000. Add nodes, raise the setting carefully, or shrink and delete old indices.

### How much heap should OpenSearch use?

AWS advises keeping JVM memory pressure under about 80% and a maximum heap of 32 GB per node. On managed domains, write blocks trigger at 92% for 30 minutes.

### OpenSearch vs Elasticsearch: which has fewer problems?

They share most operational problems because of common ancestry. OpenSearch has a permissive license and bundled security; Elasticsearch has more recent first-party features. Check client, Beats and ILM compatibility before switching.

### How much does Amazon OpenSearch Service cost?

It depends on nodes and storage. AWS's own example of three r6g.xlarge data nodes, three manager nodes and two UltraWarm nodes totals about $1,329 per month for instances alone, plus storage and data transfer.

### Why does OpenSearch Docker fail to start?

Usually a missing or weak OPENSEARCH_INITIAL_ADMIN_PASSWORD (required since 2.12) or vm.max_map_count below 262144 on the host.

### Can I migrate from Elasticsearch to OpenSearch?

Snapshot restore works smoothly for Elasticsearch up to about 7.10.x; newer versions need reindexing and ILM policies must be rewritten as ISM.

### Why do I get 429 Too Many Requests in OpenSearch?

The cluster is rejecting work because queues or heap are full. Slow down bulk sends with retries and backoff, fix shard skew and scale up.

### Why is OpenSearch Dashboards not ready?

Dashboards cannot connect to the cluster. Check opensearch.hosts (https), credentials, port 9200 and cluster health, and read the Dashboards log.

### Who owns OpenSearch?

It is governed by the OpenSearch Software Foundation under the Linux Foundation; AWS runs the managed Amazon OpenSearch Service.

---
Try or Bye aggregates problem patterns from user reviews, forums, and app stores. Methodology: https://www.tryorbye.com/methodology