JVM 崩溃:- 有问题的框架:# V [libjvm.so+0x546720]

Posted

技术标签:

【中文标题】JVM 崩溃:- 有问题的框架:# V [libjvm.so+0x546720]【英文标题】:JVM crash :- Problematic frame: # V [libjvm.so+0x546720] 【发布时间】:2011-09-15 14:14:38 【问题描述】:

生产服务器宕机,初步分析发现它遇到了JVM崩溃。 jboss 服务器日志和 GC 日志似乎没问题。 jvm错误日志中提到了“Problematic frame:#V [libjvm.so+0x546720]”。

配置详情:-

服务器是具有 32 位 RHEL-5.2 的 64 位机器。 JAVA:jdk1.6.0_11 内存(RAM):2GB Java虚拟机的堆大小为-Xmx1024m。

`Java 运行时环境检测到意外错误: SIGSEGV (0xb) at pc=0x06546720, pid=5127, tid=1822063504

Java VM:Java HotSpot(TM) 服务器 VM(11.0-b16 混合模式 linux-x86) 有问题的框架: V [libjvm.so+0x546720]

如果您想提交错误报告,请访问: http://java.sun.com/webapps/bugreport/crash.jsp

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

当前线程(0x09a05400):GCTaskThread [堆栈: 0x6c927000,0x6c9a8000] [id=5130]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000008

寄存器:EAX=0x00000008,EBX=0xa60239c0,ECX=0x0000000c, EDX=0x0000000c ESP=0x6c9a6ea0,EBP=0x6c9a6f18,ESI=0x00003ece, EDI=0xe2c30913 EIP=0x06546720,CR2=0x00000008,EFLAGS=0x00010202

栈顶:(sp=0x6c9a6ea0) 0x6c9a6ea0: 004ac889 00000000 004b7ff4 6cb57c56 0x6c9a6eb0:00000000 09a06300 00000400 1c00dc04 0x6c9a6ec0: 00a039c8 00000008 00000000 01505e98 0x6c9a6ed0: 09a06328 09a06328 ffffffff ffffffff 0x6c9a6ee0: b3d06048 b3d0604c 6c9a6f18 0000000d 0x6c9a6ef0: b3d28450 00001000 00000001 00000001 0x6c9a6f00: a6026fc1 b3d05db8 b3d06048 b3d2861c 0x6c9a6f10: 00003ece 09a5fc40 6c9a6f58 065462c3

指令:(pc=0x06546720) 0x06546710: e0 01 84 c0 0f 84 16 05 00 00 8b 45 ac 83 e0 fd 0x06546720: 8b 00 c1 e8 03 83 e0 0f 3b 05 cc 28 6b 06 0f 8d

堆栈:[0x6c927000,0x6c9a8000],sp=0x6c9a6ea0,可用空间=511k 本机帧:(J=编译的 Java 代码,j=解释的,Vv=VM 代码, C=本机代码) V [libjvm.so+0x546720] V [libjvm.so+0x5462c3] V [libjvm.so+0x255c38] V [libjvm.so+0x5493ba] V [libjvm.so+0x32826b] V [libjvm.so+0x506709] C [libpthread.so.0+0x545b]

--------------- P R O C E S S ---------------

Java 线程:(=> 当前线程)0x0a745000 JavaThread “Keep-Alive-Timer”守护进程 [_thread_blocked, id=9822, 堆栈(0x68fe4000,0x69005000)] 0x6ae59000 JavaThread“Java2D Disposer”守护进程 [_thread_blocked, id=5496, 堆栈(0x6c2a7000,0x6c2c8000)] 0x6b245800 JavaThread“TP-Monitor” 守护进程 [_thread_blocked, id=5493, stack(0x69ca6000,0x69cc7000)] 0x6b244000 JavaThread“TP-Processor4”守护进程 [_thread_in_native, id=5492,堆栈(0x69cc7000,0x69ce8000)] 0x6b276c00 JavaThread “TP-Processor3”守护进程 [_thread_blocked, id=5491, 堆栈(0x69ce8000,0x69d09000)] 0x6b276800 JavaThread“TP-Processor2” 守护进程 [_thread_blocked, id=5490, stack(0x69d09000,0x69d2a000)] 0x6b276000 JavaThread“TP-Processor1”守护进程 [_thread_blocked, id=5489,堆栈(0x69d2a000,0x69d4b000)] 0x0ad39800 JavaThread "http-0.0.0.0-8080-Monitor" [_​​thread_blocked, id=5488, 堆栈(0x69d4b000,0x69d6c000)] 0x0ad38400 JavaThread “http-0.0.0.0-8080-Processor25”守护进程 [_thread_blocked, id=5487, 堆栈(0x69d6c000,0x69d8d000)] 0x0bd06c00 JavaThread “http-0.0.0.0-8080-Processor24”守护进程 [_thread_blocked, id=5486, 堆栈(0x69d8d000,0x69dae000)] 0x0bd05400 JavaThread “http-0.0.0.0-8080-Processor23”守护进程 [_thread_blocked, id=5485, 堆栈(0x69dae000,0x69dcf000)] 0x0bd03c00 JavaThread “http-0.0.0.0-8080-Processor22”守护进程 [_thread_blocked, id=5484, 堆栈(0x69dcf000,0x69df0000)] 0x0bd02400 JavaThread “http-0.0.0.0-8080-Processor21”守护进程 [_thread_blocked, id=5483, 堆栈(0x69df0000,0x69e11000)] 0x0bd00c00 JavaThread “http-0.0.0.0-8080-Processor20”守护进程 [_thread_in_native, id=5482, 堆栈(0x69e11000,0x69e32000)] 0x0bcff400 JavaThread “http-0.0.0.0-8080-Processor19”守护进程 [_thread_in_native, id=5481, 堆栈(0x69e32000,0x69e53000)] 0x0bcfa800 JavaThread “http-0.0.0.0-8080-Processor18”守护进程 [_thread_blocked, id=5480, 堆栈(0x69e53000,0x69e74000)] 0x0bcf9000 JavaThread “http-0.0.0.0-8080-Processor17”守护进程 [_thread_blocked, id=5479, 堆栈(0x69e74000,0x69e95000)] 0x0aaa8400 JavaThread “http-0.0.0.0-8080-Processor16”守护进程 [_thread_blocked, id=5478, 堆栈(0x69e95000,0x69eb6000)] 0x0aaa6c00 JavaThread “http-0.0.0.0-8080-Processor15”守护进程 [_thread_blocked, id=5477, 堆栈(0x69eb6000,0x69ed7000)] 0x0aaa2400 JavaThread “http-0.0.0.0-8080-Processor14”守护进程 [_thread_blocked, id=5476, 堆栈(0x69ed7000,0x69ef8000)] 0x0a371400 JavaThread “http-0.0.0.0-8080-Processor13”守护进程 [_thread_blocked, id=5475, 堆栈(0x69ef8000,0x69f19000)] 0x0a370000 JavaThread “http-0.0.0.0-8080-Processor12”守护进程 [_thread_blocked, id=5474, 堆栈(0x69f19000,0x69f3a000)] 0x0bd26c00 JavaThread “http-0.0.0.0-8080-Processor11”守护进程 [_thread_blocked, id=5473, 堆栈(0x69f3a000,0x69f5b000)] 0x0a93bc00 JavaThread “http-0.0.0.0-8080-Processor10”守护进程 [_thread_blocked, id=5472, 堆栈(0x69f5b000,0x69f7c000)] 0x0a93a400 JavaThread “http-0.0.0.0-8080-Processor9”守护进程 [_thread_blocked, id=5471, 堆栈(0x69f7c000,0x69f9d000)] 0x0a9e1c00 JavaThread “http-0.0.0.0-8080-Processor8”守护进程 [_thread_blocked, id=5470, 堆栈(0x69f9d000,0x69fbe000)] 0x0aa7bc00 JavaThread “http-0.0.0.0-8080-Processor7”守护进程 [_thread_blocked, id=5469, 堆栈(0x69fbe000,0x69fdf000)] 0x0a213c00 JavaThread “http-0.0.0.0-8080-Processor6”守护进程 [_thread_blocked, id=5468, 堆栈(0x69fdf000,0x6a000000)] 0x0aa0a400 JavaThread “http-0.0.0.0-8080-Processor5”守护进程 [_thread_blocked, id=5467, 堆栈(0x6a519000,0x6a53a000)] 0x0aa09400 JavaThread “http-0.0.0.0-8080-Processor4”守护进程 [_thread_blocked, id=5466, 堆栈(0x6a53a000,0x6a55b000)] 0x0a5d2000 JavaThread “http-0.0.0.0-8080-Processor3”守护进程 [_thread_blocked, id=5465, 堆栈(0x6a55b000,0x6a57c000)] 0x0a10bc00 JavaThread “http-0.0.0.0-8080-Processor2”守护进程 [_thread_blocked, id=5464, 堆栈(0x6a57c000,0x6a59d000)] 0x09d72800 JavaThread “http-0.0.0.0-8080-Processor1”守护进程 [_thread_blocked, id=5463, 堆栈(0x6a59d000,0x6a5be000)] 0x0a006c00 JavaThread "JBossLifeThread" [_thread_blocked, id=5462, 堆栈(0x6a5be000,0x6a5df000)] 0x6b652400 JavaThread“Timer-4”守护进程 [_thread_blocked,id=5461,堆栈(0x6a5df000,0x6a600000)] 0x0a45f400 JavaThread "TestScheduler_QuartzSchedulerThread" [_thread_blocked, id=5460, 堆栈(0x6a832000,0x6a853000)] 0x0a542c00 JavaThread "TestScheduler_Worker-11" [_thread_blocked, id=5459, 堆栈(0x6a853000,0x6a874000)] 0x09fe9000 JavaThread "TestScheduler_Worker-10" [_thread_blocked, id=5458, 堆栈(0x6a874000,0x6a895000)] 0x0a3c8000 JavaThread "TestScheduler_Worker-9" [_thread_blocked, id=5457, 堆栈(0x6a895000,0x6a8b6000)] 0x0b27d800 JavaThread "TestScheduler_Worker-8" [_thread_blocked, id=5456, 堆栈(0x6a8b6000,0x6a8d7000)] 0x0bc9e800 JavaThread "TestScheduler_Worker-7" [_thread_blocked, id=5455, 堆栈(0x6a8d7000,0x6a8f8000)] 0x0a595000 JavaThread "TestScheduler_Worker-6" [_thread_blocked, id=5454, 堆栈(0x6a8f8000,0x6a919000)] 0x0abe7c00 JavaThread "TestScheduler_Worker-5" [_thread_blocked, id=5453, 堆栈(0x6a919000,0x6a93a000)] 0x0a1be400 JavaThread "TestScheduler_Worker-4" [_thread_blocked, id=5452, 堆栈(0x6a93a000,0x6a95b000)] 0x0a996c00 JavaThread "TestScheduler_Worker-3" [_thread_blocked, id=5451, 堆栈(0x6a95b000,0x6a97c000)] 0x0abea400 JavaThread "TestScheduler_Worker-2" [_thread_blocked, id=5450, 堆栈(0x6a97c000,0x6a99d000)] 0x0a5f7800 JavaThread "TestScheduler_Worker-1" [_thread_blocked, id=5449, 堆栈(0x6a99d000,0x6a9be000)] 0x0a5f7400 JavaThread "TestScheduler_Worker-0" [_thread_blocked, id=5448, 堆栈(0x6a9be000,0x6a9df000)] 0x0a2c1c00 JavaThread“线程 12” 守护进程 [_thread_blocked, id=5447, stack(0x6a9df000,0x6aa00000)] 0x0a85cc00 JavaThread "Thread-11" 守护进程 [_thread_in_native, id=5446, 堆栈(0x6ab19000,0x6ab3a000)] 0x0a7cb800 JavaThread “ElementEventQueue.QProcessor-1”守护进程 [_thread_blocked, id=5445, 堆栈(0x6ab5b000,0x6ab7c000)] 0x0a504800 JavaThread“线程 9” [_thread_blocked,id=5442,堆栈(0x6ab3a000,0x6ab5b000)] 0x0ad5c400 JavaThread "Timer-3" 守护进程 [_thread_blocked, id=5437, 堆栈(0x6ab7c000,0x6ab9d000)] 0x0b284000 JavaThread "Timer-2" 守护进程 [_thread_blocked,id=5436,堆栈(0x6ab9d000,0x6abbe000)] 0x0aef7c00 JavaThread "Thread-5" [_thread_blocked, id=5435, 堆栈(0x6abbe000,0x6abdf000)] 0x0a1dd400 JavaThread“线程 4” [_thread_blocked,id=5434,堆栈(0x6b06d000,0x6b08e000)] 0x0a7df400 JavaThread“目标的连接消费者 订阅[subId=-2147483648connection=ConnectionToken:ID:2/b744868be8f2f16c9ebefdb987f81c71 目的地=TOPIC.MastersSubscriberMDB messageSelector=null 本地 创建] id=2" [_thread_blocked, id=5433, stack(0x6b08e000,0x6b0af000)] 0x0b26fc00 JavaThread“目标的连接消费者 订阅[subId=-2147483648connection=ConnectionToken:ID:1/fcba95a2a4e911261ee0d2731536dba2 目的地=TOPIC.EPrescriptionMDB messageSelector=null 本地创建] id=1" [_thread_blocked, id=5432, stack(0x6b0af000,0x6b0d0000)] 0x6b62f000 JavaThread "UILServerILService 接受线程" [_thread_in_native, id=5431, 堆栈(0x6b35b000,0x6b37c000)] 0x6b1e8400 JavaThread "JCA PoolFiller" [_​​thread_blocked, id=5430, 堆栈(0x6b37c000,0x6b39d000)] 0x6bbf4400 JavaThread“IdleRemover” [_thread_blocked,id=5429,堆栈(0x6b39d000,0x6b3be000)] 0x6b6aec00 JavaThread "TimeoutFactory" 守护进程 [_thread_blocked, id=5428, 堆栈(0x6b3be000,0x6b3df000)] 0x6bc8f400 JavaThread“Timer-1”守护进程 [_thread_blocked,id=5427,堆栈(0x6abdf000,0x6ac00000)] 0x6bccd400 JavaThread "JBossMQ Cache Reference Softner" 守护进程 [_thread_blocked, id=5426, 堆栈(0x6a800000,0x6a821000)] 0x0a514400 JavaThread "HSQLDB 计时器 @1ab5dae" 守护进程 [_thread_blocked, id=5424, 堆栈(0x6b3df000,0x6b400000)] 0x0a411400 JavaThread “ContainerBackgroundProcessor[StandardEngine[jboss.web]]”守护进程 [_thread_blocked,id=5422,堆栈(0x6b788000,0x6b7a9000)] 0x09f58400 JavaThread "PooledInvokerAcceptor#0-4445" [_thread_in_native, id=5421, 堆栈(0x6b7f8000,0x6b819000)] 0x09f59000 JavaThread“RMI TCP Accept-4444" 守护进程 [_thread_in_native, id=5420, 堆栈(0x6b819000,0x6b83a000)] 0x09f46800 JavaThread “ClassLoadingPool(2)-1”守护进程 [_thread_in_native, id=5419, stack(0x6b83a000,0x6b85b000)] 0x09f3b000 JavaThread "JBoss 系统 Threads(1)-1" 守护进程 [_thread_in_native, id=5418, 堆栈(0x6b85b000,0x6b87c000)] 0x09f87400 JavaThread “GC 守护程序” 守护进程 [_thread_blocked, id=5417, stack(0x6b87c000,0x6b89d000)] 0x09f88c00 JavaThread "RMI 收割者" [_thread_blocked, id=5416, 堆栈(0x6b89d000,0x6b8be000)] 0x09f88400 JavaThread“RMI TCP Accept-1098" 守护进程 [_thread_in_native, id=5415, 堆栈(0x6b8be000,0x6b8df000)] 0x09f78c00 JavaThread “ScannerThread” 守护进程 [_thread_blocked, id=5414, stack(0x6b8df000,0x6b900000)] 0x09f3e800 JavaThread "Timer-0" 守护进程 [_thread_blocked, id=5413, 堆栈(0x6ba39000,0x6ba5a000)] 0x099fcc00 JavaThread “DestroyJavaVM” [_thread_blocked,id=5128,堆栈(0xb7f24000,0xb7f45000)] 0x09a9f000 JavaThread“低内存检测器”守护进程 [_thread_blocked, id=5137, 堆栈(0x6c349000,0x6c36a000)] 0x09a9d400 JavaThread “CompilerThread1”守护进程 [_thread_blocked, id=5136, 堆栈(0x6c36a000,0x6c3eb000)] 0x09a9a400 JavaThread “CompilerThread0”守护进程 [_thread_blocked, id=5135, 堆栈(0x6c3eb000,0x6c46c000)] 0x09a98c00 JavaThread“信号 Dispatcher”守护进程 [_thread_blocked, id=5134, 堆栈(0x6c46c000,0x6c48d000)] 0x09a85c00 JavaThread“终结器” 守护进程 [_thread_blocked, id=5133, stack(0x6c68d000,0x6c6ae000)] 0x09a84400 JavaThread“引用处理程序”守护进程 [_thread_blocked, id=5132, 栈(0x6c6ae000,0x6c6cf000)]

其他主题:

0x09a80c00 VMThread [堆栈:0x6c6cf000,0x6c750000] [id=5131] 0x09aa1000 WatcherThread [堆栈:0x6c2c8000,0x6c349000] [id=5138]

=>0x09a05400(已退出)GCTaskThread [堆栈:0x6c927000,0x6c9a8000] [id=5130]

VM 状态:在安全点(正常执行)

VM Mutex/Monitor 当前由一个线程拥有:([mutex/lock_event]) [0x099faff8] 未知 - 所有者线程:0x09a80c00 [0x099fb408] 未知 - 所有者线程:0x0bd03c00

堆 PSYoungGen 总计 328704K,已使用 313529K [0x9f8b0000, 0xb4e00000, 0xb4e00000) 伊甸园空间 307904K, 100% 已使用 [0x9f8b0000,0xb2560000,0xb2560000) 来自空间 20800K,已使用 27% [0xb2560000,0xb2ade6b0,0xb39b0000) 到空间 20352K, 25% used [0xb3a20000,0xb3f2e800,0xb4e00000) PSOldGen 总计 699072K, 使用 489011K [0x74e00000, 0x9f8b0000, 0x9f8b0000) 对象空间 699072K,69% 已使用 [0x74e00000,0x92b8cca8,0x9f8b0000) PSPermGen 总计 131072K,已使用 102017K [0x6ce00000, 0x74e00000, 0x74e00000) 对象空间 131072K,已使用 77% [0x6ce00000,0x731a0488,0x74e00000)

动态库:

00312000-0032c000 r-xp 00000000 03:03 20776307 /lib/ld-2.5.so 0032c000-0032d000 r-xp 00019000 03:03 20776307 /lib/ld-2.5.so 0032d000-0032e000 rwxp 0001a000 03:03 20776307 /lib/ld-2.5.so 00330000-0046d000 r-xp 00000000 03:03 20776308 /lib/libc-2.5.so 0046d000-0046f000 r-xp 0013d000 03:03 20776308 /lib/libc-2.5.so 0046f000-00470000 rwxp 0013f000 03:03 20776308 /lib/libc-2.5.so 00470000-00473000 rwxp 00470000 00:00 0 00475000-0049a000 r-xp 00000000 03:03 20776309 /lib/libm-2.5.so 0049a000-0049b000 r-xp 00024000 03:03 20776309 /lib/libm-2.5.so 0049b000-0049c000 rwxp 00025000 03:03 20776309 /lib/libm-2.5.so 0049e000-004a0000 r-xp 00000000 03:03 20776314 /lib/libdl-2.5.so 004a0000-004a1000 r-xp 00001000 03:03 20776314 /lib/libdl-2.5.so 004a1000-004a2000 rwxp 00002000 03:03 20776314 /lib/libdl-2.5.so 004a4000-004b7000 r-xp 00000000 03:03 20776311 /lib/libpthread-2.5.so 004b7000-004b8000 r-xp 00012000 03:03 20776311 /lib/libpthread-2.5.so 004b8000-004b9000 rwxp 00013000 03:03 20776311 /lib/libpthread-2.5.so 004b9000-004bb000 rwxp 004b9000 00:00 0 008da000-008e1000 r-xp 00000000 03:03 20776312 /lib/librt-2.5.so 008e1000-008e2000 r-xp 00006000 03:03 20776312 /lib/librt-2.5.so 008e2000-008e3000 rwxp 00007000 03:03 20776312 /lib/librt-2.5.so 008eb000-008fa000 r-xp 00000000 03:03 20776327 /lib/libresolv-2.5.so 008fa000-008fb000 r-xp 0000e000 03:03 20776327 /lib/libresolv-2.5.so 008fb000-008fc000 rwxp 0000f000 03:03 20776327 /lib/libresolv-2.5.so 008fc000-008fe000 rwxp 008fc000 00:00 0 00c74000-00c87000 r-xp 00000000 03:03 20776313 /lib/libnsl-2.5.so 00c87000-00c88000 r-xp 00012000 03:03 20776313 /lib/libnsl-2.5.so 00c88000-00c89000 rwxp 00013000 03:03 20776313 /lib/libnsl-2.5.so 00c89000-00c8b000 rwxp 00c89000 00:00 0 06000000-06676000 r-xp 00000000 03:03 4620339 /usr/local/java/jdk1.6.0_11/jre/lib/i386/server/libjvm.so 06676000-066bb000 rwxp 00675000 03:03 4620339 /usr/local/java/jdk1.6.0_11/jre/lib/i386/server/libjvm.so 066bb000-06add000 rwxp 066bb000 00:00 0 08048000-08052000 r-xp 00000000 03:03 4685976 /usr/local/java/jdk1.6.0_11/bin/java 08052000-08053000 rwxp 00009000 03:03 4685976 /usr/local/java/jdk1.6.0_11/bin/java 099f7000-0bd51000 rwxp 099f7000 00:00 0 68c00000-68cd8000 rwxp 68c00000 00:00 0 68cd8000-68d00000 --xp 68cd8000 00:00 0 68e00000-68efc000 rwxp 68e00000 00:00 0 68efc000-68f00000 --xp 68efc000 00:00 0 68fe4000-68fe7000 --xp 68fe4000 00:00 0 68fe7000-69005000 rwxp 68fe7000 00:00 0 69005000-69008000 rwxp 69005000 00:00 0 69008000-69026000 rwxp 69008000 00:00 0 69026000-69045000 r-xs 00000000 03:03 4166654 /usr/share/X11/fonts/Type1/courb.pfa 69045000-69059000 r-xs 00000000 03:03 4166663 /usr/share/X11/fonts/Type1/l047016t.pfa ................ b7f59000-b7f5a000 rwxp b7f59000 00:00 0 b7f5a000-b7f5b000 --xp b7f5a000 00:00 0 b7f5b000-b7f5c000 rwxp b7f5b000 00:00 0 b7f5c000-b7f5d000 r-xp b7f5c000 00:00 0 [vdso] bfb27000-bfb3d000 rwxp bfb27000 00:00 0 [堆栈]

VM 参数:

jvm_args: -Dprogram.name=run.sh -Xmx1024m -Xms1024m -Xss128k -Dsalmon.props.path=/usr/local/jboss/jboss-3.2.7/server/default/deploy/jbossweb-tomcat50.sar/salmonprops -Djava.awt.headless=true -verbose:gc -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:PermSize=128m -XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval =3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.io.tmpdir=/tmp -Xloggc:/usr/local/jboss/jboss-3.2.7/server/default/log/gclog.log -XX :+DisableExplicitGC -Djava.endorsed.dirs=/usr/local/jboss/jboss-3.2.7/lib/endorsed java_command: org.jboss.Main 启动器类型:SUN_STANDARD

环境变量:

PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/jboss/bin LD_LIBRARY_PATH=/usr/local/java/jdk1.6.0_11/jre/lib/i386/server:/usr/local/java/jdk1.6.0_11/jre/lib/i386:/usr/local/java/jdk1.6.0 _11/jre/../lib/i386 SHELL=/bin/bash

信号处理程序:

SIGSEGV:[libjvm.so+0x606fd0],sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS:[libjvm.so+0x606fd0], sa_mask[0]=0x7ffbfeff,sa_flags=0x10000004 SIGFPE: [libjvm.so+0x504690],sa_mask[0]=0x7ffbfeff,sa_flags=0x10000004 SIGPIPE:[libjvm.so+0x504690],sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ:[libjvm.so+0x504690], sa_mask[0]=0x7ffbfeff,sa_flags=0x10000004 SIGILL: [libjvm.so+0x504690],sa_mask[0]=0x7ffbfeff,sa_flags=0x10000004 SIGUSR1:SIG_DFL,sa_mask[0]=0x00000000,sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x506b60],sa_mask[0]=0x00000000,sa_flags=0x10000004 SIGHUP:[libjvm.so+0x506900],sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT:SIG_IGN,sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGTERM: [libjvm.so+0x506900], sa_mask[0]=0x7ffbfeff,sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x506900], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004

--------------- S Y S T E M ---------------

操作系统:红帽企业 Linux 服务器版本 5.2 (Tikanga)

uname:Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 libc:glibc 2.5 NPTL 2.5 rlimit:堆栈 10240k,核心 0k,NPROC 32601,NOFILE 1024,AS 无穷大 平均负载:0.10 0.06 0.02

CPU:共 2 个(每个 cpu 2 个内核,每个内核 1 个线程)family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

内存:4k 页面,物理 2065048k(434208k 免费),交换 4192956k(4192956k 免费)

vm_info:用于 linux-x86 JRE (1.6.0_11-b03) 的 Java HotSpot(TM) 服务器 VM (11.0-b16),由“java_re”和 gcc 3.2.1-于 2008 年 11 月 10 日 01:21:35 构建7a(J2SE 版本)

时间:2011 年 6 月 14 日星期二 15:50:47 经过时间:17909 秒`

【问题讨论】:

好的,你的生产服务器崩溃了。你想从我们这里得到什么? 【参考方案1】:

嗯,你是在一台大约有 2GB 内存的机器上运行你是一个 2GB 堆的 JVM,而堆并不是 JVM(或与此相关的系统)中唯一使用内存的东西。堆访问是否可能导致页面错误(强制它进入交换)?我不希望 JVM 在那种情况下呕吐,但我想这是可能的。

编辑:对不起,误读了。 1GB 堆,2GB 内存。那我想我也不知道。

【讨论】:

【参考方案2】:

尝试检查系统中的硬件。也许记忆已经过时了。 首先对硬件进行基准测试(在 linux 中使用 sysbench)。 换个内存就好了。

【讨论】:

以上是关于JVM 崩溃:- 有问题的框架:# V [libjvm.so+0x546720]的主要内容,如果未能解决你的问题,请参考以下文章

JVM 在 libzip.so 崩溃

JVM崩溃..如何获取错误日志或核心转储

抗崩溃的Java IPC

JVM崩溃。如何获取错误日志或核心转储

JVM 监控,调优,调试

如何获取 Java.exe/jvm.dll 的符号文件以分析崩溃核心转储文件?