Understanding projects
Hi,
I'm trying to understand how projects limits work, what i'm trying to do is limit 2 users to the maximum amount of memory they can use as per the example below.
I have a container on a global zone with an allocation of memory of 43G
:OH1> prctl -n zone.max-shm-memory $$
process: 10338: -ksh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
zone.max-shm-memory
privileged 35.0GB - deny -
system 16.0EB max deny
There are 2 users that is would like to keep below this limit.
If I were to set user projects memory limit to 26G each like so:
user.oramnr1:101::oramnr1::project.max-shm-memory=(priv,27917287424,deny);project.cpu-shares=(privileged,100,none)