BW error java.lang.OutOfMemoryError: unable to create new native thread.

BW error java.lang.OutOfMemoryError: unable to create new native thread.

book

Article ID: KB0092705

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
Supplement to KB 37109.
Symptoms:
BW engine runs out of resources and stop responding with the following error stack:

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:597)
at com.tibco.pe.core.JobDispatcher.<init>(JobDispatcher.java:45)
at com.tibco.pe.core.JobPool.a(JobPool.java:350)
at com.tibco.pe.core.JobPoolConfigurator.a(JobPoolConfigurator.java:177)
at com.tibco.pe.core.JobPoolConfigurator.do(JobPoolConfigurator.java:100)
at com.tibco.pe.core.JobPool.<init>(JobPool.java:313)
at com.tibco.pe.core.JobPoolCreator.init(JobPoolCreator.java:81)
at com.tibco.pe.core.JobPoolCreator.<init>(JobPoolCreator.java:73)
at com.tibco.pe.PEMain.do(PEMain.java:386)
at com.tibco.pe.PEMain.a(PEMain.java:197)
at com.tibco.pe.PEMain.<init>(PEMain.java:184)
at com.tibco.pe.PEMain.main(PEMain.java:122)
Cause:
"Max User Processes" limit has been reached.

Issue/Introduction

BW error java.lang.OutOfMemoryError: unable to create new native thread.

Resolution

Increase the "max user processes" parameter in /etc/security/limits.conf to higher values (from 1024 to 204800).
 
max user processes       (-u)1024  
to max user processes   (-u) 204800

Additional Information

KB 37109