本文档安装所涉及内核参数设置,均来自于官方参考手册。
一、 内核参数配置
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
二、 Setting Shell Limits for the oracle User
To improve the performance of the software on Linux
systems, you must increase the
following shell limits for the oracle user:
Note: Include lines only for the kernel parameter values that you
want to change. For the semaphore parameters (kernel.sem), you
must specify all four values. However, if any of the current values
are larger than the recommended value, then specify the larger
value.
Shell Limit Item in limits.conf Hard Limit
Maximum number of open "le descriptors nofile 65536(hardlimit)
Maximum number of processes available to a single
User nproc 16384(hardlimited)
To increase the shell limits:
1. Add the following lines to the /etc/security/limits.conf "le:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
2. Add or edit the following line in the /etc/pam.d/login "le, if it
does not
already exist:
session required /lib/security/pam_limits.so
3. Depending on the oracle user's default
评论0
最新资源