Consultor Eletrônico



Kbase P56136: java.lang.OutOfMemoryError: max threads limit being reached in VM when attempting to Connect to Son
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/4/2004
Status: Unverified

FACT(s) (Environment):

HP-UX

SYMPTOM(s):

Users are no longer able to send requests to Sonic Adapter.

Sonic Adapter

Client receives error (5639)

User-defined function '<function>' invoked dynamically but could not be found. (5639)

User-defined function 'getCallID' invoked dynamically but could not be found.
(5639)

java.lang.Error: classForProType: Unknown type.

Sonic Adapter broker logfile shows:

java.lang.OutOfMemoryError: max threads limit being reached in VM

CAUSE:

A system limitation on how many threads a specific process can handle.

The Sonic Adapter broker in 9.x is a Java program, and runs within a Java Virtual Machine (JVM). The broker is multi-threaded for efficiency and scalablity. These threads are all initiated from the one JVM process.


To support these numbers of threads, the JVM that is required from Progress on HP-UX 11.0 requires a kernel setting for the maximum number of threads a process can start. By default, this value is too low to run a large number of Adapters on a single broker.

FIX:

Increase the max_thread_proc kernel parameter.

See a UNIX system administrator for further details. This is outlined in a technical document from HP. The kernel must be rebuilt and the system rebooted for the changes to take effect. .