Go to main content

Administering Resource Management in Oracle® Solaris 11.4

Exit Print View

Updated: August 2018
 
 

Attribute to Limit Physical Memory Usage for Projects

To define a physical memory resource cap for a project, establish a resident set size (RSS) cap by adding the rcap.max-rss attribute to the project database entry. This attribute sets the total amount of physical memory, in bytes, that is available to processes in the project.

For example, the following line in the /etc/project file sets an RSS cap of 10 Gbytes for a project named db.

db:100::db,root::rcap.max-rss=10737418240

Note -  The system might round the specified cap value to a page size.

You can also use the projmod command to set the rcap.max-rss attribute in the /etc/project file.

For more information, see Setting the Resident Set Size Cap.