Max_nodes: 1000

So i started to add authentication in my POC instance. I ran this "elasticsearch-setup-passwords interactive" and followed the prompt, till it exited with:

Unexpected response code [400] from calling PUT
Cause: Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1259]/[1000] maximum shards open;

is 1000 the max open shards under "Basic License"? GET /_license says max_nodes:1000
when it says nodes, i thought it really means "node" not "shard".

Hi @SirJune

No that is just a soft limit as defined here it can be changed

This limit is intended as a safety net, not a sizing recommendation. The exact number of shards your cluster can safely support depends on your hardware configuration and workload, but should remain well below this limit in almost all cases, as the default limit is set quite high.

You might also want to take a look at this blog on shard sizes etc

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.