开发者社区> 问答> 正文

CentOS6.5安装JDK1.6Tomcat7每个小时报一次错误

CentOS6.5安装JDK1.6+Tomcat7每个小时都会在/root 下面很多 hs_err.pid.log 文件,怎么处理?

日志内容如下

#
# There is insufficient memory for the Java Runtime Environment to continue.
# pthread_getattr_np
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (os_linux_x86.cpp:715), pid=4027, tid=139723412104960
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)

---------------  T H R E A D  ---------------

Current thread (0x00007f13e0080000):  JavaThread "Signal Dispatcher" daemon [_thread_new, id=4032, stack(0x0000000000000000,0x0000000000000000)]

Stack: [0x0000000000000000,0x0000000000000000],  sp=0x00007f13e4585b60,  free space=136448644630k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x85ebd5]

展开
收起
秦皇岛菜鸟 2015-07-11 23:21:50 10093 0
3 条回答
写回答
取消 提交回答
  • hs_err_pid**.log
    一般这个日志文件是jvm运行过程中出现进程崩溃时才会产生的,用于输出当前运行时崩溃瞬间的详细信息。
    2015-07-13 16:29:31
    赞同 展开评论 打赏
  • ReCentOS6.5安装JDK1.6Tomcat7每个小时报一次错误
    没装对把
    2015-07-13 14:14:00
    赞同 展开评论 打赏
  • ReCentOS6.5安装JDK1.6Tomcat7每个小时报一次错误
    这个没人知道是怎么回事吗?

    -------------------------

    ReCentOS6.5安装JDK1.6Tomcat7每个小时报一次错误
    这个没人知道是怎么回事吗?
    2015-07-12 14:26:03
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载