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 (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 clearly 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 MaxSharedMemorySize=0 and the value of this parameter is smaller than the maximum size of the physical memory size of your computer in KB divided by 4.
or
If the value of this parameter is smaller than the value (in KB divided by 4) you have set with the parameter MaxSharedMemorySize.
|
▪The value set with the MaxSharedMemorySize parameter takes precedence over the value set with the kernel parameter. Thus, the value set with the MaxSharedMemorySize parameter must never be higher than the value 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 set with the kernel parameter may be too low.
Note The ipcs output has converted SHMALL into kilobytes. The kernel requires the SHMALL value as a number of pages.
|
Parameter
|
Description
|
When to modify
|
Notes
|
---|---|---|---|
max-shm-ids
|
Maximum number of shared memory segments on a system
|
If the value is smaller than the solidDB® process size (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 clearly higher value than required by your database size; a higher value has no side effects.
|
max-shm-memory
|
Maximum size of all shared memory segments on a system
|
If MaxSharedMemorySize=0 and the memory size set with this parameter is smaller than the maximum size of the physical memory size of your computer.
or
If the memory size set with this parameter is smaller than the memory size you have set with the parameter MaxSharedMemorySize.
|
Setting this parameter to a higher value has no side effects.
▪The value set with the MaxSharedMemorySize parameter takes precedence over the value set with the kernel parameter. Thus, the value set with the MaxSharedMemorySize parameter must never be higher than the value 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 set with the kernel parameter may be too low.
|