Oracle Solaris System Administration (MOSC)

MOSC Banner

Project configuration

edited Jan 30, 2014 11:00AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered
Hi,

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                                 -

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