Hi all experts:
   When I attempt to execute an program on solaris(X86) zone platform, an error 
indicated that the memory size is not yet configured, please see the following 
zone info as below: 
 
-bash-3.00# ./ams-9.0.10.0-108719-solaris-x86_2.bin 
Checking OS and version ...
ERROR: Memory size is not yet configured! Using zonecfg to configure 
capped-memory resource
-------------------------------------------   
zonecfg:amstest> export
create -b
set zonepath=/export/home/amstest
set autoboot=true
set ip-type=shared
add inherit-pkg-dir
set dir=/lib
end
add inherit-pkg-dir
set dir=/platform
end
add inherit-pkg-dir
set dir=/sbin
end
add inherit-pkg-dir
set dir=/usr
end
add net
set address=135.251.246.170/24
set physical=bnx0
set defrouter=135.251.246.1
end
add rctl
set name=zone.max-swap
add value (priv=privileged,limit=8589934592,action=deny)
end
add rctl
set name=zone.max-locked-memory
add value (priv=privileged,limit=2147483648,action=deny)
end
add capped-memory
set physical=4G
end
zonecfg:amstest> info
zonename: amstest
zonepath: /export/home/amstest
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: shared
inherit-pkg-dir:
        dir: /lib
inherit-pkg-dir:
        dir: /platform
inherit-pkg-dir:
        dir: /sbin
inherit-pkg-dir:
        dir: /usr
net:
        address: 135.251.246.170/24

------------------------------------------
-bash-3.00# kstat 'caps:11:lockedmem_zone_11:usage'
module: caps                            instance: 11    
name:   lockedmem_zone_11               class:    zone_caps
        usage                           0

Why this memory usage is still '0'? How to resolve it?

Thanks in advance!
-- 
This message posted from opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to