Thousand of shards

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'

{
"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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/71037f8b-6283-44ac-a8e7-06dfa1461e2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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
web: www.campaignmonitor.com

On 26 August 2014 05:29, Casper Thrane 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'

{
"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.
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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624Z-jUCJ7-p1QfXfV9joS0OHZCoTYxMRFHuc5uqHxvtYtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.