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 significantly 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 one of the following conditions is true:
▪ SharedMemoryAccess.MaxSharedMemorySize=0 and the memory size that is set with max-shm-memory is smaller than the maximum size of the physical memory in your computer.
▪ The memory size set with max-shm-memory is smaller than the memory size that is set with the parameter SharedMemoryAccess.MaxSharedMemorySize.
|
Setting this parameter to a higher value has no side effects.
▪ The value that is set with the SharedMemoryAccess.MaxSharedMemorySize parameter takes precedence over the value that is set with the kernel parameter. Thus, the value that is set with the SharedMemoryAccess.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 (SharedMemoryAccess.MaxSharedMemorySize=0). Thus, the default value that is set with the kernel parameter might be too low.
|