The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 0ktalmagik SUN Solaris 4 02-03-2009 09:37 AM
SQLPLUS unable to execte query automatically from solaris script jyotisree SUN Solaris 2 08-11-2008 06:03 AM
solaris mail query jabberwocky SUN Solaris 1 05-11-2006 10:41 AM
solaris 10 installation query soliberus SUN Solaris 3 12-09-2004 01:13 PM
query reg semaphore / processes on solaris Hitesh Shah UNIX for Advanced & Expert Users 1 07-03-2003 10:21 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-20-2008
trevagreene trevagreene is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 8
Solaris 10 : Memory Capping Query

Hi Folks,
Im running solaris 10 8/07 and im trying to set up some memory capping within zones for the system project.

ie.
zone1# cat /etc/project
system:0::::rcap.max-rss=41943040
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::

zone2# cat /etc/project
system:0::::rcap.max-rss=31457280
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::


Now this seems to to work fine as when I check this Im getting the results I expect to see.
ie

zone1# rcapstat
id project nproc vm rss cap at avgat pg avgpg
0 system 30 192M 84M 40M 37G 0K 11G 0K

zone2# rcapstat
id project nproc vm rss cap at avgat pg avgpg
0 system 30 240M 31M 30M 42G 0K 11G 0K



However, when I check the memory usage of these zones from the global zone I get different results..

root@au11qap1i0tels2 [112] > prstat -n16 -Z


ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE
5 33 193M 84M 0.5% 0:05:43 0.3% zone1
6 33 240M 71M 0.4% 0:05:43 0.3% zone2
0 68 783M 798M 4.9% 19:05:07 0.0% global



Can someone let me know if this is a quirk with the way the rcapd communicates with the global zone ? or is something not right here ?

Thanx in advance.
  #2 (permalink)  
Old 10-20-2008
trevagreene trevagreene is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 8
DOH ! worked it out. the output im seeing is actually correct.
so the next question i have is, is there a way i can see the memory capping of individual zones from the global zone where the memory capping is set withing a zone ??
  #3 (permalink)  
Old 10-20-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 548
what did you do exactly to work this out?
  #4 (permalink)  
Old 10-20-2008
trevagreene trevagreene is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 8
Quote:
Originally Posted by pupp View Post
what did you do exactly to work this out?
ok, well the issue was with me not understanding the rcapstat command clearly. ie. im new to sol 10 so just playing around with it.
basically the rcapstat is showing us the memory caps defined in each zone. so for the example above its 40m and 30m.

however, when we run prstat from the global zone its showing ALL the memory being used by the zone which includes the capping set up for system.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0