Consultor Eletrônico



Kbase P3570: SonicMQ: java.lang.OutOfMemoryError on HP-UX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

SonicMQ 4.0

SYMPTOM(s):

java.lang.OutOfMemoryError

HP-UX 11.0

CAUSE:

See <SonicMQ install dir>\sonicmq_docs\release.htm [ 1184 ] :

When running SonicMQ brokers on HP-UX machines, the default value for max_thread_proc (maximum threads per process) is insufficient. The general formula for SonicMQ is max_thread_proc = 64*B + 2*C = total threads required where B is the number of brokers started, and C is the maximum number of concurrent connections (Note that a SonicMQ explorer uses a connection.)

FIX:

Increase the max_thread_proc kernel parameter on HP-UX.
If you are using the default value you need to run the HP-UX sam utility to increase this value.
For example, if you run one broker that is supporting up to 300 connections, max_thread_proc = 64*1 + 2*200 = 464