linux内核值shmmax问题

问题:(rac安装过程中grid检测)

 Please run the following script on each node as "root" user to execute the fixups:
'/tmp/CVU_11.2.0.4.0_grid/runfixup.sh'    然后我根据提示去运行脚本    脚本运行提示如下:The value for shmmax in response file is not greater than value of shmmax for current session. Hence not changing it.   
 
原因:shmmax值大小不合适
 
方法:设置为 >物理机的内存*1024*1024*1024*0.9
 

第一种是临时性的修改,操作十分简单在bash shell下敲下下面的命令:

# echo "xxxxxxx" > /proc/sys/kernel/shmmax

第二种是永久性的修改,修改 /etc/sysctl.conf 使更改永久化。在该文件内添加以下一行,这个更改在系统重新启动后生效kernel.shmmax = xxxxxxxxx 。

原文地址:https://www.cnblogs.com/andy6/p/5794657.html