zoukankan      html  css  js  c++  java
  • 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.

    果然 解决了问题
  • 相关阅读:
    python INFO: Can't locate Tcl/Tk libs and/or headers
    关于 android 中 postDelayed方法的讲解
    python两个dataframe的合并
    Android异步加载访问网络图片-解析json
    ThinkCMF----调用指定栏目的文章列表
    thinkCMF----使用自定义函数
    thinkCMF----公共模板的引入
    thinkCMF----如何写标签
    thinkCMF----列表页跳转
    thinkCMF----导航高亮显示
  • 原文地址:https://www.cnblogs.com/huhai/p/8947013.html
Copyright © 2011-2022 走看看