首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

solaris 11G database 数据库 参数批改 prctl

2012-06-28 
solaris 11G database 数据库 参数修改 prctlprojmod -s -K process.max-sem-nsems(priv,256,deny) use

solaris 11G database 数据库 参数修改 prctl

projmod -s -K "process.max-sem-nsems=(priv,256,deny)" user.oracle
projmod -s -K "project.max-shm-memory=(priv,12025908428,deny)" user.oracle
projmod -s -K "project.max-shm-ids=(priv,100,deny)" user.oracle
projmod -s -K "process.max-file-descriptor=(priv,65536,deny)" user.oracle

3) bounce the box:

init 6

Here’s how to check for the setting:

## before above changes were applied
##
$ kstat|grep v_proc
??????? v_proc????????????????????????? 16362
$
?
$ kstat |grep v_maxup
??????? v_maxup???????????????????????? 16357
??????? v_maxupttl????????????????????? 16357
$
?
## after changes/reboot
##
?
$ kstat|grep v_proc
??????? v_proc????????????????????????? 30000
$
?
$ kstat |grep v_maxup
??????? v_maxup???????????????????????? 16384
??????? v_maxupttl????????????????????? 29995
$

NOTE: the setting above are based on 16gb of RAM if yours is less/more — adjust as per David’s formula.

No related posts.

热点排行