I am running Java code on an HP-UX 11i v2 machine, and the process dies after about 245 threads. Why aren more threads supported?
You need to check your kernel parameters. The max_thread_proc parameter defines the maximum number of kernel threads allowed per process. The default values for max_thread_proc are: • HP-UX 11i v1 (11.11): 64 threads • HP-UX 11i v2 (11.23): 256 threads • HP-UX 11i v3 (11.31): 256 threads Your 245 threads plus the threads in the JVM are exceeding the limit. Use HPjconfig (free download available from HPjconfig on SW Depot) to set your kernel parameters to optimal values for Java.
Related Questions
- I’ve completed the installation process and Network Connect is now running on my machine. Can I log out on the SacLink Secure Services window?
- Will there be code coverage requirements for custom java apps running in vmfoce akin to those required for apex code?
- Is machine code suitable for dynamic linking or do you need pcode or Java bytecodes or something similar?