Visit Our UNIX and Linux User Community

prstat RSS memory

Thread Tools Search this Thread
Operating Systems Solaris prstat RSS memory
# 1  
Old 10-26-2010
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 ?

# 2  
Old 10-26-2010
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 09:45 PM..
# 3  
Old 10-26-2010
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
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 10:51 PM..
# 5  
Old 10-26-2010
SunOS 5.9 sun4u sparc and Oracle
# 6  
Old 10-26-2010
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, ...)
# 7  
Old 10-26-2010
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

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

RSS of prstat vs RSS of PS

Hi, When I sum the RSS number in the ps command for a specific user and compare it with the RSS values of the prstat command of the same user - there is a big difference. Server details: Solaris 10 5/09 s10s_u7wos_08 SPARC prstat output: NPROC USERNAME SWAP RSS MEMORY TIME ... (2 Replies)
Discussion started by: amitlib
2 Replies

2. Solaris

Prstat rss and swap

Hi, someone please explain me what's the difference b/w rss and swap in PRSTAT. i'm getting output like below, NPROC USERNAME SWAP RSS MEMORY TIME CPU 70 weblogic 48G 46G 73% 449:17:03 0.4% swap always remains... (11 Replies)
Discussion started by: sunnys7143
11 Replies

3. Solaris

RSS pmap and prstat

Hi, I have some question about memory in Solaris. How it's possible that prstat -a show me that some process using 230M RSS and when I'm using pmap -x show me that this same process using only 90M RSS ? (0 Replies)
Discussion started by: deivo
0 Replies

4. Solaris

Free memory in top and prstat command

Hi Export, i execute 'top' command to show the free memory in Solaris host, but the read is much lower than the RSS value shown in prstat command. Which one can reflect the real status and it is possible the difference caused by any patch of OS? Top command (only 883 memory is free)... (3 Replies)
Discussion started by: eiga
3 Replies

5. Solaris

100% memory usage in prstat

Hi Guys, I have observed the Oracle (DB USER) is utilizing 100% of the memory in the prstat -a output. I am bit confused is it normal and if not how to bring it down? ABout the machine it is a SunOS 5.10 Generic_125100-10 sun4v sparc SUNW,Sun-Fire-T200. Please see below output of prstat -a... (12 Replies)
Discussion started by: Asteroid
12 Replies

6. Solaris


hi all, was trying to figure out how busy my app was by looking at the performance of the app server. did a 'prstat -s rss' command to find the app servers using most memory. Found a command 'prstat -m' which is meant to show more details on each pid but the output of this command... (1 Reply)
Discussion started by: cesarNZ
1 Replies

7. Solaris

Top and Prstat display different results for memory

I have a question about the accuracy of prstat. I did a 'prstat -t' and it shows 99% of my memory is occupied by oracle. NPROC USERNAME SIZE RSS MEMORY TIME CPU 194 oracle 343G 340G 99% 86:17.24 56% However, 'top' shows I still have 7762meg of memory free. Memory: 16G real, 7762M... (4 Replies)
Discussion started by: zen03
4 Replies

8. Post Here to Contact Site Administrators and Moderators


Could RSS-support mod be installed for this forum? (3 Replies)
Discussion started by: eugrus
3 Replies

9. UNIX for Dummies Questions & Answers

Help with prstat

Hello, The last line of prstat shows load average. I am unable to figure out what actually it is. I have read the man pages and also googled, all for no use. Can somebody help me, as to what should be the avg. load of the system for best performance and how is this load of prstat calculated. (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies

Featured Tech Videos