Very large filter cache

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Very large filter cache

Roy Reznik
Hi,

We have a very high number of filter evictions per query (~10).
I tried to enlarge the cache size to 30%, but still, I see this number at ~9.
I'm trying to debug this (I think we might have huge queries, effecting this) - so I wanted to dump the cache, or something similar to try to understand what is wasting all that space.
Is there any way I can do this? Or any other recommended way to debug?

Thanks.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3e1f8191-08d2-4a59-8d27-0ac7576392b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Very large filter cache

Mark Walkom-2
You cannot see what is in the cache unless you extract a heap dump.

On 4 March 2015 at 02:56, Roy Reznik <[hidden email]> wrote:
Hi,

We have a very high number of filter evictions per query (~10).
I tried to enlarge the cache size to 30%, but still, I see this number at ~9.
I'm trying to debug this (I think we might have huge queries, effecting this) - so I wanted to dump the cache, or something similar to try to understand what is wasting all that space.
Is there any way I can do this? Or any other recommended way to debug?

Thanks.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3e1f8191-08d2-4a59-8d27-0ac7576392b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X87dMJMJy14a9R_9EOP3bi6pPaJecF_JDmR5oeBO-ga3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Very large filter cache

Roy Reznik
Mark, thanks so much.
I tried to take a heap dump, but using jmap always takes the server out of the cluster..
These are production servers, any way to do it live, without impacting the cluster?

Thanks.

On Tuesday, March 3, 2015 at 11:11:02 PM UTC+2, Mark Walkom wrote:
You cannot see what is in the cache unless you extract a heap dump.

On 4 March 2015 at 02:56, Roy Reznik <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="gsAg876iTLwJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">r...@...> wrote:
Hi,

We have a very high number of filter evictions per query (~10).
I tried to enlarge the cache size to 30%, but still, I see this number at ~9.
I'm trying to debug this (I think we might have huge queries, effecting this) - so I wanted to dump the cache, or something similar to try to understand what is wasting all that space.
Is there any way I can do this? Or any other recommended way to debug?

Thanks.

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="gsAg876iTLwJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">elasticsearc...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/elasticsearch/3e1f8191-08d2-4a59-8d27-0ac7576392b0%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/elasticsearch/3e1f8191-08d2-4a59-8d27-0ac7576392b0%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;" onclick="this.href='https://groups.google.com/d/msgid/elasticsearch/3e1f8191-08d2-4a59-8d27-0ac7576392b0%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;">https://groups.google.com/d/msgid/elasticsearch/3e1f8191-08d2-4a59-8d27-0ac7576392b0%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/89585bb7-8fba-44f9-8879-3c342c6a838b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.