Linux kernel settings for the DB2 Universal Database system
These are the DB2 Universal Database (UDB) Linux® kernel settings.
The kernel semaphore settings recommended for DB2® are used. To use these settings, the kernel.sem setting is placed in the file /etc/sysctl.conf.
kernel.sem=”250 32000 32 4096”
The values in this line are:
- The first value is the number of semaphores per array: 250.
- The second value is the maximum number of semaphores system wide: 32000.
- The third value is the maximum number of operations per semop call: 32.
- The fourth value is the maximum number of semaphore arrays: 4096.
This setting is activated automatically at system start time when the boot.sysctl service is enabled, or at run time by issuing this command:
sysctl -p /etc/sysctl.conf
Also, the kernel swappiness parameter is set to zero, as described in Setting swappiness parameter to zero.