Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123