Kbase 20489: java.lang.OutOfMemoryError Starting SonicMQ on HP-UX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/12/2008 |
|
Status: Verified
FACT(s) (Environment):
SonicMQ 2000(x)
SonicMQ 3.x
HP-UX
SYMPTOM(s):
exception thrown by the broker
java.lang.OutOfMemoryError: can't create another thread
at java.lang.Thread.start(Native Method)
at progress.message.zclient.MessageHandler.cD_(MessageHandler.java,CompiledCode)
at progress.message.zclient.Connection.(Connection.java, Compiled Code)
at progress.message.broker.rp.(Service$InitHandler.java:266)
at progress.message.broker.Service.register(Service.java:104)
at progress.message.broker.sp.start(ServiceStartLocal.java, Compiled Code)
at progress.message.broker.Broker.(Broker.java, Compiled Code)
at progress.message.broker.Broker.main(Broker.java, Compiled Code)
SonicMQ Broker now exiting...
CAUSE:
The default value for max_thread_proc (maximum threads per process) on HP-UX is insufficient for running a SonicMQ broker or server.
If you use the default value, the broker/server fails to start and throws the exception.
FIX:
Run the HP-UX System Administrator Manager (SAM) tool:
- use the "sam" command to increase the value of max_thread_proc.