天天看點

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 。

文章可以轉載,必須以連結形式标明出處。

本文轉自 張沖andy 部落格園部落格,原文連結: http://www.cnblogs.com/andy6/p/5794657.html  ,如需轉載請自行聯系原作者

繼續閱讀