[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-brandz-discuss
Subject:    [brandz-discuss] [Online help] ERROR: Memory size is not yet
From:       qiaoz <aliasqiao () hotmail ! com>
Date:       2011-04-11 0:57:35
Message-ID: 201195491.11302508690390.JavaMail.Twebapp () sf-app1
[Download RAW message or body]

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
_______________________________________________
brandz-discuss mailing list
brandz-discuss@opensolaris.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic