Resource Controls

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

last modified by admin on 2009/10/26 12:17
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.