zoukankan      html  css  js  c++  java
  • tomcat 总是挂掉,提示Failed to write core dump错误,如何解决

    # A fatal error has been detected by the Java Runtime Environment:
    #
    #
    [error occurred during error reporting (printing exception/signal name), id 0x7]
    
    , pid=2178, tid=0x00007fad591b5700
    #
    # JRE version: Java(TM) SE Runtime Environment (8.0_221-b11) (build 1.8.0_221-b11)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.221-b11 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    #
    [error occurred during error reporting (printing problematic frame), id 0x7]
    
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # An error report file with more information is saved as:
    # /usr/local/tomcat9/bin/hs_err_pid2178.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.java.com/bugreport/crash.jsp
    #
    

      tomcat 总是挂掉,提示Failed to write core dump错误,如何解决

    上面重要一句话是
    
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    告诉我们用这个命令解决问题 ulimit -c unlimited
    

      

    core dump就是在进程crash时把包括内存在内的现场保留下来,以备故障分析。 但有时候,进程crash了却没有输出core,因为有一些因素会影响输出还是不输出core文件。 常见的一个coredump开关是ulimit -c,它限制允许输出的coredump文件的最大size,如果要输出的core文件大小超过这个值将不输出core文件。

    ulimit -c的输出为0,代表关闭core dump输出。

    不知道问题有木有解决???

    www.beicaiduo.com
  • 相关阅读:
    使用Quartz2D实现时钟动画(二)
    使用Quartz2D实现时钟动画(一)
    排序算法的基本思想和OC代码实现
    OC命名规范及代码注释规范
    OC中Foundation框架的基本对象之数字对象
    iOS并排按钮点击联动效果封装
    iOS图片处理
    个人面试总结
    Objective和Swift,你该选择哪个
    网络开发中socket简介
  • 原文地址:https://www.cnblogs.com/hoge66/p/14589118.html
Copyright © 2011-2022 走看看