Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

max-shm-memory within a project - is the default value equal to the limit if there was no project?

inquisitive_gJun 22 2017 — edited Jun 22 2017

I am a non-root using application server support analyst. That is, I do not administer our unix hosts themselves and so the settings I am querying below have been set by someone else and before my time.

I see myuser has a project assigned to it. I understand that the max-shm-memory value here is default and is derived from total system memory divided by 4.

> projects -l user.myuser

user.myuser

        projid : 500

        comment: "Project to set Sol10 Kernel Settings"

        users  : myuser

        groups : (none)

        attribs: process.max-file-descriptor=(privileged,65536,deny)

                 process.max-sem-nsems=(privileged,512,deny)

                 process.max-sem-ops=(privileged,512,deny)

                 project.max-sem-ids=(privileged,1024,deny)

                 project.max-shm-ids=(privileged,1024,deny)

                 project.max-shm-memory=(privileged,4294967296,deny)

I can see from a historical record in our change management system that the purpose of creating the project above was to set the non default value of 65536 for max-file-descriptor.

My question is... in doing so, have we inadvertently placed a 4 GB shared memory limit on myuser, or is it the case that myuser (or any user for that matter) is only entitled to one quarter of total system memory by default, whether a project has been created or not?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2017
Added on Jun 22 2017
2 comments
616 views