prstat RSS memory | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

prstat RSS memory

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-26-2010
k4boy k4boy is offline
Registered User
 
Join Date: Oct 2010
Last Activity: 26 October 2010, 9:01 PM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
prstat RSS memory

Hi everyone,
was hoping someone might be able to help me understand what I am seeing on one of our solaris systems.

prstat -s size -a is showing user oradba as being top virtual memory consumption.
639 oradba 3012G 2951G 100% 59:44:01 25%

why is it saying 3012G size and 2951G RSS size when there is only 28672 Megabytes of totoal memory installed in the system ?

thanks
Sponsored Links
    #2  
Old 10-26-2010
ctsgnb ctsgnb is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 16 December 2014, 5:07 AM EST
Location: France
Posts: 2,930
Thanks: 81
Thanked 624 Times in 596 Posts
The display can be confusing
Summing memory size has no sens when it comes to shared memory , (not dedicated to a process)

Last edited by ctsgnb; 10-26-2010 at 08:45 PM..
Sponsored Links
    #3  
Old 10-26-2010
k4boy k4boy is offline
Registered User
 
Join Date: Oct 2010
Last Activity: 26 October 2010, 9:01 PM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
thanks ctsgnb for the reply

do you have any advice on how to better understand memory usage when dealing with shared memory ?
    #4  
Old 10-26-2010
ctsgnb ctsgnb is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 16 December 2014, 5:07 AM EST
Location: France
Posts: 2,930
Thanks: 81
Thanked 624 Times in 596 Posts
About solaris memory management, you can read whatever has been written by Richard Mc Dougall.
About Oracle memory management, you can read whatever has been written by a member of tha "oak table" (Tom Kyte, Jonathan Lewis, Tanel Poder...)
Still regarding oracle : read about PGA automatic Tuning (from 9i i guess) as well as SGA automatique Tuning (from 10g i guess) (get info about how to set parameters sga_target, pga_aggregate_target, workarea_policy...)
Read also the concept guide Oracle as well as the Oracle Tuning guide of the version you are running.
make sur you have not exceeded the number of process/sessions (see gv$resource_limit view)
make your your system is correctly sized (semmns semmni etc... solaris parameter should be sized accordingly with the oracle instance it hosts (see Oracle Recommandation).
If you run Oracle in a local zone on solaris 10 then make sure you have a very recent patch update (Solaris 10 (8/07)) because the proc_lock_memory privilege (check with ppriv -v <pid>) has been added by default in the non-global zone so you can take advantage of the dism (Dynamic Intimate Shared Memory).

Last edited by ctsgnb; 10-26-2010 at 09:51 PM..
Sponsored Links
    #5  
Old 10-26-2010
k4boy k4boy is offline
Registered User
 
Join Date: Oct 2010
Last Activity: 26 October 2010, 9:01 PM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SunOS 5.9 sun4u sparc and Oracle 10.2.0.4
Sponsored Links
    #6  
Old 10-26-2010
ctsgnb ctsgnb is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 16 December 2014, 5:07 AM EST
Location: France
Posts: 2,930
Thanks: 81
Thanked 624 Times in 596 Posts
on oracle 10 you can also run the usefull AWR report which can almost automagically generate an HTML report at a chosen time windows and will show you many use infos about the load of your system (memory consumtion, heavy sql statement, lock, latch, ...)
Sponsored Links
    #7  
Old 10-26-2010
k4boy k4boy is offline
Registered User
 
Join Date: Oct 2010
Last Activity: 26 October 2010, 9:01 PM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
thanks for all that info ctsgnb your time and effort is very much appreciated !! i will look further into what you have recommened.
thanks, k
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
prstat with ksh pointer Shell Programming and Scripting 4 06-20-2010 12:20 PM
Free memory in top and prstat command eiga Solaris 3 05-14-2010 02:56 PM
100% memory usage in prstat Asteroid Solaris 12 11-05-2009 08:43 AM
prstat log dipashre Solaris 0 10-23-2008 11:26 AM
Top and Prstat display different results for memory zen03 Solaris 4 12-29-2006 03:28 AM



All times are GMT -4. The time now is 03:15 AM.