Go to main content

Resource Management and Oracle® Solaris Zones Developer's Guide

Exit Print View

Updated: October 2017

Programming Issues Associated With Resource Controls

Consider the following issues when writing your application:

  • The resource control block is opaque. The control block needs to be dynamically allocated.

  • If a basic resource control is established on a task or project, the process that establishes this resource control becomes an observer. The action for this resource control block is applied to the observer. However, some resources cannot be observed in this manner.

  • If a privileged resource control is set on a task or project, no observer process exists. However, any process that violates the limit becomes the subject of the resource control action.

  • Only one action is permitted for each type: global and local.

  • Only one basic rctl is allowed per process per resource control.