NAME
maxusers — expected number of simultaneous users on the system
VALUES
Allowed values
0
Limited by physical memory.
Maximum physical memory is the main limiting factor because kernel data structures
that use up memory are controlled by parameters whose values are derived
from
maxusers.
The other limits to the range of acceptable values for
maxusers
is the range allowed values of the other tunables that it is related to
by expressions.
DESCRIPTION
The
maxusers
tunable is used to calculate the default values of
nclist,
nfile
and
ninode.
All of which control kernel data structures that determine the system resource
allocation.
maxusers
does not affect the actual number of users who can log on.
maxusers
provides a convenient, single point mechanism to control many tunables and
optimize memory usage.
It provides a form of coarse tuning for the system.
The individual tunables should be changed for finer tuning.
maxusers
is not used within the kernel.
It is only used when calculating the values of all the other tunables
during the kernel build process.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
It should be noted that changes to
maxusers
affects the values of all the tunables to which it is related by
expressions.
The value of
maxusers
may not be set such that it makes the value of any of the related
tunables invalid.
When Should the Value of This Tunable Be Raised?
The value of
maxusers
should be raised to accommodate an increase in the number of
concurrent users to reflect the corresponding change in
resource allocation.
What are the Side Effects of Raising the Value?
The side effect is that all related kernel structures grow
and hence consume more memory.
When Should the Value of This Tunable Be Lowered?
The value of
maxusers
may be lowered to reduce the size of the kernel.
It may also be done to provide resource allocation for a
fewer number of users.
What are the Side Effects of Lowering the Value?
The kernel becomes smaller in size, saving memory.
If reduced, the kernel structures become smaller and this
increases the danger of application failures caused by a
lack of resources.
What Other Tunable Values Should Be Changed at the Same Time?
None.
It should be noted that the tunables whose value is based on
expressions containing
maxusers
are all being changed with it.
The default values of the tunables
nclist,
nfile,
and
ninode
are related to
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
maxusers
was developed by HP.