HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)

HP-UX Configuration for HP CIFS
Configuring Kernel Parameters for HP CIFS
Chapter 12 259
Configuring Kernel Parameters for HP CIFS
The first step in configuring HPUX to be able to support a large number
of clients on a HP CIFS server is to adjust the maxusers kernel
parameter.
The second step involves adjusting nproc, nfile, nflocks and ninode
individually so as to allow a large number of users to be connected
simultaneously.
1. Configuring maxusers
Determine the maximum number of simultaneous clients that will be
connected and add this number to the current value of maxusers.For
example, if 2048 clients are to be supported, simply add 2048 to the
current value of maxusers. Note that, unless the parameters have
been manually changed, adjusting maxusers automatically adjusts
the corresponding values for nproc, nfile and ninodes.
For example, if the default maxusers value of 32 is adjusted to
32+2048 or 2080 to support the maximum allowable clients of 2048,
the other parameters will be adjusted as follows on a typical system:
nproc will be increased to 8,468
nfile will be increased to 15,656
ninode will be increased to 9,692
If these values are found to be too large or too small for that matter,
then the individual kernel parameters can be adjusted as described
below.
2. Configuring nproc, nfile and ninode.
nproc: since each client will be handled by one unique smbd
process, and each process will take up one entry in the process
table, this parameter has to be at least equal to the maximum
number of simultaneously connected clients. This is a necessary
condition, but it will obviously not be sufficient since there will be
others processes, including system processes beyond your
control, that will take up proc table entries. In practice then, this
parameter needs to be set to the anticipated maximum number
of clients plus the number of the other processes that will also be
running concurrent with HP CIFS.