Use the following command to check the values set for the relevant parameters in the current system:
/sbin/sysctl -a
Example
# /sbin/sysctl -a ... (snip) ... kernel.sem = 250 32000 32 128 kernel.msgmnb = 4194304 kernel.msgmni = 8192 kernel.msgmax = 65536 kernel.shmmni = 4096 kernel.shmall = 4294967296 kernel.shmmax = 68719476736 ... (snip) ...
Refer to "A.4.1 System Parameter Tuning Values" and compare with the current values that are set. Calculate the appropriate value to set for each parameter, taking into account the type (maximum or additional).
Edit "/etc/sysctl.conf" as shown in the example below.
Example
kernel.sem = 250 32002 32 130 kernel.shmmni = 4096 kernel.msgmnb = 4194304 kernel.msgmni = 8192
Use the following command to check that the edited content is reflected in "/etc/sysctl/conf":
# /bin/cat /etc/sysctl.conf
Use one of the following methods to enable the settings set in Step 3:
Rebooting the system to reflect the settings
# /sbin/shutdown -r now
Using /sbin/sysctl -p to reflect the settings
# /sbin/sysctl -p /etc/sysctl.conf (*1)
*1: Reboot is not required if this command is used.
Check the output of the following command to check that the set system parameters are reflected:
# /sbin/sysctl -a
Example
# /sbin/sysctl -a ... (snip) ... kernel.sem = 250 32002 32 130 kernel.msgmnb = 4194304 kernel.msgmni = 8192 kernel.msgmax = 65536 kernel.shmmni = 4096 kernel.shmall = 4294967296 kernel.shmmax = 68719476736 ... (snip) ...