// 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
Share

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

  1. FIX 1Count what you have

    1. 01GET _cat/shards?v | wc -l and GET _cat/allocation?v
    Did this fix it?
  2. FIX 2Remove or consolidate

    1. 01Delete old indices with ISM
    2. 02Use the _shrink API to cut shard counts
    3. 03Reindex small indices together
    Did this fix it?
  3. FIX 3Add capacity

    1. 01Add data nodes so shards per node drops
    Did this fix it?
  4. FIX 4Temporary raise

    1. 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 us

Watch OpenSearch Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All plan limits, paywalls & watermarks guides →

Other OpenSearch errors

All 11 OpenSearch errors and fixes →