相关文章推荐
活泼的椰子  ·  Android ...·  1 年前    · 
坏坏的煎饼果子  ·  docker wordpress + ...·  1 年前    · 
# A fatal error has been detected by the Java Runtime Environment: # SIGBUS ( 0x7) at pc= 0x00007f80e50526d0, pid= 23394, tid= 0x00007f80b05ca700 # JRE version: Java(TM) SE Runtime Environment ( 8.0_201-b09) (build 1.8 .0_201-b09) # Java VM: Java HotSpot (TM) 64-Bit Server VM ( 25.201-b09 mixed mode linux-amd64 compressed oops) # Problematic frame: # v ~StubRoutines::jbyte_disjoint_arraycopy # Failed to write core dump. 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

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

写入核心转储失败。 核心转储已被禁用。 要启用核心转储,请在再次启动Java之前尝试“ulimit -c unlimited”

ulimit -c unlimited 设置core文件大小为不限制大小

三种解决办法

1. 修改服务器的最大可开文件数、最大进程数(无效)

vi /etc/security/limits.conf

* soft nofile 327680
* hard nofile 327680
* soft nproc 327680
* hard nproc 327680
hdfs soft nproc 131072
hdfs hard nproc 131072
mapred soft nproc 131072
mapred hard nproc 131072
hbase soft nproc 131072
hbase hard nproc 131072
zookeeper soft nproc 131072
zookeeper hard nproc 131072
hive soft nproc 131072
hive hard nproc 131072
root soft nproc 131072
root hard nproc 131072

2. 重装JDK(无效)

网络上文章很多

3. 升级JDK8至JDK10(有效)

升级和重载的步骤基本一致