Resource Controls
en

Resource Controls

NOTE: The rm project is no longer active on this website so information here may be out of date. Current Oracle Solaris 11 product documentation can be found here. Information about downloading Oracle Solaris 11 can be found here.

Resource controls are resource limits that may be placed on several entity types: 

  • processes
  • tasks
  • projects
  • zones

Overview

The following commands can be used to manipulate resource controls.

  • rctladm(1m) lists the resource controls available on the system.
  • prctl(1) will display and modify resource controls on currently running entities.
     zonecfg(1m) can be used to set zone. resource controls that take effect when a zone boots.  See Zones and Resource Management
  • projmod(1m) can be used to configure project(4) to set resource controls automatically when a process joins a project.

Resource control behavior and relationship to rlimits.

  • Resource controls will not effect resources already consumed.  For example, setting zone.max-lwps to 100 on a zone which already has 200 lwps will not kill any lwps.  It will only prevent new lwps from being created.
  • Legacy process resource limits, such as limit/ulimit(1) and rlimits(getrlimit(2)) are implemented using resource controls, and can be viewed using prctl(1).  Using both prctl(1) and limit/ulimit(1) to set resource controls should be done with care.

Active Development and Future Work

Tags:
Created by admin on 2009/10/26 12:17
Last modified by admin on 2009/10/26 12:17

Collectives


XWiki Enterprise 2.7.1.34853 - Documentation