在solaris10上安装oracle,调整共享内存参数的问题
#projmod-a-K “project.max-shm-memory=(priv,4294967295,deny)” user.oracle
.....
在做完以上的参数配置后,查看/etc/project文件内容变为如下形式:
$ more project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.oracle:1233:oracle parameters:oracle::process.max-sem-nsems=(priv,256,deny);project.max-sem-ids=(priv,100,deny);project.max-shm-ids=(priv,100,deny);project.max-shm-memory=(priv,4294967295,deny)
使用prctl命令查看设置是否生效:
$ prctl -n project.max-shm-memory $$
process: 29333: -sh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 4.00GB - deny -
system 16.0EB max deny -
$
可以看到project.max-shm-memory值已经是4G了.
阅读(2070) | 评论(0) | 转发(0) |