Nonstop Database, HiRDB Version 9 Installation and Design Guide
This section describes the procedures for estimating the HP-UX OS parameter values (or kernel parameter values). If OS parameter values are too small, HiRDB may not function correctly. The table below shows guidelines for HP-UX OS parameter values.
If you are using HP-UX 11i, do not change the OS parameter values while HiRDB is running. Even an OS parameter that can be adjusted automatically, if changed may affect HiRDB operations.
Table 20-1 Guidelines for the HP-UX OS parameter values
| OS parameter | Guideline for value |
|---|---|
| maxdsiz (32-bit-mode) maxdsiz_64bit (64-bit mode) |
The target value should satisfy the following two conditions; however, if the value is less than (process private area used by the single server process#1) 32-bit mode
Use the following value as a guideline; however, if the value is less than (process private area used by each server process#3)
|
| maxssiz maxssiz_64bit (64-bit mode) |
Specify 80 MB or greater. Note that the unit for this value is MB. If this value is less than the value required by another program that is run on the server machine, specify the latter, which is greater. |
| maxfiles | HiRDB calculates and sets this value, so you do not need to specify it. |
| maxfiles_lim | Specify 8192. |
| nfile#6 | Specify a value at or above: MAX{1,600, 320 Specify at least the value obtained with the above formula by adding one of the following: value of pd_max_users + value of pd_max_reflect_process_count (D + 3 D: Total the values found by executing the following formulas for each server in the unit. Back-end server value of pd_max_bes_process + value of pd_max_reflect_process_count Dictionary server value of pd_max_dic_process + value of pd_max_reflect_process_count If the pd_max_bes_process or pd_max_dic_process operand is omitted, perform the calculation using the pd_max_users value. If the unit has multiple back-end servers, perform the calculation for each back-end server. E: 16 (number of lock-release wait threads) If the value determined from this formula exceeds the system maximum, use the system maximum value. |
| nflocks | Specify at least a + (b |
| maxuprc | Specify at least MAX(value of pd_max_server_process + e, 512). However, if this value is less than the value required by another program that runs on the server machine, specify the higher value. |
| nproc | Specify at least the value of MAX (pd_max_server_process + 20, 576). |
| msgmni | Specify the number of message queue identifiers required by all programs that are run on the server machine. For details about the number of message queue identifiers required by HiRDB, see 20.5 Estimating the sizes of message queues and semaphores. Add the values obtained. |
| msgtql | See msgtql formula below. Specify at least the value obtained. |
| msgmnb | See msgmnb formula below. Specify at least the value obtained. However, for a multi-HiRDB configuration, specify the highest of the values obtained for the HiRDB systems. |
| semmni | Specify the number of semaphore identifiers required by all programs that are run on the server machine. For details about the number of semaphore identifiers required by HiRDB, see 20.5 Estimating the sizes of message queues and semaphores. Add the values obtained. The recommended value is 1,024 or greater. |
| semmns | Specify the number of semaphores required by all programs that are run on the server machine. For details about the number of semaphores required by HiRDB, see 20.5 Estimating the sizes of message queues and semaphores. Add the values obtained. The recommended value is 7,200 or greater. |
| semmnu | Specify a value of 512 or greater. |
| semume | Specify a value of 512 or greater. |
| shmmax | Specify at least MAX(p + q, r, s, t), and at least 200,000,000. If the global buffer dynamic update facility is used, consider the size of the global buffers to be added; if there is a possibility that the size of the added part will become greater than the specified value, specify the anticipated size of the added part. However, if the inter-process memory communication facility is used (PDIPC=MEMORY is specified in the client environment definition), specify a size of at least MAX(p + q, r, s, value of PDSENDMEMSIZE, value of PDRECVMEMSIZE). Specify in the HiRDB system definition's SHMMAX operand a value no greater than the value for shmmax determined here. |
| shmmni | Specify a value of 1,000 or greater.
|
| shmseg | Specify a value of 120 or greater.
|
| Value of msgmnb = MAX((A + B |
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.