elasticsearch 0.90.6 just crashed on me..
I have given it 16GB Heap space.. -Xms16051M -Xmx16051M -Xss256k
Error in log was:
[2013-12-04 11:05:20,111][DEBUG][action.search.type ] [Necrodamus]
[logstash-2013.11.20][2], node[vSEeksIDSdiqtqDFgwQsNQ], [P], s[STARTED]:
Failed to execute [org.elasticsearch.action.search.SearchRequest@5f1223b5]
org.elasticsearch.search.query.QueryPhaseExecutionException:
[logstash-2013.11.20][2]: query[ConstantScore(:)],from[0],size[0]: Query
Failed [Failed to execute main query]
at
org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:123)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:233)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:202)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:216)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:203)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:186)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.elasticsearch.ElasticSearchException:
java.lang.OutOfMemoryError: Java heap space
at
org.elasticsearch.index.fielddata.AbstractIndexFieldData.load(AbstractIndexFieldData.java:60)
at
org.elasticsearch.index.fielddata.plain.PackedArrayIndexFieldData.load(PackedArrayIndexFieldData.java:49)
at
org.elasticsearch.search.facet.datehistogram.CountDateHistogramFacetExecutor$Collector.setNextReader(CountDateHistogramFacetExecutor.java:88)
at
org.elasticsearch.common.lucene.search.FilteredCollector.setNextReader(FilteredCollector.java:68)
at
org.elasticsearch.common.lucene.MultiCollector.setNextReader(MultiCollector.java:68)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:618)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:167)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:491)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:448)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
at
org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:119)
... 9 more
Caused by: org.elasticsearch.common.util.concurrent.ExecutionError:
java.lang.OutOfMemoryError: Java heap space
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3932)
at
org.elasticsearch.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721)
at
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.load(IndicesFieldDataCache.java:143)
at
org.elasticsearch.index.fielddata.AbstractIndexFieldData.load(AbstractIndexFieldData.java:53)
... 20 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.util.packed.Packed64.(Packed64.java:73)
at
org.apache.lucene.util.packed.PackedInts.getMutable(PackedInts.java:1084)
at
org.apache.lucene.util.packed.PackedInts.getMutable(PackedInts.java:1051)
at
org.elasticsearch.index.fielddata.plain.PackedArrayIndexFieldData.loadDirect(PackedArrayIndexFieldData.java:162)
at
org.elasticsearch.index.fielddata.plain.PackedArrayIndexFieldData.loadDirect(PackedArrayIndexFieldData.java:49)
at
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache$1.call(IndicesFieldDataCache.java:149)
at
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache$1.call(IndicesFieldDataCache.java:143)
at
org.elasticsearch.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724)
at
org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
at
org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
at
org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
at
org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
at
org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3932)
at
org.elasticsearch.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721)
at
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.load(IndicesFieldDataCache.java:143)
at
org.elasticsearch.index.fielddata.AbstractIndexFieldData.load(AbstractIndexFieldData.java:53)
at
org.elasticsearch.index.fielddata.plain.PackedArrayIndexFieldData.load(PackedArrayIndexFieldData.java:49)
at
org.elasticsearch.search.facet.datehistogram.CountDateHistogramFacetExecutor$Collector.setNextReader(CountDateHistogramFacetExecutor.java:88)
at
org.elasticsearch.common.lucene.search.FilteredCollector.setNextReader(FilteredCollector.java:68)
at
org.elasticsearch.common.lucene.MultiCollector.setNextReader(MultiCollector.java:68)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:618)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:167)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:491)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:448)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
at
org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:119)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:233)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:202)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:216)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:203)
Any hints as to what I could do to improve my settings are welcome. My
current elasticsearch.yml looks like this:
index.warmer.enabled: false
action.disable_delete_all_indices: true
indices.memory.index_buffer_size: 50%
threadpool.search.type: fixed
threadpool.search.size: 20
threadpool.search.queue_size: 100
threadpool.index.type: fixed
threadpool.index.size: 60
threadpool.index.queue_size: 200
bootstrap.mlockall: true
and I use ES for logstash only.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7f0a3dc4-6af6-490d-af98-8e45c273ae67%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.