Out Of Memory Error: Unable To Create A New Native Thread On HP-UX Itanium (Doc ID 1267747.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 9.2 to 9.2
HP-UX Itanium

Symptoms

Out Of Memory Error (OOME) launched on WebLogic Server (WLS) when using Jmeter for test load and taking snapshot of the system using profiling.

OOME in thread creation is about stack size filling the native memory, outside the heap.

So, we have WLS running with its own heap and threads.  On the same machine, there was running a JMeter profiling tool, which also has its heap and threads.

We have two JVM's one is WLS and other is Jmeter.  JMeter was using all of the OS resources, such as threads.

Therefore, we need to find a way to make WLS handles the requests.

The offered solution is to increase the heap.

Changes

This OOME was also related to the error:
unable to create a new native thread.

A quick solution could be to change the OS threads configuration (in this case, they were already changed):
max_thread_proc 16816 16816 Immed
nkthread 16816 16816 Immed


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