My Oracle Support Banner

Agent Crashes With Java.Lang.Outofmemoryerror: unable to create new native thread. Out Of System Resources. (Doc ID 1327478.1)

Last updated on NOVEMBER 09, 2019

Applies to:

Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.
Checked for relevance on 17-May-2014

Symptoms


Agent experiences java.lang.OutOfMemoryError even when there are enough resources available.

$ emctl status agent
EM Configuration issue. /ora/fs0000/app/oracle/product/11.1/agent11g/5 [main] ERROR emSDK.config - 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)


emagent.trc
The agent crashes since its not able to allocate any more resource for the new threads

05-31 08:40:11,295 Thread-1081239872 ERROR pingManager: nmepm.c: Ping manager is hung for 1816 secs, requesting watchdog to restart agent process !!!
2011-05-31 08:40:11,361 Thread-1081239872 ERROR pingManager: nmepm.c: Ping manager is hung for 1816 secs, requesting watchdog to restart agent process !!!
2011-05-31 08:40:11,370 Thread-2498181184 WARN diagnostics.statemgr: /ora/fs0000/app/oracle/product/11.1/agent11g/lp97103/sysman/dump/emagent_12024_20110531084011.diagtrc dumped


emagent.log

2011-05-31 08:10:26,250 Thread-1084389696 <Scheduler> Error Creating Thread for Ping Manager, OS threads exhausted (00951)
2011-05-31 08:10:26,250 Thread-1084389696 <Scheduler> Error Creating Thread for Upload Manager, OS threads exhausted (00951)



emagent.trc

2011-05-31 08:13:20,200 Thread-1084389696 ERROR ThreadPool: Could not create thread, ERROR=11:Resource temporarily unavailable
2011-05-31 08:13:20,200 Thread-1084389696 ERROR scheduler: Error creating thread for Upload Manager. Reached OS limit.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.