Project configuration
I'm trying to set up a project to contain 2 users and be limited to the total combined amount of memory that they can use, here is what I've done
projadd -U oramnr1,oramaf1 -K "project.max-shm-memory=(priv,18432MB,deny)" user.oracle
And this is what I see after:
> whoami
oramnr1
> projects -l
.
.
.
user.oracle
projid : 100
comment: ""
users : oramaf1
oramnr1
groups : (none)
attribs: project.max-shm-memory=(priv,19327352832,deny)
> id -p
uid=110(oramnr1) gid=179(mnrdba1) projid=3(default)
> projects
default user.oracle
> prctl -n project.max-shm-memory $$
process: 16506: -ksh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 31.4GB - deny -
system 16.0EB max deny -