OpenSearch Not Working? Common Errors & Fixes
The 11 OpenSearch problems users hit most often, why they happen, and the fixes that actually work — collected from user reports, forums, and official support docs.
OpenSearch Cluster Status Red
Workaround availableSelf-hosted, Amazon OpenSearch ServiceA 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.
OpenSearch Cluster Status Yellow
Workaround availableSelf-hosted, Amazon OpenSearch ServiceYellow 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.
OpenSearch Unassigned Shards
Workaround availableSelf-hosted, Amazon OpenSearch ServiceUse the allocation explain API to see why a shard cannot be placed. Typical causes are disk watermarks, node loss, allocation filters and shard limits.
OpenSearch High JVM Memory Pressure
OngoingSelf-hosted, Amazon OpenSearch ServiceKeep JVM memory pressure below about 80%. Reduce shard count, avoid aggregating on text fields, clear fielddata and scale nodes.
OpenSearch OutOfMemoryError and Circuit Breaker
OngoingSelf-hosted, Amazon OpenSearch ServiceA 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.
OpenSearch Exceeded Maximum Shard Limit
Workaround availableSelf-hosted, Amazon OpenSearch ServiceThe default is 1,000 shards per node. Add data nodes, shrink or delete indices, or raise cluster.max_shards_per_node as a stopgap.
OpenSearch Index Read-Only: Disk Watermark and ClusterBlockException
Workaround availableSelf-hosted, Amazon OpenSearch ServiceWhen 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.
OpenSearch 429 Too Many Requests
OngoingSelf-hosted, Amazon OpenSearch Service429s mean the cluster is rejecting work: queues are full, heap is exhausted or shards are skewed. Back off, rebalance and scale.
OpenSearch Docker Container Won't Start
Fixed in latest versionDocker, Linux, Windows (WSL), macOSSince 2.12 OpenSearch needs OPENSEARCH_INITIAL_ADMIN_PASSWORD with a strong value, and the host needs vm.max_map_count of at least 262144.
OpenSearch Dashboards Server Is Not Ready Yet
Workaround availableSelf-hosted, Docker, Amazon OpenSearch ServiceThis message means Dashboards cannot reach or authenticate to OpenSearch, or a saved-object migration is stuck. Check hosts, credentials, ports and cluster health.
How to Cancel Amazon OpenSearch Service
Workaround availableAWSOpenSearch itself is free; to stop charges delete the Amazon OpenSearch Service domain or Serverless collection. Reserved Instances cannot be canceled or refunded.
Problem not listed? See all OpenSearch complaints or compare OpenSearch alternatives.
// We build software. Any software.
Have an idea for an app? We'll build it.
We're a small team of developers who build custom software fast. Not just tools like OpenSearch: web and mobile apps, games, desktop software, AI tools, internal tools: whatever you have in mind. 50+ custom products built for clients so far, and we run our own products too: booking platforms, games, learning apps. See our work
- Web apps & SaaS
- Mobile apps (iOS & Android)
- Games
- Desktop software
- AI tools & automations
- Internal tools & dashboards
- Client portals & booking
- Your own version of any tool
- ✓ Free 15-min call to scope it
- ✓ Price agreed up front
- ✓ Your data, your code