E-WL: WebLogic Crashes/Hangs with Error: "java.lang.OutOfMemoryError: unable to create new native thread" (Doc ID 651285.1)

Last updated on MAY 04, 2016

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.44 to 8.49 [Release 8.4]
Generic UNIX
SPECIFIC TO:
WebLogic 8.1 and 9.2, UNIX
***Checked for relevance on 11/03/2014***

This document was previously published as Customer Connection Solution 201027237




Symptoms


WebLogic server hangs or terminates. The following message, in the Weblogic stdout file (PIA_stdout.log), indicates the webserver is out of native memory. This is not HEAP memory but rather memory assigned to the C program itself, so increasing HEAP size will not resolve the issue.

<Aug 9, 2008 11:43:17 AM EDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=16199287,name=PORTAL,context-path=)] Root cause of ServletException.
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at bea.jolt.NwHdlr.start_threads(NwHdlr.javANSWER:2022)
at bea.jolt.NwHdlr.openConnection(NwHdlr.javANSWER:880)
at bea.jolt.CMgr.connect(CMgr.javANSWER:71)
at bea.jolt.JoltSession.logon(JoltSession.javANSWER:246)
at bea.jolt.JoltSession.<init>(JoltSession.javANSWER:125)
at psft.pt8.net.JoltSessionWrapper.<init>(JoltSessionWrapper.javANSWER:67)
at psft.pt8.net.JoltSessionPool.createConnection(JoltSessionPool.javANSWER:373)
at psft.pt8.net.JoltSessionPool.getJoltSession(JoltSessionPool.javANSWER:220)
at psft.pt8.net.NetSession.getJoltSession(NetSession.javANSWER:561)
at psft.pt8.net.NetReqRepSvc.sendRequest(NetReqRepSvc.javANSWER:534)
at psft.pt8.net.NetService.requestService(NetService.javANSWER:141)
at psft.pt8.net.NetReqRepSvc.requestService(NetReqRepSvc.javANSWER:328)
at psft.pt8.net.NetSession.connect(NetSession.javANSWER:307)
at psft.pt8.net.NetSession.<init>(NetSession.javANSWER:236)
at psft.pt8.jb.JBEntry.connectWithBlob(JBEntry.javANSWER:753)
at psft.pt8.jb.JBEntry.connect(JBEntry.javANSWER:685)
at psft.pt8.auth.PSAuthenticator.authenticate(PSAuthenticator.javANSWER:594)
at psft.pt8.auth.PSAuthenticator.authenticate(PSAuthenticator.javANSWER:3372)
at psft.pt8.psp.onLogin(psp.javANSWER:1123)
at psft.pt8.psp.service(psp.javANSWER:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.javANSWER:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.javANSWER:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.javANSWER:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.javANSWER:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.javANSWER:27)
at psft.pt8.psfilter.doFilter(psfilter.javANSWER:76)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.javANSWER:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.javANSWER:6461)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.javANSWER:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.javANSWER:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.javANSWER:3664)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.javANSWER:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.javANSWER:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.javANSWER:178)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms