kernel parameters

2007-12-25 9:25:00

This list is the greatest thing that happens in the Internet world!!!!

I got an answer before getting a copy of my own posting.

ORIGINAL QUESTION

Hello everybody?

I was requested to modify the kernel parameters for oracle.

OS: Solaris 2.5.1 with recommended patches, on an E6000.

I added the following lines to the /etc/system:

*

*

* Variables for Oracle

set shmsys:shminfo_shmmax=134217728

set shmsys:shminfo_shmmin=1

set shmsys:shminfo_shmmni=150

set shmsys:shminfo_shmseg=10

set semsys:seminfo_semmns=2500

set semsys:seminfo_semmni=750

set semsys:seminfo_semmsl=300

set semsys:seminfo_semmap=750

set semsys:seminfo_semmnu=2500

set msgsys:msginfo_msgmap=1000

set msgsys:msginfo_msgmax=2048

set msgsys:msginfo_msgmni=600

set msgsys:msginfo_msgssz=8

set msgsys:msginfo_msgtql=1000

After rebooting the machine, the output from sysdef -i looks like this:

*

* IPC Messages

*

     0 entries in msg map (MSGMAP)

     0 max message size (MSGMAX)

     0 max bytes on queue (MSGMNB)

     0 message queue identifiers (MSGMNI)

     0 message segment size (MSGSSZ)

     0 system message headers (MSGTQL)

     0 message segments (MSGSEG)

*

* IPC Shared Memory

*

     0 max shared memory segment size (SHMMAX)

     0 min shared memory segment size (SHMMIN)

     0 shared memory identifiers (SHMMNI)

     0 max attached shm segments per process (SHMSEG)

*

Why the Shared Memory and the Messages parameters turned into 0??

What am I doing wrong?

ANSWER:

>From Jeff Waskilko:

"shared memory isn't initialized until it's used. Once you start

your database, you'll see the proper values reported."

The same happens with the rest of the parameters.

THANKS:

Thanks for their answer to:

              Jeff Wasilko <jeffw@smoe.org>

              Charlie Mengler <charliem@anchorchips.com>

              and to the rest of the people whose answers are still on

their way.

Mariel


--
------------------------------------------------------------------------

Mariel Feder - I.T. Consultant
mfeder@meralco.com.ph

Phone: (63) (2) 632.8862 / 632.8977
Fax: (63) (2) 632.8868

Meralco Electric Company
Distributed Information Technology Team
Manila - Philippines

Comments

Got something to say?

You must be logged in to post a comment.