# Choking of Elasticsearch

**URL:** <https://discuss.elastic.co/t/choking-of-elasticsearch/16606>\
**Category:** Elasticsearch\
**Created:** [March 26, 2014, 10:52am UTC](https://discuss.elastic.co/t/choking-of-elasticsearch/16606 "2014-03-26T10:52:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![narinder\_izap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/narinder_izap/32/803_2.png) [@narinder\_izap](https://discuss.elastic.co/u/narinder_izap)\
**Post date:** [March 26, 2014, 10:52am UTC](https://discuss.elastic.co/t/choking-of-elasticsearch/16606/1 "2014-03-26T10:52:17Z")

</div>

Hi there,

```
     We are using Elasticsearch 0.90.6 on our production server, with 

```

one replica. We need to import the data via scripts and we have million of  
records to be saved. We are using the Bulk mode to save the documents to  
Elasticsearch index.

Our architecture is using two Databases, One is Mysql, and other is  
Elasticsearch. The data is first saved in Mysql, then it is sent to  
Elasticseach for documents savings. But while data import script is  
running, the data is being saved in Mysql, but not being pushed to  
Elasticsearch, On investigating the nodes via Elastic HQ, I found the  
following factors

[https://lh4.googleusercontent.com/-smEWpFUSCV8/UzKvOwA2u6I/AAAAAAAAAF0/kxOtdJkcouw/s1600/esnodediagnostics.jpeg](https://lh4.googleusercontent.com/-smEWpFUSCV8/UzKvOwA2u6I/AAAAAAAAAF0/kxOtdJkcouw/s1600/esnodediagnostics.jpeg)

```
     The filter eviction is in red colour, saying it has crossed the 

```

limit.I need to understand, the two terms used for this filter eviction(_filter\_cache.eviction  
and query\_total_), How are they being calculated and How can i control  
them,How it is affecting the data saving and data searching too, or  
anything else that can cause the document skipping from saving.The search  
is also very very slow, although,we have given 30 GB of RAM to  
Elasticsearch server.

Thanks in advance.  
Narinder Kaur

--  
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/e3aff1cf-d3ff-4037-ac3b-c846a0d00798%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e3aff1cf-d3ff-4037-ac3b-c846a0d00798%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)\
**Post date:** [March 26, 2014, 7:51pm UTC](https://discuss.elastic.co/t/choking-of-elasticsearch/16606/2 "2014-03-26T19:51:58Z")

</div>

This metric/warning should have no effect in indexing. The query\_total is  
the number of shard \_searches executed so far, and filter cache evictions  
counts the number of times something in the filter cache is  
removed/replaced because you have reached the limits - this is affected by  
filters in your queries. Filter cache evictions are normal as part of  
running your queries, although the filter cache size can be increased (or  
decreased) as needed. But before you do that, I'd probably find out first  
why search is slow by analyzing your queries.

--  
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/85f3e0aa-6b65-4376-9b33-a20ac287bfc6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/85f3e0aa-6b65-4376-9b33-a20ac287bfc6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:40am UTC](https://discuss.elastic.co/t/choking-of-elasticsearch/16606/3 "2017-07-06T01:40:24Z")

</div>

Closed on July 6, 2017, 1:40am UTC


