System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

Resource Controls You Can Set

The following table shows the resource controls that can be set in the console. The table describes the resource that is constrained by each control. The table also identifies the default units that are used by the project database for that resource. The default units are of two types:

Thus, project.cpu-shares specifies the number of shares to which the project is entitled. process.max-file-descriptor specifies the highest file number that can be assigned to a process by the open(2) system call.

Table 15–1 Standard Resource Controls Available in the Solaris Management Console

Control Name 

Description 

Default Unit 

project.cpu-shares

The number of CPU shares that are granted to this project for use with the fair share scheduler (FSS) (see the FSS(7) man page)

Quantity (shares) 

task.max-cpu-time

Maximum CPU time that is available to this task's processes 

Time (seconds) 

task.max-lwps

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

Quantity (LWPs) 

process.max-cpu-time

Maximum CPU time that is available to this process 

Time (seconds) 

process.max-file-descriptor

Maximum file descriptor index that is available to this process 

Index (maximum file descriptor) 

process.max-file-size

Maximum file offset that is available for writing by this process 

Size (bytes) 

process.max-core-size

Maximum size of a core file that is created by this process 

Size (bytes) 

process.max-data-size

Maximum heap memory that is available to this process 

Size (bytes) 

process.max-stack-size

Maximum stack memory segment that is 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)