System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Add an rcap.max-rss Attribute for a Project

  1. 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.

  2. 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.