tomcat跑一个工程,一段时间之后自动就停止了,时间大概是半个小时或者1一个小时,在tomcat目录下面的bin文件夹下面发现了hs_err_pid3956.log这个文件,没看明白,求分析!
hs_err_pid3956.log 日志信息:#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (0xe0434f4d), pid=3956, tid=1208
#
# JRE version: 6.0_39-b04
# Java VM: Java HotSpot(TM) Client VM (20.14-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [KERNELBASE.dll+0xc41f]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#---------------  T H R E A D  ---------------Current thread (0x05a99c00):  JavaThread "schedulerFactory_Worker-1" [_thread_in_native, id=1208, stack(0x05c50000,0x05ca0000)]siginfo: ExceptionCode=0xe0434f4d, ExceptionInformation=0x8013101b Registers:
EAX=0x05c9e6b4, EBX=0xe0434f4d, ECX=0x00000001, EDX=0x00000000
ESP=0x05c9e6b4, EBP=0x05c9e704, ESI=0x05c9e73c, EDI=0x00345f60
EIP=0x75e6c41f, EFLAGS=0x00000216Top of Stack: (sp=0x05c9e6b4)
0x05c9e6b4:   e0434f4d 00000001 00000000 75e6c41f
0x05c9e6c4:   00000001 8013101b 02000038 05c9e6e0
0x05c9e6d4:   6c6df3c4 05c9e6e8 02000038 05c9e6ec
0x05c9e6e4:   6c6df837 684a0e24 05c9e6fc 6c777b17
0x05c9e6f4:   68479a10 00000130 05c9e70c 6c777b3e
0x05c9e704:   05c9e764 6c777cc4 e0434f4d 00000001
0x05c9e714:   00000001 05c9e73c c7a369bf 00000000
0x05c9e724:   08071a60 05c9e7d4 05c53000 00354ae8 Instructions: (pc=0x75e6c41f)
0x75e6c3ff:   02 50 ff 75 14 8d 45 c4 50 e8 35 ad 02 00 83 c4
0x75e6c40f:   0c eb 03 89 45 c0 8d 45 b0 50 ff 15 5c 11 e6 75
0x75e6c41f:   c9 c2 10 00 cc cc cc cc cc 8b ff 55 8b ec 56 8b
0x75e6c42f:   75 08 83 fe f4 72 18 83 fe f6 77 13 8d 45 08 50 
Register to memory mapping:EAX=0x05c9e6b4 is pointing into the stack for thread: 0x05a99c00
EBX=0xe0434f4d is an unknown value
ECX=0x00000001 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x05c9e6b4 is pointing into the stack for thread: 0x05a99c00
EBP=0x05c9e704 is pointing into the stack for thread: 0x05a99c00
ESI=0x05c9e73c is pointing into the stack for thread: 0x05a99c00
EDI=0x00345f60 is an unknown value
Stack: [0x05c50000,0x05ca0000],  sp=0x05c9e6b4,  free space=313k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [KERNELBASE.dll+0xc41f]  RaiseException+0x58
C  [mscorwks.dll+0xa7cc4]  DllRegisterServerInternal+0x51abe
C  [mscorwks.dll+0x110c3c]  CopyPDBs+0x39f0
C  [mscorwks.dll+0x1bd361]  CorDllMainForThunk+0xc3
C  [MSCOREE.DLL+0x23ccf]  CorImageUnloading+0x3994
C  [MSCOREE.DLL+0x1a7e1]  ND_CopyObjDst+0x113
C  [MSCOREE.DLL+0x248ee]  CorImageUnloading+0x45b3
j org.springframework.scheduling.quartz.QuartzJobBean.execute(Lorg/quartz/JobExecutionContext;)V+81
j  org.quartz.core.JobRunShell.run()V+255
J  org.quartz.simpl.SimpleThreadPool$WorkerThread.run()V
v  ~StubRoutines::call_stub---------------  P R O C E S S  ---------------Java Threads: ( => current thread )
  0x05965c00 JavaThread "http-bio-8088-exec-6" daemon [_thread_blocked, id=7440, stack(0x07a40000,0x07a90000)]
  0x05963800 JavaThread "ajp-bio-8008-AsyncTimeout" daemon [_thread_blocked, id=6160, stack(0x07800000,0x07850000)]
 Other Threads:
  0x0254e400 VMThread [stack: 0x04670000,0x046c0000] [id=4092]
  0x025b9400 WatcherThread [stack: 0x04a60000,0x04ab0000] [id=8040]VM state:not at safepoint (normal execution)VM Mutex/Monitor currently owned by a thread: NoneHeap
 def new generation   total 78656K, used 66615K [0x241e0000, 0x29730000, 0x29730000)
  eden space 69952K,  87% used [0x241e0000, 0x27d68a30, 0x28630000)
  from space 8704K,  64% used [0x28630000, 0x28bb52d8, 0x28eb0000)
  to   space 8704K,   0% used [0x28eb0000, 0x28eb0000, 0x29730000)
 tenured generation   total 174784K, used 163027K [0x29730000, 0x341e0000, 0x341e0000)
   the space 174784K,  93% used [0x29730000, 0x33664da0, 0x33664e00, 0x341e0000)
 compacting perm gen  total 45056K, used 44969K [0x341e0000, 0x36de0000, 0x381e0000)
   the space 45056K,  99% used [0x341e0000, 0x36dca688, 0x36dca800, 0x36de0000)
    ro space 10240K,  55% used [0x381e0000, 0x38763148, 0x38763200, 0x38be0000)
    rw space 12288K,  55% used [0x38be0000, 0x39285f30, 0x39286000, 0x397e0000)Code Cache  [0x02610000, 0x02ce0000, 0x04610000)
 total_blobs=3289 nmethods=3087 adapters=136 free_code_cache=26425408 largest_free_block=320Dynamic libraries:
0x00400000 - 0x00425000  C:\Java\jdk1.6.0_39\bin\java.exe
0x770d0000 - 0x77250000  C:\Windows\SysWOW64\ntdll.dll
0x75bc0000 - 0x75cd0000  C:\Windows\syswow64\kernel32.dll
0x75e60000 - 0x75ea7000  C:\Windows\syswow64\KERNELBASE.dll
0x764a0000 - 0x76540000  C:\Windows\syswow64\ADVAPI32.dll
0x75eb0000 - 0x75f5c000  C:\Windows\syswow64\msvcrt.dll
VM Arguments:
jvm_args: -Djava.util.logging.config.file=E:\tomcat\apache-tomcat-7.0.41_64bit_02\conf\logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=\endorsed -Dcatalina.base=E:\tomcat\apache-tomcat-7.0.41_64bit_02 -Dcatalina.home=E:\tomcat\apache-tomcat-7.0.41_64bit_02 -Djava.io.tmpdir=E:\tomcat\apache-tomcat-7.0.41_64bit_02\temp 
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARDEnvironment Variables:
JAVA_HOME=C:\Java\jdk1.6.0_39
JRE_HOME=C:\Java\jdk1.6.0_39
CLASSPATH=E:\tomcat\apache-tomcat-7.0.41_64bit_02\bin\bootstrap.jar;E:\tomcat\apache-tomcat-7.0.41_64bit_02\bin\tomcat-juli.jar
PATH=e:\Oracle_11g\product\11.1.0\db_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows7Master;C:\Program Files\TortoiseSVN\bin;E:\maven\apache-maven-3.0.4\bin;C:\Java\jdk1.6.0_39\bin;C:\Java\jdk1.6.0_39\lib\dt.jar;C:\Java\jdk1.6.0_39\lib\tools.jar;C:\Program Files (x86)\ArcGIS\ArcSDE\ora11gexe\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel---------------  S Y S T E M  ---------------OS: Windows 7 , 64 bit Build 7601 Service Pack 1CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcntMemory: 4k page, physical 4082500k(781244k free), swap 8163140k(3911260k free)vm_info: Java HotSpot(TM) Client VM (20.14-b01) for windows-x86 JRE (1.6.0_39-b04), built on Jan 15 2013 14:00:47 by "java_re" with MS VC++ 7.1 (VS2003)time: Tue Jul 02 14:15:04 2013
elapsed time: 3151 seconds

解决方案 »

  1.   

    没碰到过,看日志的意思,可能从这么两个方面排查看看:
    1. 是否执行了本地程序,而这个本地程序存在BUG?
    2. 是否执行定时任务了,排查下这个定时任务做了些什么。仅供参考~
      

  2.   

    从日志来看,你的某个定时job导致了JVM crash,检查下你的job,判断这个时间点哪些在执行,然后再加些日志判断具体是哪个job出的问题,是不是导致了内存溢出。
      

  3.   

    系统启动之后,放在那里,登陆之后,没做什么操作tomcat就自动挂了,哪位知道原因啊?