maxuprc(5) maxuprc(5)
Tunable Kernel Parameters
NAME [Toc] [Back]
maxuprc - limits the maximum number of concurrent user processes per
user
VALUES [Toc] [Back]
Failsafe
256
Default [Toc] [Back]
256
Allowed values [Toc] [Back]
Between 3 and (nproc -5).
Recommended value [Toc] [Back]
256
DESCRIPTION [Toc] [Back]
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 [Toc] [Back]
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. If fork() 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 maxuprc
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: Sep 2004
maxuprc(5) maxuprc(5)
Tunable Kernel Parameters
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 [Toc] [Back]
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 parameter 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://docs.hp.com.
AUTHOR [Toc] [Back]
maxuprc was developed by HP.
SEE ALSO [Toc] [Back]
nproc(5).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: Sep 2004 [ Back ] |