Operating System - HP-UX
1752458 Members
6362 Online
108788 Solutions
New Discussion юеВ

Re: WLS 6.1 startup error on HP-UX 11.11

 
SOLVED
Go to solution
Leigh Peterson
Occasional Advisor

WLS 6.1 startup error on HP-UX 11.11

Hi All,

I'm currently having a problem starting Weblogic on an HP-UX 11.11 server. The server has 1Gb of memory and I'm using JDK 1.3.1 as bundled with WLS. Bewlow is the stack trace I receive at startup:

Starting WebLogic Server ....

Throwable: java.lang.OutOfMemoryError: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at weblogic.kernel.ExecuteThreadManager.startThreads(ExecuteThreadManager.java:134)
at weblogic.kernel.ExecuteThreadManager.setThreadCount(ExecuteThreadManager.java:115)
at weblogic.kernel.ExecuteThreadManager.(ExecuteThreadManager.java:48)
at weblogic.kernel.Kernel.addExecuteQueue(Kernel.java:310)
at weblogic.management.Admin.start(Admin.java:344)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:372)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'>
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: java.lang.OutOfMemoryError: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at weblogic.kernel.ExecuteThreadManager.startThreads(ExecuteThreadManager.java:134)
at weblogic.kernel.ExecuteThreadManager.setThreadCount(ExecuteThreadManager.java:115)
at weblogic.kernel.ExecuteThreadManager.(ExecuteThreadManager.java:48)
at weblogic.kernel.Kernel.addExecuteQueue(Kernel.java:310)
at weblogic.management.Admin.start(Admin.java:344)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:372)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
***************************************************************************

I have tried enabling NativeIO and also increasing the java stack and heap size from 64m to 128m, but with no difference.

Is this a kernel parameter issue or an incompatability with HP-UX 11.11. The same installation works fine on an HP-UX 11.0 platform.

Any information would be much appreciated,
Regards,
Leigh
3 REPLIES 3
Sanjay Verma
Super Advisor
Solution

Re: WLS 6.1 startup error on HP-UX 11.11

Hi Leigh,

Just increase the kernel parameter, max_thread_proc and the issue will be resolved.

For e.g., Increase it to 3072.

Cheers,
Sanjay Verma
Co-operation - The biggest chain reaction
Michael Tully
Honored Contributor

Re: WLS 6.1 startup error on HP-UX 11.11

Hi Leigh,

From my weblogic dev server, these are the kernel parameters that we use.

HTH
Michael

STRMSGSZ 65535
dbc_max_pct 15
eqmemsize 30
ksi_alloc_max 16544
maxdsiz 161021952
maxfiles 100
maxssiz 16777216
maxswapchunks 8192
maxtsiz 134217728
max_thread_proc 512
maxuprc 1024
maxusers 1024
msgmax 32768
msgmnb 32768
msgmni 1024
msgseg 32766
msgssz 32
msgtql 4096
maxvgs 30
ncallout 2084
maxvgs 30
ncallout 2084
nclist 4196
ncsize 3796
nfile 4416
nflocks 400
ninode 2772
nkthread 3635
nproc 2068
nstrtel 1024
npty 1024
nstrpty 1024
semmap 15002
semmni 8192
semmns 16384
semmnu 4096
semume 128
semvmx 65535
shmmax 1073741824
shmmni 1024
shmseg 1024
st_ats_enabled 0
Anyone for a Mutiny ?
Leigh Peterson
Occasional Advisor

Re: WLS 6.1 startup error on HP-UX 11.11

Thanks guys, I increase the max_thread_proc to 1024 and everything starts up fine!!