Kernel parameter
|
Description
|
When to modify
|
Notes
|
---|---|---|---|
SHMMNI
|
Maximum number of shared memory segments on a system
|
If the value is smaller than the solidDB process size (in MB) divided by 32.
For example, for a process size of 1 GB (1024 MB), at least 32 segments are needed.
|
Set this parameter to a significantly higher value than required by your database size; a higher value has no side effects.
|
SHMMAX
|
Maximum size of a single shared memory segment on a system
|
If the value is smaller than 32768 KB (32 MB).
|
Setting this parameter to a higher value has no side effects.
Note The ipcs output has converted SHMMAX kilobytes. The kernel requires the SHMMAX value in bytes.
|
SHMALL
|
Maximum allocation of shared memory pages on a system
|
If one of the following conditions is true:
▪ SharedMemoryAccess.MaxSharedMemorySize=0 and the value of SHMALL is smaller than the maximum size of the physical memory that is in your computer (in KB) divided by 4.
▪ The value of SHMALL is smaller than the value that is set with the parameter SharedMemoryAccess.MaxSharedMemorySize (in KB) divided by 4.
|
▪ The value that is set with the MaxSharedMemorySize parameter takes precedence over the value that is set with the kernel parameter. Thus, the value that is set with the MaxSharedMemorySize parameter must never be higher than the value that is set with the kernel parameter.
▪ By default, solidDB is set to use the maximum size of the physical memory of the computer (MaxSharedMemorySize=0). Thus, the default value that is set with the kernel parameter might be too low.
Note The ipcs output has converted SHMALL into kilobytes. The kernel requires the SHMALL value as a number of pages.
|