# Garbage collection times out?

**URL:** <https://discuss.elastic.co/t/garbage-collection-times-out/118402>\
**Category:** Elasticsearch\
**Created:** [February 5, 2018, 8:20am UTC](https://discuss.elastic.co/t/garbage-collection-times-out/118402 "2018-02-05T08:20:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssi](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@ssi](https://discuss.elastic.co/u/ssi)\
**Post date:** [February 5, 2018, 8:20am UTC](https://discuss.elastic.co/t/garbage-collection-times-out/118402/1 "2018-02-05T08:20:55Z")

</div>

hi whats going on here ?

do i need to think about adding nodes (i only have one node at the moment)

```auto
[2018-02-02T21:26:42,187][INFO][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692793] overhead, spent [376ms] collecting in the last [1s]
[2018-02-02T21:26:45,197][INFO][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692796] overhead, spent [294ms] collecting in the last [1s]
[2018-02-02T21:26:47,202][INFO][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692798] overhead, spent [473ms] collecting in the last [1s]
[2018-02-02T21:26:52,235][INFO][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692803] overhead, spent [358ms] collecting in the last [1s]
[2018-02-02T21:26:53,237][INFO][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692804] overhead, spent [337ms] collecting in the last [1s]
[2018-02-02T21:26:57,461][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692808] overhead, spent [601ms] collecting in the last [1s]
[2018-02-02T21:26:59,465][INFO][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692810] overhead, spent [363ms] collecting in the last [1s]
[2018-02-02T21:27:08,475][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692819] overhead, spent [503ms] collecting in the last [1s]
[2018-02-02T21:27:12,626][INFO][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692823] overhead, spent [295ms] collecting in the last [1.1s]
[2018-02-02T21:27:17,197][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][young][692825][517654] duration [3s], collections [2]/[3.5s], total [3s]/[15.9h], memory [5.4gb]->[5gb]/[7.9gb], all_pools {[young] [456.6mb]->[2.5mb]/[532.5mb]}{[survivor] [35.4mb]->[47.2mb]/[66.5mb]}{[old] [5gb]->[5gb]/[7.3gb]}
[2018-02-02T21:27:17,197][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692825] overhead, spent [3s] collecting in the last [3.5s]
[2018-02-02T21:27:18,901][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692826] overhead, spent [1s] collecting in the last [1.7s]
[2018-02-02T21:27:22,534][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][young][692827][517657] duration [2.9s], collections [1]/[3.6s], total [2.9s]/[15.9h], memory [5gb]->[5gb]/[7.9gb], all_pools {[young] [1.2mb]->[1.2mb]/[532.5mb]}{[survivor] [58mb]->[46mb]/[66.5mb]}{[old] [5gb]->[5gb]/[7.3gb]}
[2018-02-02T21:27:22,534][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692827] overhead, spent [2.9s] collecting in the last [3.6s]
[2018-02-02T21:27:27,439][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][young][692829][517659] duration [3.3s], collections [1]/[3.9s], total [3.3s]/[15.9h], memory [5.2gb]->[5gb]/[7.9gb], all_pools {[young] [165.1mb]->[535.6kb]/[532.5mb]}{[survivor] [50.1mb]->[34.1mb]/[66.5mb]}{[old] [5gb]->[5gb]/[7.3gb]}
[2018-02-02T21:27:27,439][WARN][o.e.m.j.JvmGcMonitorService] [SRVP00067] [gc][692829] overhead, spent [3.3s] collecting in the last [3.9s]
# [timer expired, abort...]

```

---

<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:** [February 5, 2018, 8:26am UTC](https://discuss.elastic.co/t/garbage-collection-times-out/118402/2 "2018-02-05T08:26:45Z")

</div>

What version are you on? What JVM? What's the heap size? How many shards, indices and GB of data?

---

<div class="post-metadata">

**Author:** ![ssi](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@ssi](https://discuss.elastic.co/u/ssi)\
**Post date:** [February 5, 2018, 8:48am UTC](https://discuss.elastic.co/t/garbage-collection-times-out/118402/3 "2018-02-05T08:48:44Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e4b2cf0edfd9a7fdcf1bd2a1b0225a7e73efa593.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/1/71897d47e75936a9e6e845695d5ea010affc5ed3.png)

sorry did not realise you would be so quick

---

<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:** [March 5, 2018, 8:48am UTC](https://discuss.elastic.co/t/garbage-collection-times-out/118402/4 "2018-03-05T08:48:45Z")

</div>

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