I am using Field data circuit breaker in order to define cache size for queries that we do during the day. And each night I am launching a script that deletes the memory cache but sometimes I have out of memory error during the day since they have been lots of queries launched so I need to clear the cache myself.
My question is, do we have any option for elasticsearch that cares about the cache clearing once out of memory error is received ?
I am using Field data circuit breaker in order to define cache size for
queries that we do during the day. And each night I am launching a script
that deletes the memory cache but sometimes I have out of memory error
during the day since they have been lots of queries launched so I need to
clear the cache myself.
My question is, do we have any option for elasticsearch that cares about
the
cache clearing once out of memory error is received ?
Just like an electrical circuit breaker, if it is constantly tripping, this
indicates an overload condition.
Rather than try to empty out the fielddata memory, perhaps you should use
doc_values for the fields which are in the queries that are tripping the
circuit breaker.
On Thursday, April 9, 2015 at 8:39:59 PM UTC-6, mehmet özer wrote:
Hello,
I am using Field data circuit breaker in order to define cache size for
queries that we do during the day. And each night I am launching a script
that deletes the memory cache but sometimes I have out of memory error
during the day since they have been lots of queries launched so I need to
clear the cache myself.
My question is, do we have any option for elasticsearch that cares about
the
cache clearing once out of memory error is received ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.