HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Maximum thread limit on HP-UX 10.20
Operating System - HP-UX
1834596
Members
3670
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 05:23 AM
11-05-2001 05:23 AM
Is there a defined limit to the number of threads that a single process can create
(using pthread_create())?
(using pthread_create())?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 05:36 AM
11-05-2001 05:36 AM
Solution
Hello,
Minimum
64
Maximum
30000
Default
64
check the link
http://docs.hp.com//hpux/onlinedocs/os/KCparam.MaxThreadsPerProcess.html
Minimum
64
Maximum
30000
Default
64
check the link
http://docs.hp.com//hpux/onlinedocs/os/KCparam.MaxThreadsPerProcess.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 05:42 AM
11-05-2001 05:42 AM
Re: Maximum thread limit on HP-UX 10.20
The following is from the SAM help pages.
Carsten
max_thread_proc
Specify the maximum number of threads a single process is allowed
to have.
Acceptable Values:
Minimum: 64
Maximum: 30000
Default: 64
Specify integer value. For more information, see Specifying
Parameter Values.
Description
max_thread_proc limits the number of threads a single process is
allowed to create. This protects the system from excessive use of
system resources if a run-away process creates more threads than it
should in normal operation. The value assigned to this parameter is
the limit value assigned to the limit variables PTHREAD_THREADS_MAX
and _SC_THREAD_THREADS_MAX defined in
/usr/include/limits.h.
When a process is broken into multiple threads, certain portions of
the process space are replicated for each thread, requiring
additional memory and other system resources. If a run-away
process creates too many processes, or if a user is attacking the
system by intentionally creating a large number of threads, system
performance can be seriously degraded or other malfunctions can
be introduced.
Selecting a value for max_thread_proc should be based on
evaluating the most complex threaded applications the system will be
running and determine how many threads will be required or created
by such applications under worst-case normal use. The value
should be at least that large but not enough larger that it could
compromise other system needs if something goes wrong.
Carsten
max_thread_proc
Specify the maximum number of threads a single process is allowed
to have.
Acceptable Values:
Minimum: 64
Maximum: 30000
Default: 64
Specify integer value. For more information, see Specifying
Parameter Values.
Description
max_thread_proc limits the number of threads a single process is
allowed to create. This protects the system from excessive use of
system resources if a run-away process creates more threads than it
should in normal operation. The value assigned to this parameter is
the limit value assigned to the limit variables PTHREAD_THREADS_MAX
and _SC_THREAD_THREADS_MAX defined in
/usr/include/limits.h.
When a process is broken into multiple threads, certain portions of
the process space are replicated for each thread, requiring
additional memory and other system resources. If a run-away
process creates too many processes, or if a user is attacking the
system by intentionally creating a large number of threads, system
performance can be seriously degraded or other malfunctions can
be introduced.
Selecting a value for max_thread_proc should be based on
evaluating the most complex threaded applications the system will be
running and determine how many threads will be required or created
by such applications under worst-case normal use. The value
should be at least that large but not enough larger that it could
compromise other system needs if something goes wrong.
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 05:45 AM
11-05-2001 05:45 AM
Re: Maximum thread limit on HP-UX 10.20
getconf THREAD_THREADS_MAX

The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP