Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/health/health.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ watermark threshold>>.
The `invocations_since_last_success` key will report a map where the unhealthy policy
name is the key and it's corresponding number of failed invocations is the value.

[[health-api-response-details-shards-usage]]
[[health-api-response-details-shards-capacity]]
===== shards_capacity
`data`::
(map) A view with information about the current capacity of shards for data nodes that do not belong to the frozen tier.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@

[discrete]
=== Cluster is close to reaching the configured maximum number of shards for data nodes.

The <<cluster-max-shards-per-node,`cluster.max_shards_per_node`>> cluster
setting limits the maximum number of open shards for a cluster, only counting data nodes
that do not belong to the frozen tier.

This symptom indicates that action should be taken, otherwise, either the creation of new
indices or upgrading the cluster could be blocked.

If you're confident your changes won't destabilize the cluster, you can
temporarily increase the limit using the <<cluster-update-settings,cluster update settings API>>:

++++
<div class="tabs" data-tab-group="host">
<div role="tablist" aria-label="Troubleshoot shards capacity for non-frozen nodes">
<button role="tab"
aria-selected="true"
aria-controls="cloud-tab-shards-capacity-non-frozen"
id="cloud-shards-capacity-non-frozen">
Elasticsearch Service
</button>
<button role="tab"
aria-selected="false"
aria-controls="self-managed-tab-shards-capacity-non-frozen"
id="self-managed-shards-capacity-non-frozen"
tabindex="-1">
Self-managed
</button>
</div>
<div tabindex="0"
role="tabpanel"
id="cloud-tab-shards-capacity-non-frozen"
aria-labelledby="cloud-shards-capacity-non-frozen">
++++

include::troubleshooting-shards-capacity.asciidoc[tag=non-frozen-nodes-cloud]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="self-managed-tab-shards-capacity-non-frozen"
aria-labelledby="self-managed-shards-capacity-non-frozen"
hidden="">
++++

include::troubleshooting-shards-capacity.asciidoc[tag=non-frozen-nodes-self-managed]

++++
</div>
</div>
++++

[discrete]
=== Cluster is close to reaching the configured maximum number of shards for frozen nodes.

The <<cluster-max-shards-per-node-frozen,`cluster.max_shards_per_node.frozen`>> cluster
setting limits the maximum number of open shards for a cluster, only counting data nodes
that belong to the frozen tier.

This symptom indicates that action should be taken, otherwise, either the creation of new
indices or upgrading the cluster could be blocked.

If you're confident your changes won't destabilize the cluster, you can
temporarily increase the limit using the <<cluster-update-settings,cluster update settings API>>:

++++
<div class="tabs" data-tab-group="host">
<div role="tablist" aria-label="Troubleshoot shards capacity for frozen nodes">
<button role="tab"
aria-selected="true"
aria-controls="cloud-tab-shards-capacity-frozen"
id="cloud-shards-capacity">
Elasticsearch Service
</button>
<button role="tab"
aria-selected="false"
aria-controls="self-managed-tab-shards-capacity-frozen"
id="self-managed-shards-capacity-frozen"
tabindex="-1">
Self-managed
</button>
</div>
<div tabindex="0"
role="tabpanel"
id="cloud-tab-shards-capacity-frozen"
aria-labelledby="cloud-shards-capacity-frozen">
++++

include::troubleshooting-shards-capacity.asciidoc[tag=frozen-nodes-cloud]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="self-managed-tab-shards-capacity-frozen"
aria-labelledby="self-managed-shards-capacity-frozen"
hidden="">
++++

include::troubleshooting-shards-capacity.asciidoc[tag=frozen-nodes-self-managed]

++++
</div>
</div>
++++
Loading