# Collector \[cluster-stats-collector\] timed out when collecting data

**URL:** <https://discuss.elastic.co/t/collector-cluster-stats-collector-timed-out-when-collecting-data/80568>\
**Category:** Elasticsearch\
**Created:** [March 30, 2017, 1:14am UTC](https://discuss.elastic.co/t/collector-cluster-stats-collector-timed-out-when-collecting-data/80568 "2017-03-30T01:14:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wyukawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wyukawa/32/13336_2.png) [@wyukawa](https://discuss.elastic.co/u/wyukawa)\
**Post date:** [March 30, 2017, 1:14am UTC](https://discuss.elastic.co/t/collector-cluster-stats-collector-timed-out-when-collecting-data/80568/1 "2017-03-30T01:14:59Z")

</div>

Hi

I use Elasti Stack 5.3 with X-Pack Monitoring.  
I found the following error.

[2017-03-29T23:55:39,432][ERROR][o.e.x.m.c.c.ClusterStatsCollector] [some host] collector [cluster-stats-collector] timed out when collecting data

And there is the following log(GC duration is 8.9s) in another host at the same time.

17-03-29T23:55:39,577][INFO][o.e.m.j.JvmGcMonitorService] [another host] [gc][old][34106][148] duration [8.9s], collections [1]/[9.3s], total [8.9s]/[30.8s], memory [22.2gb]-\>[7.7gb]/[29.8gb], all\_pools {[young] [1.2gb]-\>[292.8mb]/[1.4gb]}{[survivor] [113.1mb]-\>[0b]/[191.3mb]}{[old] [20.8gb]-\>[7.5gb]/[28.1gb]}

How do I avoid this error?

I checked [https://www.elastic.co/guide/en/x-pack/5.2/monitoring-settings.html#monitoring-collection-settings](https://www.elastic.co/guide/en/x-pack/5.2/monitoring-settings.html#monitoring-collection-settings) and confirmed xpack.monitoring.collection.cluster.stats.timeout is 10m in default.

So, it's weird because 10m is more than 8.9s

---

<div class="post-metadata">

**Author:** ![shin0higuchi](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@shin0higuchi](https://discuss.elastic.co/u/shin0higuchi)\
**Post date:** [April 25, 2017, 1:01am UTC](https://discuss.elastic.co/t/collector-cluster-stats-collector-timed-out-when-collecting-data/80568/2 "2017-04-25T01:01:23Z")

</div>

same problem occured in elasticsearch-5.2.2

---

<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:** [May 23, 2017, 1:12am UTC](https://discuss.elastic.co/t/collector-cluster-stats-collector-timed-out-when-collecting-data/80568/3 "2017-05-23T01:12:06Z")

</div>

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