Oracle Solaris System Administration (MOSC)

MOSC Banner

Zone capped-memory

edited Jan 3, 2012 5:36AM in Oracle Solaris System Administration (MOSC) 5 commentsAnswered
 We have a server with 64 GB Memory.
root@reg-glb12 # swap -s
total: 8562200k bytes allocated + 8065888k reserved = 16628088k used, 60748712k available

root@reg-glb12 # swap -l
swapfile             dev  swaplo blocks   free
/dev/zvol/dsk/rpool/swap 256,1      16 134217712 134217712

We created a container with 16G memory & 32 G Swap cap

root@reg-glb12# zonecfg -z <zonename> info
......
.....
capped-memory:
        physical: 16G
        [swap: 32G]
......

Whereas inside the zone, it is showing as

root@reg-xxx# swap -l
swapfile             dev  swaplo blocks   free
/dev/swap           4294967295,4294967295     16 67108864 66315968

root@reg-xxx# swap -s
total: 396448k bytes allocated + 0k reserved = 396448k used, 33157984k available

Application team complaining that the performance is very very slow. Can someone help to understand is the capping done correctly. Why 0k is reserved inside the container.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center