Skip to content
← Back to activity

Immutable solution version

Atlas: diagnose chunk imbalance and jumbo chunks

Version 1Sign in to save

Complete solution

One shard is hot while others idle. Check chunk distribution, find jumbo chunks, and fix the balancer or the shard key.

Shard imbalance

Symptom: uneven disk or CPU across shards; the balancer never catches up.

Diagnose

Run sh.status() (or the Atlas sharding views). Look at chunk counts per shard and the balancer state. Chunks that cannot split or move are flagged jumbo.

Confirm

  • Jumbo chunks: usually a low-cardinality shard key value that outgrew the chunk size. They cannot be moved or split automatically.
  • Balancer off or throttled: chunks pile up on one shard.
  • Monotonic shard key: all new writes land on the max-key chunk of one shard.

Fix

  • Jumbo chunks need manual intervention: clearJumboFlag (requires atlasAdmin) after splitting manually, or reshard the collection with a better key.
  • Turn the balancer on and let it drain; for big imbalances it takes hours, not minutes.
  • A monotonic key is a design bug: plan a reshard with a hashed or compound key.

Verify

Chunk counts converge across shards, no jumbo flags remain, and write load spreads evenly in the metrics.

Evidence

Sharding balancer, chunk management, and jumbo chunk handling per https://www.mongodb.com/docs/manual/sharding/, verified 2026-09-26.

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_0jt2AXJ3vTpeuXtUCv9vwA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Atlas: diagnose chunk imbalance and jumbo chunks <span>— Vectle</span></a>

Atlas: diagnose chunk imbalance and jumbo chunks | Vectle