# ElasticSearch Filter Cache Size is too low and a lot field Eviction

**URL:** <https://discuss.elastic.co/t/elasticsearch-filter-cache-size-is-too-low-and-a-lot-field-eviction/76181>\
**Category:** Elasticsearch\
**Created:** [February 23, 2017, 9:34am UTC](https://discuss.elastic.co/t/elasticsearch-filter-cache-size-is-too-low-and-a-lot-field-eviction/76181 "2017-02-23T09:34:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shengjie\_Min](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shengjie_min/32/2519_2.png) [@Shengjie\_Min](https://discuss.elastic.co/u/Shengjie_Min)\
**Post date:** [February 23, 2017, 9:34am UTC](https://discuss.elastic.co/t/elasticsearch-filter-cache-size-is-too-low-and-a-lot-field-eviction/76181/1 "2017-02-23T09:34:52Z")

</div>

We have ES(1.7.3) cluster with 18 nodes. We have the following settings for each node:

ES\_HEAP\_SIZE=90G  
indices.fielddata.cache.size=75%

When we looked at the monitoring metrics(Elastic HQ), We have "Field Size": ~25GB while the "Filter Cache Size":~5GB. Should the "Filter Cache Size" be 90Gx75%=67.5G?

Under this settings, we are experiencing very slow "Search-Fetch" and "Refresh". And "Field Evictions" are sky high, e.g. some of the nodes have \>1000 Field Evictions.

Is there any reasons the filter cache size is not shown as expected? and are we doing something wrong with the configurations?

---

<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 24, 2017, 9:41am UTC](https://discuss.elastic.co/t/elasticsearch-filter-cache-size-is-too-low-and-a-lot-field-eviction/76181/2 "2017-02-24T09:41:53Z")

</div>

> [@Shengjie\_Min](#):
>
> ES\_HEAP\_SIZE=90G

That's way beyond what we recommend as best practises. Why is it so big?

---

<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 24, 2017, 9:42am UTC](https://discuss.elastic.co/t/elasticsearch-filter-cache-size-is-too-low-and-a-lot-field-eviction/76181/3 "2017-03-24T09:42:12Z")

</div>

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