问题描述
运行的tomcat6.0,经常自动当掉了,2003操作系统,四路服务器,4颗4核cpu,32G内存,报错如下:AnunexpectedexceptionhasbeendetectedinnativecodeoutsidetheVM.UnexpectedSignal:EXCEPTION_ACCESS_VIOLATION(0xc0000005)occurredatPC=0x7C95A36BFunction=RtlRestoreLastWin32Error+0x235Library=C:WINDOWSsystem32ntdll.dllCurrentJavathread:atjava.net.SocketInputStream.socketRead0(NativeMethod)atjava.net.SocketInputStream.read(SocketInputStream.java:129)atorg.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737)atorg.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:398)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:761)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)atorg.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)atorg.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)atjava.lang.Thread.run(Thread.java:534)Dynamiclibraries:0x00400000-0x00406000C:j2sdk1.4.2_02binjava.exe0x7C930000-0x7CA00000C:WINDOWSsystem32ntdll.dll0x7C800000-0x7C92B000C:WINDOWSsystem32kernel32.dll0x77F30000-0x77FDB000C:WINDOWSsystem32ADVAPI32.dll0x77C20000-0x77CBF000C:WINDOWSsystem32RPCRT4.dll0x76EB0000-0x76EC3000C:WINDOWSsystem32Secur32.dll0x77B70000-0x77BCA000C:WINDOWSsystem32MSVCRT.dll0x08000000-0x08138000C:j2sdk1.4.2_02jrebinclientjvm.dll0x77E10000-0x77EA0000C:WINDOWSsystem32USER32.dll0x77BD0000-0x77C18000C:WINDOWSsystem32GDI32.dll0x769E0000-0x76A0A000C:WINDOWSsystem32WINMM.dll0x76180000-0x7619D000C:WINDOWSsystem32IMM32.DLL0x7F000000-0x7F009000C:WINDOWSsystem32LPK.DLL0x74AE0000-0x74B45000C:WINDOWSsystem32USP10.dll0x71B20000-0x71B28000C:WINDOWSsystem32rdpsnd.dll0x77F10000-0x77F21000C:WINDOWSsystem32WINSTA.dll0x71BA0000-0x71BF7000C:WINDOWSsystem32NETAPI32.dll0x76AB0000-0x76ABB000C:WINDOWSsystem32PSAPI.DLL0x10000000-0x10007000C:j2sdk1.4.2_02jrebinhpi.dll0x008B0000-0x008BE000C:j2sdk1.4.2_02jrebinverify.dll0x008C0000-0x008D9000C:j2sdk1.4.2_02jrebinjava.dll0x008E0000-0x008ED000C:j2sdk1.4.2_02jrebinzip.dll0x03430000-0x0343F000C:j2sdk1.4.2_02jrebinnet.dll0x71B60000-0x71B77000C:WINDOWSsystem32WS2_32.dll0x71B50000-0x71B58000C:WINDOWSsystem32WS2HELP.dll0x71A80000-0x71AC0000C:WINDOWSSystem32mswsock.dll0x76E30000-0x76E5B000C:WINDOWSsystem32DNSAPI.dll0x76ED0000-0x76ED7000C:WINDOWSSystem32winrnr.dll0x76E70000-0x76E9E000C:WINDOWSsystem32WLDAP32.dll0x76EE0000-0x76EE5000C:WINDOWSsystem32rasadhlp.dll0x038F0000-0x03947000C:WINDOWSsystem32hnetcfg.dll0x71A40000-0x71A48000C:WINDOWSSystem32wshtcpip.dll0x76B70000-0x76B98000C:WINDOWSsystem32imagehlp.dll0x06DE0000-0x06E88000C:WINDOWSsystem32dbghelp.dll0x77B60000-0x77B68000C:WINDOWSsystem32VERSION.dllHeapatVMAbort:Heapdefnewgenerationtotal72576K,used55778K[0x10010000,0x14ed0000,0x14ed0000)edenspace64512K,80%used[0x10010000,0x1330f6e8,0x13f10000)fromspace8064K,44%used[0x13f10000,0x14289130,0x146f0000)tospace8064K,0%used[0x146f0000,0x146f0000,0x14ed0000)tenuredgenerationtotal967936K,used37484K[0x14ed0000,0x50010000,0x50010000)thespace967936K,3%used[0x14ed0000,0x1736b0d8,0x1736b200,0x50010000)compactingpermgentotal524288K,used36308K[0x50010000,0x70010000,0x70010000)thespace524288K,6%used[0x50010000,0x523853d0,0x52385400,0x70010000)LocalTime=ThuApr0209:24:122009ElapsedTime=4231##TheexceptionabovewasdetectedinnativecodeoutsidetheVM##JavaVM:JavaHotSpot(TM)ClientVM(1.4.2_02-b03mixedmode)#
解决方案
解决方案二:
这种问题没法从根本上解决,实践经验证明的。楼主有兴趣可以试试www.gm365.com上发布的webserver软件UFO,性能不错,我们公司网站用的就是UFO,一直没宕机过,可以免费使用的。
解决方案三:
这个应用换过weblogic也挂过,比较郁闷的说