Setting the Resident Set Size Cap
Define a physical memory resource resident set size (RSS) cap for a project
by adding an rcap.max-rss attribute to the project database entry.
How to Add an rcap.max-rss Attribute for a Project
- Become superuser, or assume a role that includes the Process Management profile.
The System Administrator role includes the Process Management profile. For information on how
to create the role and assign the role to a user, see Managing
RBAC (Task Map) in System Administration Guide: Security Services.
- Add this attribute to the /etc/project file:
rcap.max-rss=value
Example 11-1 RSS Project Cap
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 that the system might round the specified cap value to a
page size.
How to Use the projmod Command to Add an rcap.max-rss Attribute for a Project
- Become superuser, or assume a role that includes the Process Management profile.
The System Administrator role includes the Process Management profile. For information on how
to create the role and assign the role to a user, see Managing
RBAC (Task Map) in System Administration Guide: Security Services.
- Set an rcap.max-rss attribute of 10 Gbytes in the /etc/project file, in this
case for a project named db.
# projmod -a -K rcap.max-rss=10GB db
The /etc/project file then contains the line:
db:100::db,root::rcap.max-rss=10737418240