Adjusting the available memory to zones for oracle

Hi all i have a question about available memoru inside the zone.

oracle is reporting aprox 3.9Gb from my 16gb that is like 1/4

previously(sol 7-8-9) you could adjust kernel parameter and shell limit values in the /etc/system but in sol 10 there is a small instruction on the oracle site and it goes something like:

To view the current values of the resource control, enter the following commands:

# id -p // to verify the project id

uid=0(root) gid=0(root) projid=1 (user.root)

# prctl -n project.max-shm-memory -i project user.root

ok i have adjusted the available memory inside the zone by executing

# prctl -n project.max-shm-memory -v 6gb -r -i project user.root

and now it is showing 6gb when using the:

prctl -n project.max-shm-memory -i project user.root

but oracle is still reporting 3.9 what is the probblem do i have to do this in the global zone?

[931 byte] By [Samer_buraeia] at [2007-11-27 3:41:08]
# 1
presuming the oracle tasks are running as uid=oracle, gid=dba:# projadd -p 100 -c "Oracle" -K "project.max-shm-memory=(privileged,6G,deny)" group.dbareboot (to be safe, may only need to bounce instance)Now, everything launched by gid=dba will run with 6Gb of memory
jbosserta at 2007-7-12 8:44:38 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

ok it was done the thing was the sun user didn't have the dba group as the primary.

second thing when i used the smc console to add the mem thing to 6gb beleve it or not projmod (when used with no arg it cheks the project file for errors) did find errors in the project file!! im not shure why is the smc so bad still... but i hope they will fix these stupid bugs.

so in the end i added a project called user.oracle and then:

prctl -n project.max-shm-memory -v 6gb -r -i project user.oracle

And that worket fine in the end thanks jbossert for the help and all for reading.all the best !!!

Samer_buraeia at 2007-7-12 8:44:38 > top of Java-index,Solaris Operating System,Solaris 10 Features...