# Indice Stats Collector Crashing

**URL:** <https://discuss.elastic.co/t/indice-stats-collector-crashing/79332>\
**Category:** Elasticsearch\
**Created:** [March 21, 2017, 12:53am UTC](https://discuss.elastic.co/t/indice-stats-collector-crashing/79332 "2017-03-21T00:53:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dashwood](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@dashwood](https://discuss.elastic.co/u/dashwood)\
**Post date:** [March 21, 2017, 12:53am UTC](https://discuss.elastic.co/t/indice-stats-collector-crashing/79332/1 "2017-03-21T00:53:33Z")

</div>

Hi,

We are currently mass importing data with the PHP client using bulk indexing. However, we recently ran into a problem where the indice count would crash mid import and we had no clue how many records were being processed. At first the record count seems kind of slow than it just crashes.

How would we avoid something like this? This has happened 3 times, I've restarted Elasticsearch many times.

Thank You

```
[2017-03-21T01:05:20,128][ERROR][o.e.x.m.c.i.IndicesStatsCollector] [Master] collector [indices-stats-collector] timed out when collecting data
[2017-03-21T01:07:12,752][ERROR][o.e.x.m.c.i.IndicesStatsCollector] [Master] collector [indices-stats-collector] timed out when collecting data
[2017-03-21T01:09:44,111][ERROR][o.e.x.m.c.i.IndicesStatsCollector] [Master] collector [indices-stats-collector] timed out when collecting data
[2017-03-21T01:11:41,026][ERROR][o.e.x.m.c.i.IndicesStatsCollector] [Master] collector [indices-stats-collector] timed out when collecting data
[2017-03-21T01:20:25,053][ERROR][o.e.x.m.c.i.IndicesStatsCollector] [Master] collector [indices-stats-collector] timed out when collecting data
[2017-03-21T01:21:07,991][ERROR][o.e.x.m.c.i.IndicesStatsCollector] [Master] collector [indices-stats-collector] timed out when collecting data
[2017-03-21T01:31:05,625][ERROR][o.e.x.m.c.i.IndicesStatsCollector] [Master] collector [indices-stats-collector] timed out when collecting data
```

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [March 24, 2017, 8:06am UTC](https://discuss.elastic.co/t/indice-stats-collector-crashing/79332/2 "2017-03-24T08:06:48Z")

</div>

Hi,

How many indices and shards do you have?

---

<div class="post-metadata">

**Author:** ![dashwood](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@dashwood](https://discuss.elastic.co/u/dashwood)\
**Post date:** [March 25, 2017, 3:38am UTC](https://discuss.elastic.co/t/indice-stats-collector-crashing/79332/3 "2017-03-25T03:38:47Z")

</div>

We have 1 indice and 1 shard, we were doing heavy bulk importing. It's not crashing anymore. However, we think the cause was due to the mass amount of bulk importing we were doing through the api and at the speed we were going. Elastic is on 16gb of ram, while the total system memory is 32gb. The 16 gb is for the system and disk cache.

---

<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:** [April 22, 2017, 3:38am UTC](https://discuss.elastic.co/t/indice-stats-collector-crashing/79332/4 "2017-04-22T03:38:51Z")

</div>

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