Setting Examples
Kernel Parameters
Refer to the table below and set the appropriate kernel parameters.
Classification | Kernel Parameter | Recommended Value | Remark |
---|---|---|---|
Shared Memory | shmmax | 2G+1 | - |
shmmni | 500 | - | |
shmseg | 200 | - | |
Semaphore | semmns | 8192 | - |
semmni | 5029 | - | |
semmsl | 2000 | Be carefult not to set as a large value | |
semmap | 5024 | - | |
semmnu | 1024 | - | |
semopm | 512 | - | |
semume | 512 | - | |
semvmx | 32767 | Generally does not exceed 32767. |
For additional factors to be considered when loading a memory DB into shared memory, refer to the [Shared Memory] section.
User Resource Limitation
In the case of sh, bash, and ksh, examples of setting required environment variables using the environment setting file are as follows. In the case of csh, it is declared through a shell command such as setenv instead of export.
For reference, in the case of ksh, an error may occur when defining another environment variable using the environment variable with being predefined.