prctl: oracle: cannot find the project for given id or name – SOLARIS

Cause:

When trying to modify the kernel memory parameter, face below error

root@orsol:~# prctl -n project.max-shm-memory -i project oracle
prctl: oracle: cannot find the project for given id or name

Workaround:

Login to session with the user for which you try to modify memory

root@orsol:~# su - oracle
Oracle Corporation      SunOS 5.11      11.4    Aug 2018

Try it then

root@orsol:~# prctl -n project.max-shm-memory -i project oracle
project: 100: oracle
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        usage               0B
        privileged       987MB      -   deny                                 -
        system          16.0EB    max   deny                                 -

Leave a Reply