Sponsored Content
Operating Systems Solaris zone breaching 'capped-memory' threshold Post 302577423 by soliberus on Tuesday 29th of November 2011 04:24:31 AM
Old 11-29-2011
zone breaching 'capped-memory' threshold

Calling upon all Solaris zone experts.

I have a Sun T3-1 that is running a few whole-root zones. I've set the 'capped-memory' setting on all the zones.

However, I have a problem on the one zone. Under load it uses more memory that has been allocated to it.

Code:
zonecfg -z sunrep02 export

...
add capped-memory
set physical=8G
end
...

When I run 'top' inside the zone it reports the correct memory

Code:
Memory: 8192M phys mem

Yesterday I had a problem with a rogue Oracle process and the zone managed to use more than the capped size of 8GB

The global zone has 16GB of RAM, so the sunrep02 zone should never use more than 50%.

Running 'prstat -Z' in the global zone returned the following:

Code:
...
     3      146   15G   10G    66%   3:40:36 0.5% sunrep02
...

In this instance it managed to grap 66% of the global zone's physical memory.

How is it possible for the zone to use more than 8GB of memory? Am I missing something in my zone's config?

Many thanks
 

10 More Discussions You Might Find Interesting

1. Solaris

capped-memory in zone

How does capped-memory work in zones? I have 32G of memory and 10 zones. I want about physical=4G and swap=4G in each zone. Is this possible? I am going over the 32G. (1 Reply)
Discussion started by: photon
1 Replies

2. Solaris

How to find memory size on solaris zone

Guys, How to find memory size on solaris zone? We have total 16 GB and have 3 zone, but not sure how to find memory size for each zone? Please help. (1 Reply)
Discussion started by: mokkan
1 Replies

3. Solaris

Memory usuage per zone in solaris

Hello all, How can i find the memory usuage per zone in solaris. (5 Replies)
Discussion started by: sophos
5 Replies

4. Solaris

Reserve Memory for Global Zone

We have several containers on one machine and would like to reserve some memory for the global zone. capped-memory only allows max physical/swap and setting a max on each container isn't an option. The server has 32GB physical and 30GB swap. Currently there are ten containers on it. Normally... (6 Replies)
Discussion started by: kharjahn
6 Replies

5. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

6. UNIX for Dummies Questions & Answers

Threshold for swap memory

hi guys the monitoring team is using a tool for monitoring linux boxes and they set an alarm for swap memory to 10%(critical) I really has no idea when swap memory usage is high.... Can someone recommend me a threshold for this? when is warning or critical and this parameters can affect... (3 Replies)
Discussion started by: karlochacon
3 Replies

7. Solaris

Zone memory issue

We have a zone configured in our X4600 machine with memory capped to 16GB. Most of the time zone is running with high physical memory utilization. It seems from "top" command shows that the command "kernel" is locks 15GB phy. memory and not using swap memory. Whenever we restart the application... (2 Replies)
Discussion started by: rock123
2 Replies

8. Solaris

Finding capped memory of a non global zone

Is there a way to find the capped memory of a solaris non global zone from the non global zone itself (given rcapd is disabled) (6 Replies)
Discussion started by: CuriousDev
6 Replies

9. Solaris

How the free memory threshold?

If I understand your question correctly, you are asking for an explanation of Solaris memory manager. You'd better ask Oracle that question because you are talking about Solaris kernel internals. The operating system kernel has no reason to kick a process's memory set out of real memory until... (4 Replies)
Discussion started by: hicksd8
4 Replies

10. UNIX for Beginners Questions & Answers

High Memory threshold notification script

Hello Folks, I have created the script which use to send email notification when server memory breach the threshold limits. Script works fine, but the issue is sometimes i am receiving mail alerts for lower threshold memory also. Please let me know why and any updates required in script? ... (7 Replies)
Discussion started by: seenuvasan1985
7 Replies
ZPRINT(1)						    BSD General Commands Manual 						 ZPRINT(1)

NAME
zprint -- show information about kernel zones SYNOPSIS
zprint [-cdhlLstw] [name] DESCRIPTION
zprint displays data about Mach zones (allocation buckets). By default, zprint will print out information about all Mach zones. If the optional name is specified, zprint will print information about each zone for which name is a substring of the zone's name. zprint interprets the following options: -c (Default) zprint prints zone info in columns. Long zone names are truncated with '$', and spaces are replaced with '.', to allow for sorting by column. Pageable and collectible zones are shown with 'P' and 'C' on the far right, respectively. Zones with pre- posterously large maximum sizes are shown with '----' in the max size and max num elts fields. -d Display deltas over time, showing any zones that have achieved a new maximum current allocation size during the interval. If the total allocation sizes are being displayed for the zones in question, it will also display the deltas if the total allocations have doubled. -h (Default) Shows headings for the columns printed with the -c option. It may be useful to override this option when sorting by column. -l (Default) Show all wired memory information after the zone information. -L Do not show all wired memory information after the zone information. -s zprint sorts the zones, showing the zone wasting the most memory first. -t For each zone, zprint calculates the total size of allocations from the zone over the life of the zone. -w For each zone, zprint calculates how much space is allocated but not currently in use, the space wasted by the zone. Any option (including default options) can be overridden by specifying the option in upper-case; for example, -C overrides the default option -c. DIAGNOSTICS
The zprint utility exits 0 on success, and >0 if an error occurs. SEE ALSO
ioclasscount(1), lsmp(1), lskq(1), Mac OS X 2 May 2016 Mac OS X
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy