- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nproc values
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
09-02-2005 06:31 AM
09-02-2005 06:31 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 06:42 AM
09-02-2005 06:42 AM
Solutionnproc is the size of the process table, and you can see the current number of processes with either sar -v 1 or ps -e|wc -l. Now if nproc is currently 500 and you have run out of process table entries (console/syslog says: "proc: table is full") then increase it to 1500 or 2000, then monitor the value.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 06:54 PM
09-02-2005 06:54 PM
Re: nproc values
This may be set higher, but more will not be used. Setting nproc below 110 will interfere with the systems ability to execute in multi-user mode. Some configurations may have a higher minimum.
nproc must be greater than nkthread + 100.
nproc must be greater than maxuprc + 5.
Recommended values:1000 processes per processor.
The value should be lowered only to limit the number of processes on the system, or when there is memory pressure and the value of nproc is far above the expected usage.
nkthread must be strictly greater than nproc. Default equations ensure this, as well as runtime kernel checks.
nfile and ninode should be increased (and are not by default) to allow applications to manipulate files.
ksi_alloc_max should be increased, as the default formula is multiple of nproc.
maxuprc must be less than nproc.
Some of these other tunables used to adjust automatically with changes in nproc. These adjustments must now be made explicitly.
Other tunables may require a reboot to take effect. So, dramatic increases in nproc without reboot should be made with caution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 08:45 PM
09-02-2005 08:45 PM
Re: nproc values
nproc value is heavily dependent on your expected workload, but for most systems, 1024 is enough for the maximum number of processes. If you know better, set it higher. Don't blindly overconfigure this by setting it to 30000 when you'll have only 400 processes in your workload, as nproc influences various formulas in sam, and also has secondary effects, like increasing the size of the midaemon's shared memory segment (used by Glance to keep track of process data). Process table utilization is tracked in Glanceâ s System Tables Report: check the utilization periodically and plan to bump up nproc when you see its gets over 80 percent utilization during normal processing.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:39 AM
09-06-2005 10:39 AM
Re: nproc values
w/o problem.