Memory Size Change Warning and Error Messages

  • The following example shows that zonecfg does not accept a capped-memory:pagesize property value that is smaller than 2 Mbytes for the x86 kz1 kernel zone:

    # zonecfg -z kz1
    zonecfg:kz1:capped-memory> set pagesize=1m
    pagesize value is too small. It must be at least 2M.
    zonecfg:kz1:capped-memory> set pagesize=2m
    zonecfg:kz1:capped-memory> end
    zonecfg:kz1> verify
    zonecfg:kz1> exit
  • The following example shows that the MRP service does not accept a config/pagesize property value that is smaller than 2 Mbytes on an x86 system:

    # svcs -xv svc:/system/memory-reserve:zones
    svc:/system/memory-reserve:zones (Memory Reservation Service)
     State: maintenance since Wed Jan 19 09:52:22 2022
    Reason: Requested by service method: "Invalid service configuration:
    unsupported page size in config/pagesize."
       See: http://support.oracle.com/msg/SMF-8000-AR
       See: man -M /usr/share/man -s 8s memory-reserve
       See: man -M /usr/share/man -s 7 solaris-kz
       See: /var/svc/log/system-memory-reserve:zones.log
    Impact: This service is not running.
  • The following example shows the warning message that is output when the attempt to apply a memory change to the kz1 kernel zone partially succeeds:

    # zoneadm -z kz1 apply
    Checking: Modifying capped-memory physical=12G
    Applying the changes
    warning: operation succeeded partially for capped memory (requested: 12G, final: 14G)
  • The following example shows the error message that is output when the attempt to apply a memory change to the kz1 kernel zone fails:

    # zoneadm -z kz1 apply
    Checking: Modifying capped-memory physical=32G
    Applying the changes
    error: Memory reconfiguration not enabled
    error: Modifying capped-memory physical=32G failed

    In this example, the failure is caused by memory live zone reconfiguration not being enabled for the kz1 kernel zone.