Sunday, January 29, 2012

11gR2 install fails with “Hard Limit: maximum user processes” error

Just finished dealing with “Hard Limit: maximum user processes” error on Open Solaris 10 while installing 11gR2:
11gR2 install fails with
Oracle Metalink was useless — total waste of time — I hate that site now, it’s gone completely into the crapper.
1) edit /etc/system as follows:
set shmsys:shminfo_shmmax=12025908428
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set shmsys:shminfo_shmmin=1
set max_nprocs=30000
set maxuprc=16384
2) setup project for oracle user (if it’s already setup then just ignore the duplicate error while running projadd command):
projadd -U oracle
projmod -s -K "project.max-sem-ids=(priv,100,deny)"
projmod -s -K "process.max-sem-nsems=(priv,256,deny)"
projmod -s -K "project.max-shm-memory=(priv,12025908428,deny)"
projmod -s -K "project.max-shm-ids=(priv,100,deny)"
projmod -s -K "process.max-file-descriptor=(priv,65536,deny)"
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

Post a Comment