Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cloud Native Transformation: Practical Patterns for InnovationE this week in the Cloud/Virtualization forum
or The Go Workshop in the Go forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

java.lang.OutOfMemoryError: Failed to fork OS thread

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There.
getting this OOM error,and webserver crashes,
Env setup:AIX5.3 with WLS92 MP3 patch4

####<Apr 27, 2009 11:59:11 AM EDT> <Error> <HTTP> <rrpacraxpfin125> <PIA> <ACTIVE ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1240847951758> <BEA-101017> < Root cause of ServletException.
java.lang.OutOfMemoryError: Failed to fork OS thread
at java.lang.Thread.startImpl(Native Method)
at java.lang.Thread.start(Thread.java:979)
at bea.jolt.NwHdlr.start_threads(NwHdlr.java:2011)
at bea.jolt.NwHdlr.openConnection(NwHdlr.java:908)
at bea.jolt.CMgr.connect(CMgr.java:83)
at bea.jolt.JoltSession.logon(JoltSession.java:246)
at bea.jolt.JoltSession.<init>(JoltSession.java:125)
at psft.pt8.net.JoltSessionWrapper.<init>(JoltSessionWrapper.java:67)
at psft.pt8.net.JoltSessionPool.createConnection(JoltSessionPool.java:712)
at psft.pt8.net.JoltSessionPool.getJoltSession(JoltSessionPool.java:471)
at psft.pt8.net.NetSession.getJoltSession(NetSession.java:557)
at psft.pt8.net.NetReqRepSvc.sendRequest(NetReqRepSvc.java:534)
at psft.pt8.net.NetService.requestService(NetService.java:138)
at psft.pt8.net.NetReqRepSvc.requestService(NetReqRepSvc.java:327)
at psft.pt8.net.NetSession.connect(NetSession.java:308)
at psft.pt8.net.NetSession.<init>(NetSession.java:237)
at psft.pt8.jb.JBEntry.connectWithBlob(JBEntry.java:760)
at psft.pt8.jb.JBEntry.connect(JBEntry.java:692)
at psft.pt8.auth.PSAuthenticator.authenticate(PSAuthenticator.java:741)
at psft.pt8.auth.PSAuthenticator.authenticate(PSAuthenticator.java:3706)
at psft.pt8.psp.onLogin(Unknown Source)
at psft.pt8.psp.doLogin(Unknown Source)
at psft.pt8.psp.onStartTab(Unknown Source)
at psft.pt8.psp.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at psft.pt8.psfilter.doFilter(psfilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3251)
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:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Any thoughts...thanks
 
author and cow tipper
Posts: 5000
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a recursive call happening in the code before this memory crash?

-Cameron McKenzie
 
Thaya Thava
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cameron.
Yes i do see this recursively happening on the log file and then the WLS crashes.
what could be the cause for it..is it at the WLS level or OS level for AIX?

Thanks
 
grapes are vegan food pellets. Eat this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!