We have a version 5.6 100 plus node cluster which has been suffering from high cpu usage for a sometime now. The hot threads show several different threads which are usually taking 100% cpu.
3 masters 6i.xlarge
38 nodes i3.2xlarge zone 1
38 nodes r5.2xlarge zone 2
38 nodes i3.2xlarge zone 3
The hot threads which are showing up with hot threads are Lucene Merge, warmer, management and bulk threads
Can someone help shed some light on this issues?
100.2% (501ms out of 500ms) cpu usage by thread 'elasticsearch[es-zone2-ebs-23][[account_1094_202112031094][353]: Lucene Merge Thread #15]'
2/10 snapshots sharing following 19 elements
org.apache.lucene.codecs.DocValuesConsumer$4$1.hasNext(DocValuesConsumer.java:545)
org.apache.lucene.codecs.DocValuesConsumer$4$1.next(DocValuesConsumer.java:555)
org.apache.lucene.codecs.DocValuesConsumer$4$1.next(DocValuesConsumer.java:536)
org.apache.lucene.codecs.DocValuesConsumer$10$1.next(DocValuesConsumer.java:1028)
org.apache.lucene.codecs.DocValuesConsumer$10$1.next(DocValuesConsumer.java:1015)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.writeSparseMissingBitset(Lucene54DocValuesConsumer.java:332)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:207)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
8/10 snapshots sharing following 12 elements
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
::: {es-zone3-9}{2Z94hNQfTR-14lzWMzK8sA}{h3jNlnniS8SsyBEanRIqFw}{10.0.204.76}{10.0.204.76:9300}{ml.max_open_jobs=10, rack_id=zone3, ml.enabled=true}
Hot threads at 2022-03-12T00:56:17.669Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
100.2% (501.1ms out of 500ms) cpu usage by thread 'elasticsearch[es-zone3-9][[account_1094_202112031094][184]: Lucene Merge Thread #3]'
2/10 snapshots sharing following 17 elements
org.apache.lucene.index.SingletonSortedNumericDocValues.setDocument(SingletonSortedNumericDocValues.java:52)
org.apache.lucene.codecs.DocValuesConsumer$SortedNumericDocValuesSub.nextDoc(DocValuesConsumer.java:449)
org.apache.lucene.index.DocIDMerger$SequentialDocIDMerger.next(DocIDMerger.java:100)
org.apache.lucene.codecs.DocValuesConsumer$3$1.setNext(DocValuesConsumer.java:511)
org.apache.lucene.codecs.DocValuesConsumer$3$1.hasNext(DocValuesConsumer.java:491)
org.apache.lucene.codecs.DocValuesConsumer.isSingleValued(DocValuesConsumer.java:998)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:586)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
2/10 snapshots sharing following 14 elements
org.apache.lucene.codecs.DocValuesConsumer$3$1.setNext(DocValuesConsumer.java:511)
org.apache.lucene.codecs.DocValuesConsumer$3$1.hasNext(DocValuesConsumer.java:491)
org.apache.lucene.codecs.DocValuesConsumer.isSingleValued(DocValuesConsumer.java:998)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:586)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
2/10 snapshots sharing following 14 elements
org.apache.lucene.codecs.DocValuesConsumer$10$1.next(DocValuesConsumer.java:1015)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:105)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
2/10 snapshots sharing following 19 elements
org.apache.lucene.index.SingletonSortedNumericDocValues.setDocument(SingletonSortedNumericDocValues.java:52)
org.apache.lucene.codecs.DocValuesConsumer$SortedNumericDocValuesSub.nextDoc(DocValuesConsumer.java:449)
org.apache.lucene.index.DocIDMerger$SequentialDocIDMerger.next(DocIDMerger.java:100)
org.apache.lucene.codecs.DocValuesConsumer$3$1.setNext(DocValuesConsumer.java:511)
org.apache.lucene.codecs.DocValuesConsumer$3$1.hasNext(DocValuesConsumer.java:491)
org.apache.lucene.codecs.DocValuesConsumer$10$1.hasNext(DocValuesConsumer.java:1019)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:105)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
2/10 snapshots sharing following 12 elements
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
::: {es-zone1-10}{8TC2WC8XRjqgXGB7O23scA}{w6-91TEJR7CKhrjg2jPdmA}{10.0.203.151}{10.0.203.151:9300}{ml.max_open_jobs=10, rack_id=zone1, ml.enabled=true}
Hot threads at 2022-03-12T00:56:17.668Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
100.4% (501.9ms out of 500ms) cpu usage by thread 'elasticsearch[es-zone1-10][warmer][T#8]'
5/10 snapshots sharing following 22 elements
org.apache.lucene.util.PriorityQueue.downHeap(PriorityQueue.java:284)
org.apache.lucene.util.PriorityQueue.updateTop(PriorityQueue.java:211)
org.apache.lucene.index.MultiTermsEnum.pushTop(MultiTermsEnum.java:279)
org.apache.lucene.index.MultiTermsEnum.next(MultiTermsEnum.java:301)
org.apache.lucene.index.MultiDocValues$OrdinalMap.<init>(MultiDocValues.java:554)
org.apache.lucene.index.MultiDocValues$OrdinalMap.build(MultiDocValues.java:511)
org.apache.lucene.index.MultiDocValues$OrdinalMap.build(MultiDocValues.java:490)
org.elasticsearch.index.fielddata.ordinals.GlobalOrdinalsBuilder.build(GlobalOrdinalsBuilder.java:65)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.localGlobalDirect(SortedSetDVOrdinalsIndexFieldData.java:130)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.localGlobalDirect(SortedSetDVOrdinalsIndexFieldData.java:47)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.lambda$load$1(IndicesFieldDataCache.java:157)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache$$Lambda$2203/456155471.load(Unknown Source)
org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:399)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.load(IndicesFieldDataCache.java:154)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.loadGlobal(SortedSetDVOrdinalsIndexFieldData.java:118)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.loadGlobal(SortedSetDVOrdinalsIndexFieldData.java:47)
org.elasticsearch.index.IndexWarmer$FieldDataWarmer.lambda$warmReader$1(IndexWarmer.java:141)
org.elasticsearch.index.IndexWarmer$FieldDataWarmer$$Lambda$2196/390567367.run(Unknown Source)
org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:576)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
2/10 snapshots sharing following 21 elements
org.apache.lucene.index.MultiTermsEnum$TermMergeQueue.fillTop(MultiTermsEnum.java:429)
org.apache.lucene.index.MultiTermsEnum.pullTop(MultiTermsEnum.java:267)
org.apache.lucene.index.MultiTermsEnum.next(MultiTermsEnum.java:305)
org.apache.lucene.index.MultiDocValues$OrdinalMap.<init>(MultiDocValues.java:554)
org.apache.lucene.index.MultiDocValues$OrdinalMap.build(MultiDocValues.java:511)
org.apache.lucene.index.MultiDocValues$OrdinalMap.build(MultiDocValues.java:490)
org.elasticsearch.index.fielddata.ordinals.GlobalOrdinalsBuilder.build(GlobalOrdinalsBuilder.java:65)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.localGlobalDirect(SortedSetDVOrdinalsIndexFieldData.java:130)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.localGlobalDirect(SortedSetDVOrdinalsIndexFieldData.java:47)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.lambda$load$1(IndicesFieldDataCache.java:157)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache$$Lambda$2203/456155471.load(Unknown Source)
org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:399)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.load(IndicesFieldDataCache.java:154)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.loadGlobal(SortedSetDVOrdinalsIndexFieldData.java:118)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.loadGlobal(SortedSetDVOrdinalsIndexFieldData.java:47)
org.elasticsearch.index.IndexWarmer$FieldDataWarmer.lambda$warmReader$1(IndexWarmer.java:141)
org.elasticsearch.index.IndexWarmer$FieldDataWarmer$$Lambda$2196/390567367.run(Unknown Source)
org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:576)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
3/10 snapshots sharing following 17 elements
org.apache.lucene.index.MultiDocValues$OrdinalMap.build(MultiDocValues.java:511)
org.apache.lucene.index.MultiDocValues$OrdinalMap.build(MultiDocValues.java:490)
org.elasticsearch.index.fielddata.ordinals.GlobalOrdinalsBuilder.build(GlobalOrdinalsBuilder.java:65)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.localGlobalDirect(SortedSetDVOrdinalsIndexFieldData.java:130)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.localGlobalDirect(SortedSetDVOrdinalsIndexFieldData.java:47)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.lambda$load$1(IndicesFieldDataCache.java:157)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache$$Lambda$2203/456155471.load(Unknown Source)
org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:399)
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.load(IndicesFieldDataCache.java:154)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.loadGlobal(SortedSetDVOrdinalsIndexFieldData.java:118)
org.elasticsearch.index.fielddata.plain.SortedSetDVOrdinalsIndexFieldData.loadGlobal(SortedSetDVOrdinalsIndexFieldData.java:47)
org.elasticsearch.index.IndexWarmer$FieldDataWarmer.lambda$warmReader$1(IndexWarmer.java:141)
org.elasticsearch.index.IndexWarmer$FieldDataWarmer$$Lambda$2196/390567367.run(Unknown Source)
org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:576)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
100.4% (501.9ms out of 500ms) cpu usage by thread 'elasticsearch[es-zone1-10][[account_1094_202112031094][271]: Lucene Merge Thread #14]'
2/10 snapshots sharing following 14 elements
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.writeSparseMissingBitset(Lucene54DocValuesConsumer.java:332)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:207)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
8/10 snapshots sharing following 16 elements
java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:301)
java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:105)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:296)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
100.4% (501.7ms out of 500ms) cpu usage by thread 'elasticsearch[es-zone1-10][[account_1094_202112031094][167]: Lucene Merge Thread #3]'
5/10 snapshots sharing following 18 elements
java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:207)
java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:162)
java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:301)
java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:105)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:296)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)
5/10 snapshots sharing following 13 elements
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:296)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addNumericField(Lucene54DocValuesConsumer.java:89)
org.apache.lucene.codecs.lucene54.Lucene54DocValuesConsumer.addSortedNumericField(Lucene54DocValuesConsumer.java:589)
org.apache.lucene.codecs.DocValuesConsumer.mergeSortedNumericField(DocValuesConsumer.java:470)
org.apache.lucene.codecs.DocValuesConsumer.merge(DocValuesConsumer.java:243)
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.merge(PerFieldDocValuesFormat.java:153)
org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:167)
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:111)
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.doMerge(ElasticsearchConcurrentMergeScheduler.java:99)
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)