在安装Oracle19c时,在条件检查步骤时,提示了几个Warning警告,这些警告是由于内核参数配置导致,只需配置内核参数即可。
警告一:
1 2 3 4 5 6 |
OS Kernel Parameter. semopm This is a prerequisite condition to test whether the OS kernel parameter "semopm" is properly set. (more details) Expected Value : 100 Actual Value : Current=32; Configured=undefined |
解决办法:
1 |
vi /etc/sysctl.conf |
配置以下内容
1 |
kernel.sem = 250 32000 100 128 |
保存退出执行sysctl -p命令,使其生效
警告二:
1 2 3 4 5 6 |
OS Kernel Parameter. file-max This is a prerequisite condition to test whether the OS kernel parameter "file-max" is properly set. (more details) Expected Value : 6815744 Actual Value : Current=761260; Configured=undefined |
解决办法:
1 |
vi /etc/sysctl.conf |
配置以下内容
1 |
fs.file-max = 6815744 |
保存退出执行sysctl -p命令,使其生效
警告三:
1 2 3 4 5 6 |
OS Kernel Parameter. rmem_default This is a prerequisite condition to test whether the OS kernel parameter "rmem_default" is properly set. (more details) Expected Value : 262144 Actual Value : Current=212992; Configured=undefined |
解决办法:
1 |
vi /etc/sysctl.conf |
配置以下内容
1 |
net.core.wmem_default= 262144 |
保存退出执行sysctl -p命令,使其生效
警告四:
1 2 3 4 5 6 |
OS Kernel Parameter. rmem_max This is a prerequisite condition to test whether the OS kernel parameter "rmem_max" is properly set. (more details) Expected Value : 4194304 Actual Value : Current=212992; Configured=undefined |
解决办法:
1 |
vi /etc/sysctl.conf |
配置以下内容
1 |
net.core.rmem_max= 4194304 |
保存退出执行sysctl -p命令,使其生效
警告五:
1 2 3 4 5 6 |
OS Kernel Parameter. wmem_default This is a prerequisite condition to test whether the OS kernel parameter "wmem_default" is properly set. (more details) Expected Value : 262144 Actual Value : Current=212992; Configured=undefined |
解决办法:
1 |
vi /etc/sysctl.conf |
配置以下内容
1 |
net.core.rmem_default = 262144 |
保存退出执行sysctl -p命令,使其生效
警告六:
1 2 3 4 5 6 |
OS Kernel Parameter. wmem_max This is a prerequisite condition to test whether the OS kernel parameter "wmem_max" is properly set. (more details) Expected Value : 1048576 Actual Value : Current=212992; Configured=undefined |
解决办法:
1 |
vi /etc/sysctl.conf |
配置以下内容
1 |
net.core.rmem_max= 4194304 |
保存退出执行sysctl -p命令,使其生效
警告七:
1 2 3 4 5 6 |
OS Kernel Parameter. aio-max-nr This is a prerequisite condition to test whether the OS kernel parameter "aio-max-nr" is properly set. (more details) Expected Value : 1048576 Actual Value : Current=65536; Configured=undefined |
解决办法:
1 |
vi /etc/sysctl.conf |
配置以下内容
1 |
fs.aio-max-nr = 1048576 |
保存退出执行sysctl -p命令,使其生效
原文链接:安装Oracle19c提示Warning问题解决,转载请注明来源!