5. Set Kernel Parameters

5.1. Edit /etc/sysctl.conf

Add the following lines to the /etc/sysctl.conf file:


kernel.shmmax = 2147483648
kernel.shmmni = 128
kernel.shmall = 2097152
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

5.2. Edit /etc/security/limits.conf

Additionally the following lines can be added to the /etc/security/limits.conf file:


oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384

Adding lines into these files requires a reboot before the new settings take effect.

mirror server hosted at Truenetwork, Russian Federation.