我的jboss服务器有时会因JVM崩溃而失败。这是第二次。第一次是2015/06/16,第二次是2015/07/02。 这是错误报告:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d976a44, pid=5644, tid=1500
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0xe6a44]
#
# 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 (0x0000000002822800): GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=1500]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000018
Registers:
RAX=0x0000000000000002, RBX=0x000000068454e2a8, RCX=0x0000000000000003, RDX=0x0000000000000000
RSP=0x000000000947f4d0, RBP=0x000000210067006e, RSI=0x00000006a8da21a8, RDI=0x0000000029931748
R8 =0x0000000000000010, R9 =0x0000000699725b01, R10=0x000000000000000c, R11=0x000000000947f4c8
R12=0x0000000000000001, R13=0x0000000000000001, R14=0x000000000000000c, R15=0x0000000000000010
RIP=0x000000006d976a44, EFLAGS=0x0000000000010297
Top of Stack: (sp=0x000000000947f4d0)
0x000000000947f4d0: 000000068454e330 0000000000000005
0x000000000947f4e0: 00000006a8da21a4 000000068454e330
0x000000000947f4f0: 000000000bbc99e0 0000000000000010
0x000000000947f500: 000000000000000c 000000001a4da1f0
0x000000000947f510: 00000006a8da2230 000000006d9a068a
0x000000000947f520: 00000006a8da21a8 0000000000000007
0x000000000947f530: 00000006a8da21c0 000000000947f670
0x000000000947f540: 00000006a8dbe200 00000006a8da2188
0x000000000947f550: 000000001a4da1f0 000000000947f610
0x000000000947f560: 000000000947f670 000000006dc08e03
0x000000000947f570: 000000000947f670 000000000947f610
0x000000000947f580: 000000001a4da1f0 00000006a8da2118
0x000000000947f590: 00000006a8da2000 0000000000000046
0x000000000947f5a0: 000000000a2bad10 00000006a8da2000
0x000000000947f5b0: 0000000000000040 000000000a2bad0f
0x000000000947f5c0: 000000001a4da1f0 000000000947f720
Instructions: (pc=0x000000006d976a44)
0x000000006d976a24: 88 31 2f 00 0f b6 0d 01 e8 61 00 48 2b 05 f2 e7
0x000000006d976a34: 61 00 48 d3 e8 89 06 e9 d2 00 00 00 4c 8d 42 10
0x000000006d976a44: 48 63 52 18 8b ca c1 f9 03 85 d2 7f 65 85 d2 79
0x000000006d976a54: 50 80 3d 04 3e 65 00 00 4c 63 0d 81 41 63 00 4c
Register to memory mapping:
RAX=0x0000000000000002 is an unknown value
RBX=0x000000068454e2a8 is an oop
[C
- klass: {type array char}
- length: 152
RCX=0x0000000000000003 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x000000000947f4d0 is an unknown value
RBP=0x000000210067006e is an unknown value
RSI=0x00000006a8da21a8 is an oop
[Ljava.lang.Object;
- klass: 'java/lang/Object'[]
- length: 10
RDI=0x0000000029931748 is an unknown value
R8 =0x0000000000000010 is an unknown value
R9 =
[error occurred during error reporting (printing register info), id 0xc0000005]
Stack: [0x0000000000000000,0x0000000000000000], sp=0x000000000947f4d0, free space=152061k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xe6a44]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000034728800 JavaThread "Thread-9636" daemon [_thread_blocked, id=1048, stack(0x000000004f3c0000,0x000000004f4c0000)]
0x000000003472c000 JavaThread "Thread-9635" daemon [_thread_blocked, id=44104, stack(0x000000004f0c0000,0x000000004f1c0000)]
0x0000000034721800 JavaThread "Thread-9634" daemon [_thread_blocked, id=44572, stack(0x000000004f2c0000,0x000000004f3c0000)]
0x0000000034706000 JavaThread "http--0.0.0.0-8080-690" daemon [_thread_blocked, id=11996, stack(0x00000000822f0000,0x00000000823f0000)]
.............
0x00000000179b9800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3036, stack(0x0000000018620000,0x0000000018720000)]
0x00000000179b4800 JavaThread "Attach Listener" daemon [_thread_blocked, id=49832, stack(0x0000000018520000,0x0000000018620000)]
0x0000000017970800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3056, stack(0x0000000018420000,0x0000000018520000)]
0x000000001796b800 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=38844, stack(0x0000000018320000,0x0000000018420000)]
0x000000001795c000 JavaThread "Finalizer" daemon [_thread_blocked, id=32644, stack(0x0000000018220000,0x0000000018320000)]
0x0000000017952000 JavaThread "Reference Handler" daemon [_thread_blocked, id=13512, stack(0x0000000018120000,0x0000000018220000)]
Other Threads:
0x000000001794c800 VMThread [stack: 0x0000000018020000,0x0000000018120000] [id=51216]
0x00000000179fd000 WatcherThread [stack: 0x0000000019620000,0x0000000019720000] [id=53540]
=>0x0000000002822800 (exited) GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=1500]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00000000006eb9b0] Threads_lock - owner thread: 0x000000001794c800
[0x00000000006ebf30] Heap_lock - owner thread: 0x00000000278ca000
Heap
par new generation total 440896K, used 394151K [0x0000000681800000, 0x000000069f660000, 0x000000069f660000)
eden space 391936K, 100% used [0x0000000681800000, 0x00000006996c0000, 0x00000006996c0000)
from space 48960K, 4% used [0x000000069c690000, 0x000000069c8b9e18, 0x000000069f660000)
to space 48960K, 1% used [0x00000006996c0000, 0x00000006997ae3c8, 0x000000069c690000)
concurrent mark-sweep generation total 3704448K, used 691390K [0x000000069f660000, 0x0000000781800000, 0x0000000781800000)
concurrent-mark-sweep perm gen total 2072576K, used 163349K [0x0000000781800000, 0x0000000800000000, 0x0000000800000000)
Code Cache [0x0000000002900000, 0x0000000008900000, 0x0000000008900000)
total_blobs=22430 nmethods=21623 adapters=716 free_code_cache=624768 largest_free_block=12416
Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:\Program Files\Java\jdk1.6.0_26\bin\java.exe
0x00000000772b0000 - 0x000000007745b000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000077090000 - 0x00000000771af000 C:\Windows\system32\kernel32.dll
0x000007fefd400000 - 0x000007fefd46b000 C:\Windows\system32\KERNELBASE.dll
0x000007feff4e0000 - 0x000007feff5bb000 C:\Windows\system32\ADVAPI32.dll
0x000007fefd6d0000 - 0x000007fefd76f000 C:\Windows\system32\msvcrt.dll
0x000007feff300000 - 0x000007feff31f000 C:\Windows\SYSTEM32\sechost.dll
0x000007feff330000 - 0x000007feff45e000 C:\Windows\system32\RPCRT4.dll
0x000000006d890000 - 0x000000006e048000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\server\jvm.dll
0x00000000771b0000 - 0x00000000772aa000 C:\Windows\system32\USER32.dll
0x000007fefd770000 - 0x000007fefd7d7000 C:\Windows\system32\GDI32.dll
0x000007feff070000 - 0x000007feff07e000 C:\Windows\system32\LPK.dll
0x000007fefda60000 - 0x000007fefdb2a000 C:\Windows\system32\USP10.dll
0x000007fefb210000 - 0x000007fefb24b000 C:\Windows\system32\WINMM.dll
0x000007fefee40000 - 0x000007fefee6e000 C:\Windows\system32\IMM32.DLL
0x000007fefdc10000 - 0x000007fefdd19000 C:\Windows\system32\MSCTF.dll
0x000000006d800000 - 0x000000006d80e000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\verify.dll
0x000000006d450000 - 0x000000006d477000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\java.dll
0x0000000077480000 - 0x0000000077487000 C:\Windows\system32\PSAPI.DLL
0x000000006d850000 - 0x000000006d862000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\zip.dll
0x000000006d5e0000 - 0x000000006d5ea000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\management.dll
0x000000006d6a0000 - 0x000000006d6b7000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\net.dll
0x000007fefd680000 - 0x000007fefd6cd000 C:\Windows\system32\WS2_32.dll
0x000007feff320000 - 0x000007feff328000 C:\Windows\system32\NSI.dll
0x000007fefcb30000 - 0x000007fefcb84000 C:\Windows\system32\mswsock.dll
0x000007fefcb20000 - 0x000007fefcb27000 C:\Windows\System32\wship6.dll
0x000007fefb430000 - 0x000007fefb457000 C:\Windows\system32\iphlpapi.dll
0x000007fefb400000 - 0x000007fefb40b000 C:\Windows\system32\WINNSI.DLL
0x000000006d6c0000 - 0x000000006d6cb000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\nio.dll
0x000007fefcc90000 - 0x000007fefcca7000 C:\Windows\system32\CRYPTSP.dll
0x000007fefc5d0000 - 0x000007fefc617000 C:\Windows\system32\rsaenh.dll
0x000007fefc540000 - 0x000007fefc55e000 C:\Windows\system32\USERENV.dll
0x000007fefd210000 - 0x000007fefd21f000 C:\Windows\system32\profapi.dll
0x000007fefd100000 - 0x000007fefd10f000 C:\Windows\system32\CRYPTBASE.dll
0x000007fefbfa0000 - 0x000007fefbfb5000 C:\Windows\system32\NLAapi.dll
0x000007fefc880000 - 0x000007fefc8db000 C:\Windows\system32\DNSAPI.dll
0x000007fefc440000 - 0x000007fefc447000 C:\Windows\System32\wshtcpip.dll
0x000007fefa050000 - 0x000007fefa05b000 C:\Windows\System32\winrnr.dll
0x000007fefa030000 - 0x000007fefa045000 C:\Windows\system32\napinsp.dll
0x000007fefaca0000 - 0x000007fefacf3000 C:\Windows\System32\fwpuclnt.dll
0x000007fefa060000 - 0x000007fefa068000 C:\Windows\system32\rasadhlp.dll
0x000007fefadc0000 - 0x000007fefadd8000 C:\Windows\system32\dhcpcsvc.DLL
0x000007fefac70000 - 0x000007fefac81000 C:\Windows\system32\dhcpcsvc6.DLL
0x000007fefd0a0000 - 0x000007fefd0f7000 C:\Windows\system32\apphelp.dll
0x000000001f980000 - 0x000000001f9f0000 D:\htsoft\jboss-as-7.1.0.Final\standalone\deployments\ht_deform.war\WEB-INF\classes\native\sigar-amd64-winnt.dll
0x000007fef94e0000 - 0x000007fef952e000 C:\Windows\system32\pdh.dll
0x000007fefdd20000 - 0x000007fefeaa6000 C:\Windows\system32\SHELL32.dll
0x000007fefeff0000 - 0x000007feff061000 C:\Windows\system32\SHLWAPI.dll
0x000007fefc370000 - 0x000007fefc37c000 C:\Windows\system32\VERSION.dll
0x000007fefab30000 - 0x000007fefab46000 C:\Windows\system32\NETAPI32.dll
0x000007fefab20000 - 0x000007fefab2c000 C:\Windows\system32\netutils.dll
0x000007fefcd20000 - 0x000007fefcd43000 C:\Windows\system32\srvcli.dll
0x000007fefab00000 - 0x000007fefab15000 C:\Windows\system32\wkscli.dll
0x000007fefeab0000 - 0x000007fefecb1000 C:\Windows\system32\ole32.dll
0x000007fefdb30000 - 0x000007fefdc07000 C:\Windows\system32\OLEAUT32.dll
0x000000006d0a0000 - 0x000000006d263000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\awt.dll
0x000007fefb250000 - 0x000007fefb2c0000 C:\Windows\system32\WINSPOOL.DRV
0x000007fefbbb0000 - 0x000007fefbda4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_fa645303170382f6\COMCTL32.dll
0x000007fefd2c0000 - 0x000007fefd360000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_a44af8ec57f961cf\comctl32.dll
0x000007fefb4c0000 - 0x000007fefb4d8000 C:\Windows\system32\DWMAPI.DLL
0x000000006d340000 - 0x000000006d3a6000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\fontmanager.dll
0x000000006d270000 - 0x000000006d2ad000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\cmm.dll
0x000000006d2b0000 - 0x000000006d2d8000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\dcpr.dll
0x0000000180000000 - 0x0000000180021000 C:\Program Files\Java\jdk1.6.0_26\bin\jacob-1.14.3-x64.dll
0x0000000074090000 - 0x0000000074159000 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_88dce9872fb18caf\MSVCR80.dll
0x000007fefd5e0000 - 0x000007fefd679000 C:\Windows\system32\CLBCatQ.DLL
VM Arguments:
jvm_args: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:PermSize=2024M -XX:MaxPermSize=2024M -Xms4096m -Xmx4096m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-ReduceInitialCardMarks -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml -Dorg.jboss.boot.log.file=D:\htsoft\jboss-as-7.1.0.Final\standalone\log\boot.log -Dlogging.configuration=file:D:\htsoft\jboss-as-7.1.0.Final\standalone/configuration/logging.properties
java_command: D:\htsoft\jboss-as-7.1.0.Final\jboss-modules.jar -mp D:\htsoft\jboss-as-7.1.0.Final\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=D:\htsoft\jboss-as-7.1.0.Final
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_26
PATH=.;C:\Program Files\Java\jdk1.6.0_26\BIN;D:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows;C:\Windows\system32;C:\Windows\wbem;
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.1 Build 7600
CPU:total 32 (8 cores per cpu, 2 threads per core) family 6 model 45 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 16585320k(4234280k free), swap 33168744k(13970500k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.1-b02) for windows-amd64 JRE (1.6.0_26-b03), built on May 4 2011 07:15:24 by "java_re" with MS VC++ 8.0 (VS2005)
time: Fri Jul 03 04:23:21 2015
elapsed time: 131392 seconds
是我的jvm参数是对的吗? 我注意到,堆中的伊甸园空间是100%使用的。我可以做些什么来适应这个问题?