将以下行添加到/etc/sysctl.conf文件。
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
此外,可以将以下行添加到/etc/security/limits.conf文件。
oracle soft nofile 65536 oracle hard nofile 65536 oracle soft nproc 16384 oracle hard nproc 16384
将行添加到这些文件需要重启系统才能使新设置生效。