关于安装ORACLE /etc/sysctl.conf 参数解释

Add or amend the following lines to the “/etc/sysctl.conf” file.

fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 1054504960
kernel.shmmni = 4096

semaphores: semmsl, semmns, semopm, semmni

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

—各个参数解释
fs.aio-max-nr = 1048576   文件系统最大异步io
fs.file-max = 65536  文件系统中文件的最大个数
kernel.sem = 250 32000 100 128
SEMMSL SEMMNS SEMOPM SEMMNI
如当oracle DB初始化参数文件中PROCESSES参数设置较大时,需要调整SEMAPHORES设置
SEMMSL应该设置为服务器中各个实例中最大的PROCESSES参数+10,例如,当最大的PROCESSES参数为5000时,SEMMSL应设置为5010。
SEMMNS参数应设置为SEMMSLSEMMNI,接上例SEMMSL为5010,SEMMNS参数应为(5010128)=641280。
SEMOPM参数应设置与SEMMSL参数相同,接上例此处应设置为5010
kernel.shmmni = 4096  --最小共享内存大小 bytes
net.ipv4.ip_local_port_range = 1024 65000  端口的范围 1024—65000
net.core.rmem_default = 1048576   r–read 
net.core.rmem_max = 1048576
net.core.wmem_default = 262144  w–write
net.core.wmem_max = 262144


本文来自 甲骨灰 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/xmallwood/article/details/8972409?utm_source=copy

猜你喜欢

转载自blog.csdn.net/qq_38264153/article/details/82841011