Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Virtualization Using the Solaris Operating System
Previous Next

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

  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.

How to Use the projmod Command 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. 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
Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire