# Max\_nodes: 1000

**URL:** <https://discuss.elastic.co/t/max-nodes-1000/199722>\
**Category:** Elasticsearch\
**Created:** [September 16, 2019, 8:11pm UTC](https://discuss.elastic.co/t/max-nodes-1000/199722 "2019-09-16T20:11:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SirJune](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sirjune/32/55205_2.png) [@SirJune](https://discuss.elastic.co/u/SirJune)\
**Post date:** [September 16, 2019, 8:11pm UTC](https://discuss.elastic.co/t/max-nodes-1000/199722/1 "2019-09-16T20:11:24Z")

</div>

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 [http://192.168.41.195:9200/\_security/user/apm\_system/\_password?pretty](http://192.168.41.195:9200/_security/user/apm_system/_password?pretty)  
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".

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 16, 2019, 8:32pm UTC](https://discuss.elastic.co/t/max-nodes-1000/199722/2 "2019-09-16T20:32:52Z")

</div>

Hi @SirJune

No that is just a soft limit as defined [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/misc-cluster.html#cluster-shard-limit) 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](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster) on shard sizes etc

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 14, 2019, 8:32pm UTC](https://discuss.elastic.co/t/max-nodes-1000/199722/3 "2019-10-14T20:32:56Z")

</div>

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