Circuit Breaker Exception, Data too large (12gb)


(Abhilash Bolla) #1

Hi,

I find this exception in my logs. Please help in debugging the same.

ES version: 2.4.1
Java version: 1.8
Heap allocated: 30gb

[2018-01-22 06:59:51,212][DEBUG][action.search            ] [cls-es-master] [publications_v8][2], node[gRYotK3ES_SnUlT4X4S9TA], [P], v[7], s[STARTED], a[id=WnhegkiKSuOgcjF6i5AY6Q]: Failed to execute [org.elasticsearch.action.search.SearchRequest@13aaa50a] lastShard [true]
RemoteTransportException[[cls-es-slave7][10.240.0.52:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Query Failed [Failed to execute main query]]; nested: CircuitBreakingException[[request] Data too large, data for [<reused_arrays>] would be larger than limit of [12850010521/11.9gb]];
Caused by: QueryPhaseExecutionException[Query Failed [Failed to execute main query]]; nested: CircuitBreakingException[[request] Data too large, data for [<reused_arrays>] would be larger than limit of [12850010521/11.9gb]];
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:409)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:113)
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:372)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:385)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365)
at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:77)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:293)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149

Please let me know if any other details are required.


(David Pilato) #2

What kind of query are you running?
Are you using doc_values (I guess no)?


(Abhilash Bolla) #3

Unable to debug as to which query caused it as our application has many APIs querying Elasticsearch and queries aren't logged into the logs.

doc_values is true by default on all the fields I guess...!!


(David Pilato) #4

doc_values is true by default on all the fields I guess...!!

Can you share the mapping?


(system) #5

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