maxuprc.5 (2010 09)

m
maxuprc(5) maxuprc(5)
(Tunable Kernel Parameters)
NAME
maxuprc - limits the maximum number of concurrent user processes per user
VALUES
Failsafe
256
Default
256
Allowed values
Between 3 and (nproc -5).
Recommended value
256
DESCRIPTION
maxuprc is a dynamic tunable that limits the maximum number of processes per user. Only root can
have more than the number of processes limited by
maxuprc.
Who is Expected to Change This Tunable?
System administrators can change the value of
maxuprc depending on the usage of the system.
Restrictions on Changing
None. This tunable is dynamic.
When Should the Value of This Tunable Be Raised?
The value of
maxuprc should be changed if users require more processes than what they are currently
allowed by maxuprc.Iffork() fails with an error value of [EAGAIN], it could be an indication that
maxuprc was reached by that particular user. However, that is not the only reason that could cause
fork() to fail with an errno value of [EAGAIN]. [EAGAIN] may be returned if nproc system tunable
has been reached or memory on the system has been exhausted.
What Are the Side Effects of Raising the Value?
Raising the value of
maxuprc allows a single user to consume a greater percentage of the system
resources.
When Should the Value of This Tunable Be Lowered?
The value of
maxuprc should be lowered when individual users are monopolizing system resources by
running too many concurrent processes.
What Are the Side Effects of Lowering the Value?
Applications that depend on a large number of processes may behave differently or fail. Existing
processes will continue to run but new process creations which would result in the user exceeding
max-
uprc will fail.
What Other Tunable Values Should Be Changed at the Same Time?
When tuning
maxuprc you should keep in mind the value of nproc.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its
meaning changed in future releases of HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parame-
ter values. After installation, some tunable parameters may no longer be at the default or recommended
values. For information about the effects of installation on tunable values, consult the documentation for
the kernel software being installed. For information about optional kernel software that was factory
installed on your system, see HP-UX Release Notes at http://www.hp.com/go/hpux-core-docs.
AUTHOR
maxuprc was developed by HP.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)