# Loading cluster information is taking too long

**URL:** <https://discuss.elastic.co/t/loading-cluster-information-is-taking-too-long/108911>\
**Category:** Elasticsearch\
**Created:** [November 23, 2017, 3:11pm UTC](https://discuss.elastic.co/t/loading-cluster-information-is-taking-too-long/108911 "2017-11-23T15:11:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wedney\_Yuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wedney_yuri/32/22706_2.png) [@Wedney\_Yuri](https://discuss.elastic.co/u/Wedney_Yuri)\
**Post date:** [November 23, 2017, 3:11pm UTC](https://discuss.elastic.co/t/loading-cluster-information-is-taking-too-long/108911/1 "2017-11-23T15:11:36Z")

</div>

Hi guys,

we are experiencing nodes lefting and joining the cluster intermittently and sometimes our elasticsearch cluster is taking too long to load the following pages (required by kopf):

```
/_stats/docs,store
/_nodes/stats/jvm,fs,os,process
/_nodes/_all/os,jvm

```

I was suspecting about master nodes working under heavy load but it's seems not the case (the cpu utilization is under 10% and the network usage is low):

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/c/ac02f940e4e6a4d97d439e69c139e7814e472a12.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6e4e3509233d577fc003ac1b28704384a0902eff.png)

We are running 3 master nodes (m3.medium) and 16 data nodes (c4.4xlarge). Do you have any clues about what is causing this behavior?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 23, 2017, 3:14pm UTC](https://discuss.elastic.co/t/loading-cluster-information-is-taking-too-long/108911/2 "2017-11-23T15:14:01Z")

</div>

All those stats seem to need to gather information from all the nodes in the cluster. What does CPU and GC look like on the non-master nodes?

---

<div class="post-metadata">

**Author:** ![Wedney\_Yuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wedney_yuri/32/22706_2.png) [@Wedney\_Yuri](https://discuss.elastic.co/u/Wedney_Yuri)\
**Post date:** [November 23, 2017, 3:40pm UTC](https://discuss.elastic.co/t/loading-cluster-information-is-taking-too-long/108911/3 "2017-11-23T15:40:44Z")

</div>

Thanks for your fast reply, the output from `/_nodes/stats/jvm` is here (some fields removed for brevity): [https://gist.github.com/wedneyyuri/233af79d4082fa053245604499b22c96](https://gist.github.com/wedneyyuri/233af79d4082fa053245604499b22c96)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6de0b9e7ca06696a9a0705a28cc8254e1c7c726a.jpg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b2d2dafc25597cd3d48d94dc56608df0f6c7dc5e.jpg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/3/73ec84d730e57ae6789d22e60989318f2ee06758.png)

---

<div class="post-metadata">

**Author:** ![Wedney\_Yuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wedney_yuri/32/22706_2.png) [@Wedney\_Yuri](https://discuss.elastic.co/u/Wedney_Yuri)\
**Post date:** [November 23, 2017, 4:10pm UTC](https://discuss.elastic.co/t/loading-cluster-information-is-taking-too-long/108911/4 "2017-11-23T16:10:10Z")

</div>

I'm running Elasticsearch 2.4 on Ubuntu 16. The configuration is:

```
cluster.routing.allocation.awareness.attributes: aws_availability_zone

plugin.mandatory: cloud-aws

bootstrap.mlockall: true

transport.tcp.compress: true

indices.queries.cache.size: 30%
indices.requests.cache.size: 20%
indices.memory.index_buffer_size: 20%
index.requests.cache.enable: true
index.unassigned.node_left.delayed_timeout: 2m
index.refresh_interval: 10m

action.get.realtime: false

cloud.node.auto_attributes: true

discovery:
  type: ec2
  ec2:
    ping_timeout: 30s
    tag.cluster: ${CLUSTER_NAME}
    host_type: private_dns

discovery.zen:
  minimum_master_nodes: ${SPLIT_BRAIN_NODES}
  ping_timeout: 30s
  ping:
    multicast.enabled: false
    unicast.hosts: []

script.engine.groovy.inline.search: on
script.inline: on

index.similarity.default.type: BM25
```

---

<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:** [December 21, 2017, 4:10pm UTC](https://discuss.elastic.co/t/loading-cluster-information-is-taking-too-long/108911/5 "2017-12-21T16:10:10Z")

</div>

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