Oracle Solaris System Administration (MOSC)

MOSC Banner

Understanding projects

edited Feb 22, 2014 12:00PM in Oracle Solaris System Administration (MOSC) 1 commentAnswered

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)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center