// troubleshooting guide · opensearch
OpenSearch Exceeded Maximum Shard Limit
- Status
- Workaround available
- platforms:
- Self-hosted, Amazon OpenSearch Service
- updated:
- November 15, 2026
- reports:
- 3
- Method
- how we research
RUNBOOK · opensearch/shard-limit-exceeded4 FIXES
// quick answer
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.
Most likely fix: Count what you have
How to fix it
// try these in order, the most common fix is first
FIX 1Count what you have
- 01GET _cat/shards?v | wc -l and GET _cat/allocation?v
Did this fix it?FIX 2Remove or consolidate
- 01Delete old indices with ISM
- 02Use the _shrink API to cut shard counts
- 03Reindex small indices together
Did this fix it?FIX 3Add capacity
- 01Add data nodes so shards per node drops
Did this fix it?FIX 4Temporary raise
- 01PUT _cluster/settings {"persistent":{"cluster.max_shards_per_node":1500}} and fix the root cause afterward
Did this fix it?
Symptoms
Creating an index fails with an error that the cluster would exceed the maximum number of shards.
Why it happens
- C-01Daily indices with default shard counts
- C-02Many tiny indices
- C-03Not enough data nodes for the shard count
// this guide also covers
- opensearch max shards per node
- opensearch exceeded maximum shard limit
- opensearch too many shards
Still not working?
If OpenSearch keeps failing, you're not alone. See every OpenSearch problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
Other OpenSearch errors
- OpenSearch Cluster Status Red
- OpenSearch Cluster Status Yellow
- OpenSearch Unassigned Shards
- OpenSearch High JVM Memory Pressure
- OpenSearch OutOfMemoryError and Circuit Breaker
- OpenSearch Index Read-Only: Disk Watermark and ClusterBlockException
- OpenSearch 429 Too Many Requests
- OpenSearch Docker Container Won't Start