NAME
maxuprc — limits the maximum number of concurrent user processes per user
VALUES
Allowed values
Between 3 and (nproc -5).
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
The effect of tuning
maxuprc
on users with existing processes is undefined. However, existing processes
will not be effected.
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.
When Should the Value of This Tunable Be Lowered?
The value of
maxuprc
should be lowered when you feel that limiting the maximum number
of processes per user is necessary.
What Are the Side Effects of Lowering the Value?
Applications that depend on a large number of processes may behave
differently or fail.
What Other Tunable Values Should Be Changed at the Same Time?
When tuning
maxuprc
you should keep in mind the values of
nproc
and
maxusers.
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.
AUTHOR
maxuprc
was developed by HP.