This article talks about the Kernel Parameters Management, and shows you how to change them.
Enter the following command to display the current values of the kernel parameters:
/sbin/sysctl -a | grep para
where para is the beginning letters of the kernel parameter(s).
For instance to show the semaphore parameters:
/sbin/sysctl -a | grep sem
If the value of any kernel parameter is different from the minimum value you want, then perform the following:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304
/sbin/sysctl -p
Review the output from this command to verify that the values are correct. If the values are incorrect, edit the /etc/sysctl.conf file, then enter this command again.
/sbin/sysctl -a