Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

prctl -n project.max-shm-memory -i process $$

user3240461Sep 6 2012 — edited Sep 23 2012
Hi all,
when i execute the following command "prctl -n project.max-shm-memory -i process $$"
its output is
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 5.85TB - deny

5.85TB while RAM is only 32GB.
How i can change it for oracle user.

Comments

929847
What does your /etc/project file says?
Mine is (showing oracle user):
oracle:100::oracle::process.max-sem-nsems=(priv,300,deny);project.max-sem-ids=(priv,100,deny);project.max-shm-ids=(priv,512,deny);project.max-shm-memory=(priv,8589934592,deny)
That is 8 GB RAM allowed for oracle use (max-shm-memory).

Change it using
projmod -sK "project.max-shm-memory=(priv,8G,deny)" oracle
Jan
user3240461
/etc/projects output is =
user.oracle:100:My database:oracle::project.max-shm-memory=(priv,17179869184,den
y). it shows 16 GB.

i dont know how it shows 5.8 TB instead of 16 GB
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 21 2012
Added on Sep 6 2012
2 comments
494 views