System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

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 this attribute to the project database entry:


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 gigabytes for a project named db.


Note –

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

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

# projmod -s -K rcap.max-rss=10GB db

The /etc/project file then contains the line: