Resource Controls

Resource controls provide a mechanism for constraint on system resources. You can restrict the amounts of specified system resources consumed by processes, tasks, and projects.

Resource management functionality enables you to control how applications use available system resources. You can:

Use resource management features to treat the workloads generated by different applications on your system individually. You can:

To implement a system configuration using the resource management facilities, set resource control attributes for each project entry in the project database or name service project table.

Available Resource Controls

The standard resource controls available in this release are shown in the following table.

The table describes the resource constrained by each control, and it also identifies the default units used by the project database for that resource. The default units are of two types. Quantities represent a limited amount, and indexes represent a maximum valid identifier. Thus, project.cpu-shares specifies the number of shares the project is entitled to, while process.max-file-descriptor specifies the highest file number that can be assigned to a process by the open(2) system call.

Control Name

Description

Default Unit


project.cpu-shares


The number of CPU shares granted to this project for use with fair share scheduler (FSS)


Quantity (shares)


task.max-cpu-time


Maximum CPU time available to this task's processes


Time (milliseconds)


task.max-lwps


Maximum number of LWPs simultaneously available to this task's processes


Quantity (LWPs)


process.max-cpu-time


Maximum CPU time available to this process


Time (milliseconds)


process.max-file-descriptor


Maximum file descriptor index available to this process


Index (maximum file descriptor)


process.max-file-size


Maximum file offset available for writing by this process


Size (bytes)


process.max-core-size


Maximum size of a core file produced by this process


Size (bytes)


process.max-data-size


Maximum heap memory available to this process


Size (bytes)


process.max-stack-size


Maximum stack memory segment available to this process


Size (bytes)


process.max-address-space


Maximum amount of address space, as summed over segment sizes, available to this process


Size (bytes)

Actions on Resource Control Values

For each threshold value placed on a resource control, you can associate one or more actions.

The following signals are available to resource controls.

For additional information, see the System Administration Guide: Resource Management and Network Services.