# Problems with excesive GC

**URL:** <https://discuss.elastic.co/t/problems-with-excesive-gc/15084>\
**Category:** Elasticsearch\
**Created:** [January 2, 2014, 5:25pm UTC](https://discuss.elastic.co/t/problems-with-excesive-gc/15084 "2014-01-02T17:25:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matias\_Waisgold](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Matias\_Waisgold](https://discuss.elastic.co/u/Matias_Waisgold)\
**Post date:** [January 2, 2014, 5:25pm UTC](https://discuss.elastic.co/t/problems-with-excesive-gc/15084/1 "2014-01-02T17:25:58Z")

</div>

Hi, i´ve running into some production issues with ES. The GC started to run  
all time and the response times went to hell.  
This is my bigdesk view:  
[image: Imágenes integradas 1]  
(The fix was turning it off that's why CPU went to 0%)

In the other hand, i'm seeing this on HQ:  
[image: Imágenes integradas 1]

How can I fix it? Are the evictions generating those problems? Any  
suggestion?  
Thanks in advance

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAMaTqYppJkEnrFbdsdccGzOz0zie7PA40tT0nB%3D9-iDC4Ewn4g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAMaTqYppJkEnrFbdsdccGzOz0zie7PA40tT0nB%3D9-iDC4Ewn4g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [January 2, 2014, 6:48pm UTC](https://discuss.elastic.co/t/problems-with-excesive-gc/15084/2 "2014-01-02T18:48:08Z")

</div>

What ES version is that?

What type of queries do you perform?

What filter cache did you configure?

Jörg

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFD6s9tau6sb6Dg-qB9jPqWONFv-R343SxN0uzUBv%3DHKw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFD6s9tau6sb6Dg-qB9jPqWONFv-R343SxN0uzUBv%3DHKw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Matias\_Waisgold](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Matias\_Waisgold](https://discuss.elastic.co/u/Matias_Waisgold)\
**Post date:** [January 2, 2014, 6:58pm UTC](https://discuss.elastic.co/t/problems-with-excesive-gc/15084/3 "2014-01-02T18:58:49Z")

</div>

Between lines.  
Thanks!

2014/1/2 [joergprante@gmail.com](mailto:joergprante@gmail.com) [joergprante@gmail.com](mailto:joergprante@gmail.com)

> What ES version is that?

0.90.8

> What type of queries do you perform?

We have a very big query, with lots of filters, and because of that we have  
to add them to each facet (we are thinking to move it to a filtered query  
instead, do you recomend that?).  
We have a cluster of 290Gb of data in 42M of docs in 16 shards with 2  
replicas. And 30 nodes.

> What filter cache did you configure?

We are using it by default, I think it´s soft with 20% limit.

> Jörg
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFD6s9tau6sb6Dg-qB9jPqWONFv-R343SxN0uzUBv%3DHKw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFD6s9tau6sb6Dg-qB9jPqWONFv-R343SxN0uzUBv%3DHKw%40mail.gmail.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAMaTqYodzv3DfB-iP0bkKWQwf%2BB1RdpEQFYEmO6%3Dkc-iRtB9mA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAMaTqYodzv3DfB-iP0bkKWQwf%2BB1RdpEQFYEmO6%3Dkc-iRtB9mA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [January 2, 2014, 9:07pm UTC](https://discuss.elastic.co/t/problems-with-excesive-gc/15084/4 "2014-01-02T21:07:11Z")

</div>

Filtered query sounds fine.

You should definitely look into your filters and try more efficient ones.

Jörg

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEaFZRaXzQ8CjAqMrMhUjXGcWhGtB96YUZUMiD%3D-Zt%2BNg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEaFZRaXzQ8CjAqMrMhUjXGcWhGtB96YUZUMiD%3D-Zt%2BNg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Matias\_Waisgold](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Matias\_Waisgold](https://discuss.elastic.co/u/Matias_Waisgold)\
**Post date:** [January 3, 2014, 1:44pm UTC](https://discuss.elastic.co/t/problems-with-excesive-gc/15084/5 "2014-01-03T13:44:14Z")

</div>

Filtered query did the trick.  
Thank's for your time.

2014/1/2 [joergprante@gmail.com](mailto:joergprante@gmail.com) [joergprante@gmail.com](mailto:joergprante@gmail.com)

> Filtered query sounds fine.
> 
> You should definitely look into your filters and try more efficient ones.
> 
> Jörg
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEaFZRaXzQ8CjAqMrMhUjXGcWhGtB96YUZUMiD%3D-Zt%2BNg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEaFZRaXzQ8CjAqMrMhUjXGcWhGtB96YUZUMiD%3D-Zt%2BNg%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAMaTqYp0iMUqKSYTA9TefrX0mX7gPo7j7zjJa64NY5L9KazsHA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAMaTqYp0iMUqKSYTA9TefrX0mX7gPo7j7zjJa64NY5L9KazsHA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:58am UTC](https://discuss.elastic.co/t/problems-with-excesive-gc/15084/6 "2017-07-06T01:58:29Z")

</div>


