maxusers
maxusers allocates system resources according to the
expected number of simultaneous users on the system.
0
32
Specify integer value. For more information, see Specifying Parameter Values.
maxusers limits system resource allocation, not the actual
number of users on the system. maxusers does not itself
determine the size of any structures in the system; instead, the default
value of other global system parameters depend on the value of
maxusers. When other configurable parameter values are
defined in terms of maxusers, the kernel is made smaller
and more efficient by minimizing wasted space due to improperly balanced
resource allocations.
maxusers defines the C-language macro MaxUsers (for
example, #define MaxUsers 8). It determines the size of
system tables. The actual limit of the number of users depends on the
version of the HP-UX license that was purchased. To determine the
actual limit, use the uname -a command.
Rather than varying each configurable parameter individually, it is
easier to specify certain parameters using a formula based on the
maximum number of expected users (for example, nproc =
(20+8*MaxUsers)). Thus, if you increase the maximum number
of users on your system, you only need to change the
maxusers parameter.
The default values of
nproc,
ncallout,
ninode, and
nfile are defined in terms of maxusers in
the kernel-definition file, /usr/conf/master.