how to display the maximum number of shards allowed per node?
You can check the maximum number of shards allowed per node by running the following command:
Ok I got -1 it means unlimited?
If correct then why I see in _cat/allocation no more than 1000 shards per node?
The limit is 1000 shards per node. You can override this, but that is generally a bad idea. You would just be postponing the issue and may end up in a situation where the issue can no longer be corrected, resulting in an inoperable cluster and data loss. If you are hitting this limit I would recommend you instead read this blog post and this guide. In order to properly address this issue you can follow this guide.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.