Forum Stats

  • 3,723,940 Users
  • 2,244,655 Discussions
  • 7,850,768 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

weblogic挂起

673652
673652 Member Posts: 23
edited February 2009 in 中间件
请高手帮忙分析下我的dump信息,给点建议谢谢了。
我们程序代码很小的,测试时没什么问题,可是用到生产中在调用图片时总会出现问题,执行线程相当长,有时达到700多秒。出现问题是console无法登录,出现很多的stuck线程。暂时还不能确定是哪理问题,请帮帮忙急救啊。

===== FULL THREAD DUMP ===============
Mon Feb 09 16:52:05 2009
BEA JRockit(R) R26.4.0-63_CR302700-72606-1.5.0_06-20061127-1108-win-ia32

"Main Thread" id=1 idx=0x2 tid=2660 prio=5 alive, in native, waiting
-- Waiting for notification on: weblogic/t3/srvr/[email protected][fat lock]
at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
at jrockit/vm/Locks.wait(Ljava/lang/Object;J)V(Unknown Source)
at java/lang/Object.wait()V(Native Method)
at weblogic/t3/srvr/T3Srvr.waitForDeath()V(T3Srvr.java:730)
^-- Lock released while waiting: weblogic/t3/srvr/[email protected][fat lock]
at weblogic/t3/srvr/T3Srvr.run([Ljava/lang/String;)I(T3Srvr.java:380)
at weblogic/Server.main([Ljava/lang/String;)V(Server.java:67)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace


"Timer-1" id=12 idx=0x18 tid=3564 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: java/util/[email protected][fat lock]
at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at java/util/TimerThread.mainLoop()V(Timer.java:509)
^-- Lock released while waiting: java/util/[email protected][fat lock]
at java/util/TimerThread.run()V(Timer.java:462)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace

"[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=13 idx=0x1a tid=3084 prio=1 alive, in native, blocked, daemon
-- Blocked trying to get lock: java/lang/[email protected][fat lock]
at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)[optimized]
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)[optimized]
at jcifs/smb/SmbTree.treeConnect(Ljcifs/smb/ServerMessageBlock;Ljcifs/smb/ServerMessageBlock;)V(SmbTree.java:127)[optimized]
at jcifs/smb/SmbTree.send(Ljcifs/smb/ServerMessageBlock;Ljcifs/smb/ServerMessageBlock;)V(SmbTree.java:64)[inlined]
at jcifs/smb/SmbFile.send(Ljcifs/smb/ServerMessageBlock;Ljcifs/smb/ServerMessageBlock;)V(SmbFile.java:695)[inlined]
at jcifs/smb/SmbFileInputStream.readDirect([BII)I(SmbFileInputStream.java:129)[optimized]
at jcifs/smb/SmbFileInputStream.read([BII)I(SmbFileInputStream.java:121)[inlined]
at jcifs/smb/SmbFileInputStream.read([B)I(SmbFileInputStream.java:111)[inlined]
at Belstar_IS/ISAccessorImpl.writeFile(Ljava/lang/String;Ljava/lang/String;)I(ISAccessorImpl.java:428)[optimized]
at Belstar_IS/ISAccessorImpl.getFileFromFileSys2(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)LBelstar_IS/Ret;(ISAccessorImpl.java:339)[optimized]
at Belstar_IS/ISAccessorImpl.CreateBody1(ILBelstar_IS/TuxProc;)LBelstar_IS/oData;(ISAccessorImpl.java:795)[optimized]
at Belstar_IS/ISAccessorImpl.RetrieveImages(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIILjava/lang/String;Ljava/lang/String;)LBelstar_IS/oData;(ISAccessorImpl.java:679)[optimized]
at Belstar_IS/ISAccessorBean.RetrieveImages(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIILjava/lang/String;Ljava/lang/String;)LBelstar_IS/oData;(ISAccessorBean.java:284)[optimized]
at UI/ImagesView.begin()Lorg/apache/beehive/netui/pageflow/Forward;(ImagesView.java:163)[optimized]
at jrockit/reflect/CompiledMethodInvoker.invoke0(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/CompiledMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)[optimized]
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)[optimized]
at org/apache/beehive/netui/pageflow/FlowController.invokeActionMethod(Ljava/lang/reflect/Method;Ljava/lang/Object;Ljavax/servlet/http/HttpServletRequest;Lorg/apache/struts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;(FlowController.java:878)[inlined]
at org/apache/beehive/netui/pageflow/FlowController.getActionMethodForward(Ljava/lang/String;Ljava/lang/Object;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;(FlowController.java:808)[inlined]
at org/apache/beehive/netui/pageflow/FlowController.internalExecute(Lorg/apache/struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/apache/struts/action/ActionForward;(FlowController.java:477)[inlined]
at org/apache/beehive/netui/pageflow/PageFlowController.internalExecute(Lorg/apache/struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/apache/struts/action/ActionForward;(PageFlowController.java:305)[optimized]
at org/apache/beehive/netui/pageflow/FlowController.execute(Lorg/apache/struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/apache/struts/action/ActionForward;(FlowController.java:335)[optimized]
^-- Holding lock: UI/[email protected][thin lock]
at org/apache/beehive/netui/pageflow/internal/FlowControllerAction.execute(Lorg/apache/struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/apache/struts/action/ActionForward;(FlowControllerAction.java:51)
at org/apache/struts/action/RequestProcessor.processActionPerform(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/action/Action;Lorg/apache/struts/action/ActionForm;Lorg/apache/struts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;(RequestProcessor.java:419)
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.access$201(Lorg/apache/beehive/netui/pageflow/PageFlowRequestProcessor;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/action/Action;Lorg/apache/struts/action/ActionForm;Lorg/apache/struts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;(PageFlowRequestProcessor.java:95)
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor$ActionRunner.execute()Lorg/apache/struts/action/ActionForward;(PageFlowRequestProcessor.java:2042)
at org/apache/beehive/netui/pageflow/interceptor/action/internal/ActionInterceptors.wrapAction(Lorg/apache/beehive/netui/pageflow/interceptor/action/ActionInterceptorContext;Ljava/util/List;Lorg/apache/beehive/netui/pageflow/interceptor/action/internal/ActionInterceptors$ActionExecutor;)Lorg/apache/struts/action/ActionForward;(ActionInterceptors.java:90)
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.processActionPerform(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/action/Action;Lorg/apache/struts/action/ActionForm;Lorg/apache/struts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;(PageFlowRequestProcessor.java:2114)
at org/apache/struts/action/RequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(RequestProcessor.java:224)[optimized]
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.processInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PageFlowRequestProcessor.java:554)[optimized]
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PageFlowRequestProcessor.java:851)[optimized]
at org/apache/beehive/netui/pageflow/AutoRegisterActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AutoRegisterActionServlet.java:630)[inlined]
at org/apache/beehive/netui/pageflow/PageFlowActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PageFlowActionServlet.java:158)[optimized]
at org/apache/struts/action/ActionServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ActionServlet.java:432)[optimized]
at javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:763)[optimized]
at javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:856)[optimized]
at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run()Ljava/lang/Object;(StubSecurityHelper.java:223)[optimized]
at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/http/HttpServletRequest;Lweblogic/servlet/internal/ServletRequestImpl;Ljavax/servlet/ServletResponse;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/Servlet;)Ljava/lang/Throwable;(StubSecurityHelper.java:125)[inlined]
at weblogic/servlet/internal/ServletStubImpl.execute(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:230)[optimized]
at weblogic/servlet/internal/ServletStubImpl.execute(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:175)[inlined]
at weblogic/servlet/internal/RequestDispatcherImpl.invokeServlet(ZLjavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/ServletResponseImpl;I)V(RequestDispatcherImpl.java:494)[optimized]
at weblogic/servlet/internal/RequestDispatcherImpl.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(RequestDispatcherImpl.java:245)[optimized]
at org/apache/beehive/netui/pageflow/internal/DefaultForwardRedirectHandler.forward(Lorg/apache/beehive/netui/pageflow/handler/FlowControllerHandlerContext;Ljava/lang/String;)V(DefaultForwardRedirectHandler.java:127)[optimized]
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.doForward(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PageFlowRequestProcessor.java:1799)[inlined]
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.processPageFlowRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)Z(PageFlowRequestProcessor.java:713)[optimized]
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.processInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PageFlowRequestProcessor.java:472)[optimized]
at org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PageFlowRequestProcessor.java:851)[optimized]
at org/apache/beehive/netui/pageflow/AutoRegisterActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AutoRegisterActionServlet.java:630)[inlined]
at org/apache/beehive/netui/pageflow/PageFlowActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PageFlowActionServlet.java:158)[optimized]
at org/apache/struts/action/ActionServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ActionServlet.java:432)[optimized]
at javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:763)[optimized]
at javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:856)[optimized]
at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run()Ljava/lang/Object;(StubSecurityHelper.java:223)[optimized]
at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/http/HttpServletRequest;Lweblogic/servlet/internal/ServletRequestImpl;Ljavax/servlet/ServletResponse;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/Servlet;)Ljava/lang/Throwable;(StubSecurityHelper.java:125)[inlined]
at weblogic/servlet/internal/ServletStubImpl.execute(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:230)[optimized]
at weblogic/servlet/internal/ServletStubImpl.execute(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:175)[inlined]
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:3215)[optimized]
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)[optimized]
at weblogic/security/service/SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)[inlined]
at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(WebAppServletContext.java:2003)[inlined]
at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:1862)[optimized]
at weblogic/servlet/internal/ServletRequestImpl.run()V(ServletRequestImpl.java:1359)[optimized]
at weblogic/work/ExecuteThread.execute(Ljava/lang/Runnable;)V(ExecuteThread.java:209)[optimized]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:181)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace


================
Chain 1:
"[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" id=16 idx=0x20 tid=2292 waiting for UI/[email protected] held by:
"[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=13 idx=0x1a tid=3084 waiting for java/lang/[email protected] held by:
"[STUCK] ExecuteThread: '221' for queue: 'weblogic.kernel.Default (self-tuning)'" id=1642 idx=0x224 tid=5740 (waiting on notification)

Chain 6:
"Transport2" id=1966 idx=0x4a tid=3920 waiting for java/lang/[email protected] held by:
"[STUCK] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'" id=1417 idx=0xbc tid=4836 (waiting on notification)

Chain 19:
"[STUCK] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'" id=72 idx=0x66 tid=2560 waiting for UI/[email protected] held by:
"[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'" id=69 idx=0x60 tid=3720 (waiting on notification)

===== END OF THREAD DUMP ===============

Answers

  • 683954
    683954 Member Posts: 3
    edited February 2009
    有完整的thread dump么?
    另外你生产环境的操作系统补丁是否完整,jrockit的版本好像很旧,可以更新一下jrockit试试么?

    帖子经 woohoo编辑过
  • 656992
    656992 Member Posts: 34
    查查*jcifs/smb/SmbTree.treeConnect(Ljcifs/smb/ServerMessageBlock;Ljcifs/smb/ServerMessageBlock;)V(SmbTree.java:127)optimized*的代码吧,从dump文件看是他在阻塞
This discussion has been closed.