磁盘空间充足,es查询报错 代码不安全导致es挂掉,请问各位大佬有没有遇到过
匿名 | 发布于2022年01月05日 | 阅读数:2305
准备换磁盘了。
查询报错信息:
查询报错信息:
fatal error in thread [elasticsearch[node-1][search][T#8]], exiting
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
at org.apache.lucene.codecs.blocktree.SegmentTermsEnumFrame.loadBlock(SegmentTermsEnumFrame.java:206)
at org.apache.lucene.codecs.blocktree.SegmentTermsEnumFrame.loadNextFloorBlock(SegmentTermsEnumFrame.java:142)
at org.apache.lucene.codecs.blocktree.SegmentTermsEnum.next(SegmentTermsEnum.java:923)
at org.elasticsearch.search.internal.ExitableDirectoryReader$ExitableTermsEnum.next(ExitableDirectoryReader.java:180)
at org.elasticsearch.search.slice.TermsSliceQuery.build(TermsSliceQuery.java:86)
at org.elasticsearch.search.slice.TermsSliceQuery.access$000(TermsSliceQuery.java:50)
at org.elasticsearch.search.slice.TermsSliceQuery$1.scorer(TermsSliceQuery.java:63)
at org.apache.lucene.search.Weight.scorerSupplier(Weight.java:148)
at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.scorerSupplier(LRUQueryCache.java:738)
at org.elasticsearch.indices.IndicesQueryCache$CachingWeightWrapper.scorerSupplier(IndicesQueryCache.java:157)
at org.apache.lucene.search.BooleanWeight.scorerSupplier(BooleanWeight.java:379)
at org.apache.lucene.search.BooleanWeight.scorer(BooleanWeight.java:344)
at org.apache.lucene.search.Weight.bulkScorer(Weight.java:182)
at org.apache.lucene.search.BooleanWeight.bulkScorer(BooleanWeight.java:338)
at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:849)
at org.elasticsearch.indices.IndicesQueryCache$CachingWeightWrapper.bulkScorer(IndicesQueryCache.java:163)
at org.elasticsearch.search.internal.ContextIndexSearcher$1.bulkScorer(ContextIndexSearcher.java:272)
at org.elasticsearch.search.internal.ContextIndexSearcher.searchLeaf(ContextIndexSearcher.java:223)
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:199)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:445)
at org.elasticsearch.search.query.QueryPhase.searchWithCollector(QueryPhase.java:341)
at org.elasticsearch.search.query.QueryPhase.executeInternal(QueryPhase.java:296)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:148)
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:372)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:431)
at org.elasticsearch.search.SearchService.access$500(SearchService.java:141)
at org.elasticsearch.search.SearchService$2.lambda$onResponse$0(SearchService.java:401)
at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58)
at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:44)
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:743)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
磁盘:Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 634M 5.7G 10% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 413G 37G 358G 10% /
tmpfs 32G 84K 32G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda2 976M 104M 805M 12% /boot
/dev/sda1 511M 7.8M 504M 2% /boot/efi
/dev/loop0 55M 55M 0 100% /snap/core18/1880
/dev/loop1 72M 72M 0 100% /snap/lxd/16099
/dev/loop2 30M 30M 0 100% /snap/snapd/8542
tmpfs 6.3G 0 6.3G 0% /run/user/1000
1 个回复
yangsongbai - 90后IT
赞同来自: