Elasticsearch 6.2.3 崩潰經歷


環境:jdk-10.0.1   + centos 7.14 

 

報錯:

 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f88722978d6, pid=23611, tid=24302
#
# JRE version: Java(TM) SE Runtime Environment (10.0.1+10) (build 10.0.1+10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0.1+10, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# J 14628 c2 org.apache.lucene.util.MergedIterator.pullTop()V (135 bytes) @ 0x00007f88722978d6 [0x00007f88722972e0+0x00000000000005f6]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  S U M M A R Y ------------

Command Line: -Xms8g -Xmx8g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=/elasticsearch/elasticsearch-6.2.3/tmp -XX:+HeapDumpOnOutOfMemoryError -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m -Djava.locale.providers=COMPAT -Des.path.home=/elasticsearch/elasticsearch-6.2.3 -Des.path.conf=/elasticsearch/elasticsearch-6.2.3/config org.elasticsearch.bootstrap.Elasticsearch -d

Host: Virtual CPU 82d9ed4018dd, 6 cores, 15G, CentOS Linux release 7.4.1708 (Core) 
Time: Tue Apr 24 12:52:15 2018 UTC elapsed time: 1209 seconds (0d 0h 20m 9s)

 定位 原因:

J 14628 c2 org.apache.lucene.util.MergedIterator.pullTop()


搜索不出什么結果.

崩潰前 GC 不斷的執行,日志,使用的數據量很少。查詢很少。

最后忽然有靈感,會不會jdk 版本太高了。換 jdk8.

果然 解決了問題

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM