Linux创建Oracle时,在Prerequis ite Checks时出现如下问题:

kernel.shmmax:Shmmax 是核心参数中最重要的参数之一,用于定义单个共享内存段的最大值,shmmax 设置应该足够大,能在一个共享内存段下容纳下整个的SGA ,设置的过低可能会导致需要创建多个共享内存段,这样可能

导致系统性能的下降,最大值为16GB

解决方法:

[root@*** oracle]# vim /etc/sysctl.conf
修改配置如下:

kernel.shmmax = 4101355520
emmm,问题还是存在,但是又有一点不一样:

This is a prerequisite condition to test whether the OS kernel parameter “shmmax” is properly set. (more details)
Expected Value : 4101355520
Actual Value : Current=4098955264; Configured=4101355520
解决方法:

[root@*** database]# cat /proc/sys/kernel/shmmax
4098955264
[root@*** database]# echo 4101355520 > /proc/sys/kernel/shmmax
[root@*** database]# cat /proc/sys/kernel/shmmax
4101355520
再次check时,问题解决。

Logo

更多推荐