JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Part I Oracle Solaris Resource Management

1.  Introduction to Resource Management

2.  Projects and Tasks (Overview)

3.  Administering Projects and Tasks

4.  Extended Accounting (Overview)

5.  Administering Extended Accounting (Tasks)

6.  Resource Controls (Overview)

7.  Administering Resource Controls (Tasks)

8.  Fair Share Scheduler (Overview)

9.  Administering the Fair Share Scheduler (Tasks)

10.  Physical Memory Control Using the Resource Capping Daemon (Overview)

11.  Administering the Resource Capping Daemon (Tasks)

Setting the Resident Set Size Cap

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

How to Use the projmod Command to Add an rcap.max-rss Attribute for a Project

Configuring and Using the Resource Capping Daemon (Task Map)

Administering the Resource Capping Daemon With rcapadm

How to Set the Memory Cap Enforcement Threshold

How to Set Operation Intervals

How to Enable Resource Capping

How to Disable Resource Capping

How to Specify a Temporary Resource Cap for a Zone

Producing Reports With rcapstat

Reporting Cap and Project Information

Monitoring the RSS of a Project

Determining the Working Set Size of a Project

Reporting Memory Utilization and the Memory Cap Enforcement Threshold

12.  Resource Pools (Overview)

13.  Creating and Administering Resource Pools (Tasks)

14.  Resource Management Configuration Example

Part II Oracle Solaris Zones

15.  Introduction to Oracle Solaris Zones

16.  Non-Global Zone Configuration (Overview)

17.  Planning and Configuring Non-Global Zones (Tasks)

18.  About Installing, Shutting Down, Halting, Uninstalling, and Cloning Non-Global Zones (Overview)

19.  Installing, Booting, Shutting Down, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)

20.  Non-Global Zone Login (Overview)

21.  Logging In to Non-Global Zones (Tasks)

22.  About Zone Migrations and the zonep2vchk Tool

23.  Migrating Oracle Solaris Systems and Migrating Non-Global Zones (Tasks)

24.  About Automatic Installation and Packages on an Oracle Solaris 11.1 System With Zones Installed

25.  Oracle Solaris Zones Administration (Overview)

26.  Administering Oracle Solaris Zones (Tasks)

27.  Configuring and Administering Immutable Zones

28.  Troubleshooting Miscellaneous Oracle Solaris Zones Problems

Part III Oracle Solaris 10 Zones

29.  Introduction to Oracle Solaris 10 Zones

30.  Assessing an Oracle Solaris 10 System and Creating an Archive

31.  (Optional) Migrating an Oracle Solaris 10 native Non-Global Zone Into an Oracle Solaris 10 Zone

32.  Configuring the solaris10 Branded Zone

33.  Installing the solaris10 Branded Zone

34.  Booting a Zone, Logging in, and Zone Migration

Glossary

Index

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 root or assume an equivalent role.
  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 gigabytes 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 root or assume an equivalent role.
  2. Set an rcap.max-rss attribute of 10 gigabytes 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