1

我的工作场所 documentum java 方法服务器最近遇到了内存不足的问题。

环顾互联网,有人认为这是一个已知问题,引用如下:“它是与 CompleteHTTPMessageTimeout 相关的 WLS 7.0 SP7(CR300032 和 CR196369)的一个已知问题。WebLogic Server 在响应慢速客户端时间歇性关闭连接。如果您有支持合同,您可以打开服务请求并获取 CR 的补丁和详细信息”

我在下面附上了一段日志:

由于堆栈溢出的空间限制,这只是整个日志的一部分

####<24/08/2012 10:10:34 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767034921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:34 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767034921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:34 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767034921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:34 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767034921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:34 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767034921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:34 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767034921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:34 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767034921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:40 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767040921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:46 AM EST> <Info> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '123' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767046921> <BEA-101366> <The server could not send the HTTP message during the configured timeout value. The socket has been closed.> 
####<24/08/2012 10:10:51 AM EST> <Critical> <WorkManager> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <weblogic.timers.TimerThread> <<WLS Kernel>> <> <> <1345767051421> <BEA-002911> <WorkManager weblogic.kernel.System failed to schedule a request due to java.lang.OutOfMemoryError: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:574)
    at weblogic.work.RequestManager.createThreadAndExecute(RequestManager.java:271)
    at weblogic.work.RequestManager.executeIt(RequestManager.java:245)
    at weblogic.work.ServerWorkManagerImpl.schedule(ServerWorkManagerImpl.java:142)
    at weblogic.timers.internal.TimerManagerImpl.execute(TimerManagerImpl.java:631)
    at weblogic.timers.internal.TimerThread$Thread.run(TimerThread.java:270)
> 
####<24/08/2012 10:15:33 AM EST> <Info> <Server> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[STANDBY] ExecuteThread: '125' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345767333437> <BEA-002634> <The server "adminServer" disconnected from this server.> 
####<24/08/2012 10:42:56 AM EST> <Error> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '108' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345768976609> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@af2a50 - appName: 'acs', name: '/ACS', context-path: '/ACS'] Root cause of ServletException.
java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:138)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:199)
    at com.documentum.acs.sdi.ACS.getPostUrlQuery(ACS.java:246)
    at com.documentum.acs.sdi.ACS.doPost(ACS.java:72)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
> 
####<24/08/2012 10:42:56 AM EST> <Error> <HTTP> <b1knoxp0028> <DctmServer_MethodServer_B1KNOXP0028> <[ACTIVE] ExecuteThread: '67' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345768976640> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@af2a50 - appName: 'acs', name: '/ACS', context-path: '/ACS'] Root cause of ServletException.
java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:138)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:199)
    at com.documentum.acs.sdi.ACS.getPostUrlQuery(ACS.java:246)
    at com.documentum.acs.sdi.ACS.doPost(ACS.java:72)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
4

2 回答 2

0

似乎您的 JVM 响应或接受请求的时间过长,这导致了问题。

我相信您可以增加超时值(我不知道在 BEA 中的哪个位置执行此操作)以使进程有更多时间完成并增加服务使用的内存量。如果它不起作用,您的服务可能正在泄漏内存。

当然,这是一种解决方法,如果该工具出现错误,则必须对其进行修补。

于 2012-09-21T13:19:07.577 回答
0

如果您怀疑应用程序或 WLS 代码中存在内存泄漏,您可以尝试Plumbr。它有相当不错的业绩记录。

于 2012-08-30T06:11:09.583 回答