1830899 Members
3055 Online
110017 Solutions
New Discussion

Threads

 
Abi Akalay
Occasional Contributor

Threads

I have a problem opening a large number of threads even though the max-threads-per-user = 8192 and thread-max = 8272.
where I'm going wrong?
The maximum threads that I was able to open is 422, but according to sysconfigtab settings it should cope with a lot more
Can any one help!

ThreadTest is a java class that opens threads.
I have run this same test on a similar machine and I was able to open lot more threads
CAGR01#genesys>java ThreadTest 1000
Started 421 threads
CAGR01#genesys>java ThreadTest 1000
Started 420 threads
CAGR01#genesys>java ThreadTest 1000
Started 422 threads

Many thanks
1 REPLY 1
Tom Dineen_2
Advisor

Re: Threads

not certain what your test does. but best to have checked all java related kernel parameters ?

best be on 11.11 OS, right?

Check also nkthreads, and other tunes

see: www.hp.com/go/java

and search for the performance tuning guide or kernel parameters.

also, check for a program call: Java Out of the Box for HPUX tunes and tcp connections.