Administering Resource Management in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Zone-Wide Resource Controls

Zone-wide resource controls limit the total resource usage of all process entities within a zone. Zone-wide resource controls can also be set using global property names as described in Zone Components in Introduction to Oracle Solaris Zones .

Table 6-2  Zones Resource Controls
Control Name
Description
Default Unit
zone.cpu-cap
Absolute limit on the amount of CPU resources that can be consumed by a non-global zone.
A value of 100 means 100% of one CPU as the project.cpu-cap setting. A value of 125 is 125%, because 100% corresponds to one full CPU on the system when using CPU caps.
Quantity (number of CPUs)
zone.cpu-shares
Number of fair share scheduler (FSS) CPU shares for this zone
Quantity (shares)
zone.max-lofi
Maximum number of lofi devices that can be created by a zone.
The value limits each zone's usage of the minor node namespace.
Quantity (number of lofi devices)
zone.max-locked-memory
Total amount of physical locked memory available to a zone.
When priv_proc_lock_memory is assigned to a zone, consider setting this resource control as well to prevent that zone from locking all memory.
Size (bytes)
zone.max-lwps
Maximum number of LWPs simultaneously available to this zone
Quantity (LWPs)
zone.max-msg-ids
Maximum number of message queue IDs allowed for this zone
Quantity (message queue IDs)
zone.max-processes
Maximum number of process table slots simultaneously available to this zone.
Because both normal processes and zombie processes take up process table slots, the max-processes control thus protects against zombies exhausting the process table. Because zombie processes do not have any LWPs by definition, the max-lwps control cannot protect against this possibility.
Quantity (process table slots)
zone.max-sem-ids
Maximum number of semaphore IDs allowed for this zone
Quantity (semaphore IDs)
zone.max-shm-ids
Maximum number of shared memory IDs allowed for this zone
Quantity (shared memory IDs)
zone.max-shm-memory
Total amount of System V shared memory allowed for this zone
Size (bytes)
zone.max-swap
Total amount of swap that can be consumed by user process address space mappings and tmpfs mounts for this zone.
Size (bytes)

For information on configuring zone-wide resource controls, see Configuring Resource Controls and Attributes and Setting Zone-Wide Resource Controls in Introduction to Oracle Solaris Zones .

Note that it is possible to apply a zone-wide resource control to the global zone.