# Thousand of shards

**URL:** <https://discuss.elastic.co/t/thousand-of-shards/19446>\
**Category:** Elasticsearch\
**Created:** [August 25, 2014, 7:29pm UTC](https://discuss.elastic.co/t/thousand-of-shards/19446 "2014-08-25T19:29:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casper\_Thrane](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casper_thrane/32/49777_2.png) [@Casper\_Thrane](https://discuss.elastic.co/u/Casper_Thrane)\
**Post date:** [August 25, 2014, 7:29pm UTC](https://discuss.elastic.co/t/thousand-of-shards/19446/1 "2014-08-25T19:29:20Z")

</div>

Hi!

I am new to ES, and the system we are using is setup by an external  
consultant. The cluster is very unstable. I have tried to run this:  
-bash-4.1$ curl -XGET '[http://localhost:9200/\_cluster/health?pretty=true](http://localhost:9200/_cluster/health?pretty=true)'

{  
"cluster\_name" : "elasticsearch",  
"status" : "green",  
"timed\_out" : false,  
"number\_of\_nodes" : 17,  
"number\_of\_data\_nodes" : 4,  
"active\_primary\_shards" : 6238,  
"active\_shards" : 12268,  
"relocating\_shards" : 2,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 0  
}

I have read a lot of places, that thousand of shards is a problem. Does the  
above say enough or should I get more data?

Br  
Casper

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/71037f8b-6283-44ac-a8e7-06dfa1461e2d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/71037f8b-6283-44ac-a8e7-06dfa1461e2d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 25, 2014, 9:40pm UTC](https://discuss.elastic.co/t/thousand-of-shards/19446/2 "2014-08-25T21:40:35Z")

</div>

That sort of shard count is ok on your cluster as you have 17 nodes 🙂

Can you give us more details on what sort of hardware you run on, your  
java, ES and OS versions and releases?

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 26 August 2014 05:29, Casper Thrane [casper.s.thrane@gmail.com](mailto:casper.s.thrane@gmail.com) wrote:

> Hi!
> 
> I am new to ES, and the system we are using is setup by an external  
> consultant. The cluster is very unstable. I have tried to run this:  
> -bash-4.1$ curl -XGET '[http://localhost:9200/\_cluster/health?pretty=true](http://localhost:9200/_cluster/health?pretty=true)'
> 
> {  
> "cluster\_name" : "elasticsearch",  
> "status" : "green",  
> "timed\_out" : false,  
> "number\_of\_nodes" : 17,  
> "number\_of\_data\_nodes" : 4,  
> "active\_primary\_shards" : 6238,  
> "active\_shards" : 12268,  
> "relocating\_shards" : 2,  
> "initializing\_shards" : 0,  
> "unassigned\_shards" : 0  
> }
> 
> I have read a lot of places, that thousand of shards is a problem. Does  
> the above say enough or should I get more data?
> 
> Br  
> Casper
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/71037f8b-6283-44ac-a8e7-06dfa1461e2d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/71037f8b-6283-44ac-a8e7-06dfa1461e2d%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/71037f8b-6283-44ac-a8e7-06dfa1461e2d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/71037f8b-6283-44ac-a8e7-06dfa1461e2d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624Z-jUCJ7-p1QfXfV9joS0OHZCoTYxMRFHuc5uqHxvtYtg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Z-jUCJ7-p1QfXfV9joS0OHZCoTYxMRFHuc5uqHxvtYtg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:06am UTC](https://discuss.elastic.co/t/thousand-of-shards/19446/3 "2017-07-06T01:06:36Z")

</div>


