General discussion

Locked

How to set shared memory kernel params.

By cp409sd ·
I need to change some of the shared memory kernel parameters on my Solaris 8 sparc box. I thought that all I had to do was set them in the /etc/system file, then reboot. The syntax I am using in that file is like:

set SEMMNS=256

This does not seem to change anything though. I issue a sysdef command and nothing has changed, even after a reboot. I need to change these in order to have Oracle 9i install correctly. Oracle tells me what the minumum parameters must be, but not how to change them.

Thanks for the help.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to set shared memory kernel params.

by cpfeiffe In reply to How to set shared memory ...

You are correct in stating that you just need to set the parameters in /etc/system and then reboot, but the syntax is a little off

It should read set seminfo_semmns=256

If you are working with a database here are some others you should be aware of that you may/may not already know about

shminfo_shmmax
shminfo_shmmin
shminfo_shmseg
shminfo_shmlba
seminfo_semmni
seminfo_semmsl

It is highly recommended to look into a book like Oracle & Unix Performance Tuning by Ahmed Alomari if you are working with Oracle. The settings for these parameters will vary per OS, database and your system structure.

Setting the variable with the correct syntax should get you going on your current question, but I just thought I'd throw this extra info in in case you need it as well.

If you need generic calculation algorithms for these variables I have them - just email my alias.

Good luck.

Collapse -

How to set shared memory kernel params.

by Shanghai Sam In reply to How to set shared memory ...

Thanks for the help. That syntax did not exactly work for me, but it got me on the right track. The syntax I used was:

set shmsys:shminfo_semmns=256

Thanks for the help.

Collapse -

How to set shared memory kernel params.

by cp409sd In reply to How to set shared memory ...

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums