- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Kernel parameter nproc
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
01-19-2005 10:38 PM
01-19-2005 10:38 PM
I'm comparing kernel parameters on two systems to try to make them consistent. I'm checking the parameters that are different on HP's website so I have an idea which is the correct value. The following contradictory statements come from
http://docs.hp.com/en/B3921-90010/nproc.5.html
"nproc must be greater than nkthread + 100"
"nkthread must be strictly greater than nproc"
Which is correct?
Mark Syder (like the drink but spelt different)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 10:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 10:49 PM
01-19-2005 10:49 PM
Re: Kernel parameter nproc
To keep Pete Randall happy, I won't close the thread! But I don't propose to give any more points unless someone has something useful to add.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 10:50 PM
01-19-2005 10:50 PM
Re: Kernel parameter nproc
Looks like some bad documentation.
nkthread must be > nproc
This is the formula I have (default for 11.11):
nkthread = (((NPROC*7)/4)+16)
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 10:51 PM
01-19-2005 10:51 PM
Re: Kernel parameter nproc
I have the following formula for nkthread: (((NPROC*7)/4)+16)
Kindest Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 10:56 PM
01-19-2005 10:56 PM
Re: Kernel parameter nproc
Before I award any more points, can someone from HP please give a definitive answer?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 11:04 PM
01-19-2005 11:04 PM
Re: Kernel parameter nproc
sorry mark!!!
I have 75 HP servers, i checked in about 8 servers.
In all servers nkthread value is more than nproc.
nkthread value should be more to handle number of process(nproc) specified
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 11:11 PM
01-19-2005 11:11 PM
Re: Kernel parameter nproc
nkthread
Specify the maximum number of threads that all processes combined can run, system-wide, at any given time.
Acceptable Values:
Minimum: 50
Maximum: 4194304
Default: (nproc*2)+16
Specify integer or formula value. For more information, see Specifying Parameter Values.
Description
Processes that use threads for improved performance create multiple copies of certain portions of their process space, which requires memory space for thread storage as
well as processor and system overhead related to managing the threads. On systems running large threaded applications, a large number of threads may be required. The
kernel parameter max_thread_proc limits the number of threads that a single process can create, but there may be other threaded applications on the system that also use
a large number of threads or they may have more modest requirements.
nkthread limits the combined total number of threads that can be running on the system at any given time from all processes on the system. This value protects the system
against being overwhelmed by a large number of threads that exceeds normal, reasonable operation. It protects the system against overload if multiple large applications are
running, and also protects the system from users who might maliciously attempt to sabotage system operation by launching a large number of threaded programs, causing
resources to become unavailable for normal system needs.
The default value allows an average of two threads per process plus an additional system allowance. If you need to use a larger value:
* Determine the total number of threads required by each threaded application on the system; especially any large applications.
* Determine how many and which of these will be running simultaneously at any given time.
* Add these together and combine with a reasonable allowance for other users or processes that might run occasionally using threads (nproc*2 might be a useful
number).
* Select a value for nkthread that is large enough to accommodate the total, but not so large that it compromises system integrity.
On large systems with many threaded applications running simultaneously, some experimentation may be required while using system process-monitoring tools and
programs.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 11:23 PM
01-19-2005 11:23 PM
Re: Kernel parameter nproc
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 01:45 AM
01-20-2005 01:45 AM
Re: Kernel parameter nproc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 02:24 AM
01-20-2005 02:24 AM
Re: Kernel parameter nproc
Thanks for the answers. I can't find the SAM help page that Harry referred to, but I did find the same information in Marty Poniatowski's book. Ravi - please excuse the 0 points - that's to compensate for having given you 10 points for what turned out to be an incorrect answer!
I've learnt a lot from this thread - I think the most important thing I've learnt is not to close threads! I've closed a thread for the last time.
No more points on this thread unless someone adds something new and relevant.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 07:48 AM
01-20-2005 07:48 AM
Re: Kernel parameter nproc
Marlou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 07:12 PM
01-20-2005 07:12 PM
Re: Kernel parameter nproc
That answer was worth an extra 10 points!
I've had an email from HP confirming that the document is incorrect and will be corrected on its next release. Admirably prompt service.
Mark