JVM crash gc异常
昨晚tomcat进程自动退出,发现在凌成3点56分时候是JVM crash掉了。跑了半年多了第一次出现这样的问题
从奔溃日志可以看出是新生代空间达到100%。GC收集异常导致奔溃。
@大神 ,这个可能是啥问题?找了官网的bug说明没找到这个版本的gc bug。
#
# A fatal error has been detected by the Java Runtime Environment:#
# SIGSEGV (0xb) at pc=0x00007fb97baa0154, pid=44751, tid=140434598176512
#
# JRE version: 6.0_43-b01
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.14-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x32b154] CardTableExtension::scavenge_contents_parallel(ObjectStartArray*, MutableSpace*, HeapWord*, PSPromotionManager*, unsigned)+0x564
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007fb97401f800): GCTaskThread [stack: 0x00007fb97a46a000,0x00007fb97a56b000] [id=44759]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x000000000036004d
Registers:
RAX=0x0000000000000003, RBX=0x00007fb97c21b300, RCX=0x0000000000000000, RDX=0x0000000000360035
RSP=0x00007fb97a569ac0, RBP=0x00007fb97a569b40, RSI=0x00007fb97c1fe7b0, RDI=0x0000000000360045
R8 =0x00000000d880e148, R9 =0x00007fb97c21b300, R10=0x000000000000000c, R11=0x0000000000000000
R12=0x00000000eca031d0, R13=0x00007fb97a9d3028, R14=0x00000000eca05000, R15=0x0000000000000240
RIP=0x00007fb97baa0154, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
TRAPNO=0x000000000000000e
=>0x00007fb97401f800 (exited) GCTaskThread [stack: 0x00007fb97a46a000,0x00007fb97a56b000] [id=44759]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00007fb974004ad0] Threads_lock - owner thread: 0x00007fb97409c800
[0x00007fb974004fd0] Heap_lock - owner thread: 0x00007fb890006000
Heap
PSYoungGen total 81088K, used 78605K [0x00000000f0000000, 0x00000000f5550000, 0x0000000100000000)
eden space 74752K, 100% used [0x00000000f0000000,0x00000000f4900000,0x00000000f4900000)
from space 6336K, 60% used [0x00000000f4f20000,0x00000000f52e35a8,0x00000000f5550000)
to space 6272K, 23% used [0x00000000f4900000,0x00000000f4a78000,0x00000000f4f20000)
PSOldGen total 131072K, used 75948K [0x00000000e8000000, 0x00000000f0000000, 0x00000000f0000000)
object space 131072K, 57% used [0x00000000e8000000,0x00000000eca2b188,0x00000000f0000000)
PSPermGen total 131328K, used 77713K [0x00000000d8000000, 0x00000000e0040000, 0x00000000e8000000)
object space 131328K, 59% used [0x00000000d8000000,0x00000000dcbe4768,0x00000000e0040000)
Code Cache [0x00007fb971000000, 0x00007fb971e00000, 0x00007fb974000000)
total_blobs=4045 nmethods=3464 adapters=532 free_code_cache=35857856 largest_free_block=25344
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
谢了,不过一定得逮出来!
jvm crash的原因太难找,我的ubuntu下面开个eclipse会随机crash,找不到原因。
试试换jdk版本。