Red Hat Directory Server B.08.00.02 for HP-UX Release Notes and Supplemental Instructions

max_thread_proc
256 (default)
maxfiles
2048 (default)
maxfiles_lim
4096 (default)
nproc
4200 (default)
To verify the current values of these kernel parameters, use the sysdef(1M) or kctune utility. For
example:
kctune | grep -e max_thread_proc -e maxfiles -e maxfiles_lim \
-e nproc
You can expect the following output after reconfiguration:
max_thread_proc
256
maxfiles
2048
maxfiles_lim
4096
nproc 4200
3.1.6.1.1 Maximum Data Segment Size (maxdsiz_64bit, maxdsiz_64bit) Recommendations
HP recommends that you set the maximum data segment size for a user process (maxdsiz on
32-bit systems or maxdsiz_64bit on 64-bit systems) to accommodate sizes of the Directory
Server caches. HP recommends that you set the maximum data segment size to at least the size
of (nsslapd-cachememsize) + ( nsslapd-dbcachesize).
The default values for these parameters are as follows:
nsslapd-cachememsize: 10,485,760 bytes (approximately 10 MB)
nsslapd-dbcachesize: 10,000,000 bytes (approximately 10 MB)
If you use the default values for these parameters, set the value for the maxdsiz or
maxdsiz_64bit parameter to at least 25 MB. This assumes that the Directory Server processes
are tuned to use a single heap arena. for more information, seeSection 4.3.2.1 (page 30).
For information about setting the Directory Server cache sizes, see Section 4.3.2 (page 29).
3.1.6.2 TCP TIME_WAIT Interval
Normally, client applications that shut down correctly cause the TCP connection end point to
linger in a TIME_WAIT state. Use the following command to verify that the TCP
time_wait_interval parameter is set to a reasonable value:
ndd -get /dev/tcp tcp_time_wait_interval
If not, set it to a reasonable value, such as 60 seconds. The value is specified in milliseconds. The
following example sets the value to 60 seconds (60000 ms):
ndd -set /dev/tcp tcp_time_wait_interval 60000
3.1.6.3 Large File Support
To run Directory Server on HP-UX, you must enable large file support for the file system where
the directory data is stored. By default, directory data is stored below the /var/opt/dirsrv
directory. If large file support is not enabled for the file system for this directory, use the fsadm
command to enable it. In the following example, the root of the file system for the /var/opt/
dirsrv directory is /var:
fsadm -F vxfs -o largefiles /var
If the file system for the /var/opt/dirsrv directory does not support online administration,
you must unmount the file system and specify the device file. For more information, see fsadm(1m).
3.1 Preparing for Red Hat Directory Server 8.0 Installation 21