Operating System - HP-UX
1833059 Members
2598 Online
110049 Solutions
New Discussion

oracle instance processes

 
Joe Profaizer
Super Advisor

oracle instance processes

When we try to start up an oracle instance with processes set at 500 we get an error.

Changing the instance parameter to 400 allows it to start

ipcs -as shows NSEMS for an Oracle owned semaphore at 404, so we're assuming this is the value that we're exceeding when we set it to 500.

Just need to find out what kernel parameter is related to that.
3 REPLIES 3
John Poff
Honored Contributor

Re: oracle instance processes

Hello Joe,

When you say "processes" and "instance parameter", what exactly are you referring to? Is that the 'nproc' kernel parameter? The 'semmni' kernel parameter is the number of semaphore identifiers, and on the box I'm looking at it uses the formula (NPROC*2), so it would be tied into the number of processes.

If you are running Oracle you could have a ton of processes. You might need to bump up NPROC to a much higher number. On the box I'm looking at (big Oracle V-class box), we have it set at 2794.

JP
Andreas D. Skjervold
Honored Contributor

Re: oracle instance processes

Hi
The kernel parameter SEMMNS is related to the init.ora parameter processes and should be set to a value higher than the sum of processes for all your instances.

I usually set SEMMNS = processes x 2

Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Wodisch
Honored Contributor

Re: oracle instance processes

Hello Joe,
did you not ask this question the day before somewhere
else on the forums???
Anyway, depending on you release of Oracle8, you might
need to have a lot more semaphores than you actually
use... There are some circumstances, when Oracle8
does not free the semaphores fast enough upon
shutdown, so they still used when the instances starts
again :-(
But semaphores are cheap (kind of), hence no problem
in allocating a couple of thousands of them in your
kernel. Remember that HP-UX, and CDE, and other
applications do use semaphores, too.

Conclusion: make the kernel parameter SEMMNS a
multiple of your init*ora parameter PROCESSES, and
do add even some more of them.

HTH,
Wodisch