how to increase 'zone.max-shm-memory' on Solaris 11.1 sparc
I tried to increase 'zone.max-shm-memory' of global zone of Solaris 11.1 sparc
but face following error:
# prctl -n zone.max-shm-memory -v 255GB -r -i zone global
1: /usr/sbin/init
prctl: cannot modify system values
current config:
# prctl -n zone.max-shm-memory -i zone global
zone: 0: global
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
zone.max-shm-memory
usage 115GB
system 16.0EB max deny -
# vi /etc/system
set shmsys:shminfo_shmmax = 273804165120
# uname -a
SunOS myhost 5.11 11.2 sun4v sparc sun4v
# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 248 239G 0.6% 0.6% 5h 53m
myldm bound ------ 5000 8 16G