increase-shard-limit.asciidoc 805 B

123456789101112131415161718
  1. [[increase-shard-limit]]
  2. == Total number of shards for an index on a single node exceeded
  3. Elasticsearch tries to take advantage of all the available resources by
  4. distributing data (index shards) among nodes in the cluster.
  5. Users might want to influence this data distribution by configuring the <<total-shards-per-node, index.routing.allocation.total_shards_per_node>>
  6. index setting to a custom value (for e.g. `1` in case of a highly trafficked index).
  7. Various configurations limiting how many shards an index can have located on one node
  8. can lead to shards being unassigned due to the cluster not having enough nodes to
  9. satisfy the index configuration.
  10. In order to fix this follow the next steps:
  11. include::{es-repo-dir}/tab-widgets/troubleshooting/data/total-shards-per-node-widget.asciidoc[]