Sponsored Content
Operating Systems Solaris Solaris 10 - memory management confusion Post 302734457 by roorbacj on Thursday 22nd of November 2012 06:46:36 AM
Old 11-22-2012
Solaris 10 - memory management confusion

Hello

i have a Problem - my Server is running with following MEM Information (from TOP):
Code:
Memory: 32G phys mem, 4195M free mem, 10G total swap, 9788M free swap

So i think - no problem, 4GB Free, not swapin.

So - our programmer wants to know what process taking how much memory - i searched...
prstat shows me:

Code:
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 23777 oracle   8115M 8023M sleep   59    0   0:00:29 0.1% oracle/1
  8124 oracle   8115M 8028M sleep   59    0   0:04:32 0.0% oracle/1
 29072 oracle   8114M 8021M sleep   59    0   0:00:00 0.0% oracle/1
  6601 oracle   8114M 8016M sleep   59    0   0:10:00 0.0% oracle/1
  6488 oracle   8130M 8019M sleep   59    0   0:08:08 0.0% oracle/22
 11791 root        0K    0K sleep   99  -20   9:51:32 0.0% zpool-oracle/150
 29083 root     3956K 3168K cpu7    59    0   0:00:00 0.0% prstat/1
     1 root     2548K  740K sleep   59    0   1:27:21 0.0% init/1
  6559 oracle   8119M 8028M sleep   59    0   0:03:11 0.0% oracle/1
 29631 root     2232K 1812K sleep   59    0   0:00:27 0.0% execute.rc/1
  1874 oracle   3124M 3021M sleep   59    0   0:02:37 0.0% oracle/11
  6497 oracle   8119M 8020M sleep   59    0   0:03:20 0.0% oracle/15
 18015 oracle   8115M 8027M sleep   59    0   0:00:05 0.0% oracle/1
  1884 oracle   3122M 3025M sleep   59    0   0:04:41 0.0% oracle/1
  1880 oracle   3127M 3034M sleep   59    0   0:03:10 0.0% oracle/1
 11797 root        0K    0K sleep   99  -20   0:44:03 0.0% zpool-oraclelog/150
   885 noaccess  157M   91M sleep   59    0   0:38:43 0.0% java/30
   439 root     6880K 2332K sleep   59    0   0:29:38 0.0% inetd/4
 21778 oracle   8114M 8023M sleep   59    0   0:00:00 0.0% oracle/1
 25891 munin    9224K 1736K sleep   59    0   0:00:00 0.0% httpd/1
  1864 oracle   3123M 3021M sleep   59    0   0:01:46 0.0% oracle/1
 12904 hpsmh      19M 5096K sleep   59    0   0:00:03 0.0% hpsmhd/1
   757 root     5732K 1336K sleep   59    0   0:00:00 0.0% dtlogin/1
   643 root     3424K 1088K sleep   59    0   0:00:00 0.0% dmispd/1
   626 root     8224K 4208K sleep   59    0   0:05:12 0.0% snmpd/1
   610 root     3536K  868K sleep   59    0   0:00:00 0.0% lpsched/1
   607 smmsp    9096K 1412K sleep   59    0   0:00:08 0.0% sendmail/1
   602 root     3928K 1156K sleep   59    0   0:00:00 0.0% sshd/1
 11726 hpsmh      18M 4136K sleep   59    0   0:00:03 0.0% hpsmhd/1
  7539 oracle   8114M 8021M sleep   59    0   0:00:00 0.0% oracle/1
   606 root     9096K 1772K sleep   59    0   0:01:01 0.0% sendmail/1
 21782 oracle   8117M 8033M sleep   59    0   0:00:04 0.0% oracle/1
   550 root     4560K 1676K sleep   59    0   0:02:02 0.0% syslogd/15
 22148 root       15M 6264K sleep   59    0   0:16:39 0.0% Xorg/1
 21774 oracle   8114M 8023M sleep   59    0   0:00:00 0.0% oracle/1
   604 root     2540K 1232K sleep   59    0   0:00:02 0.0% snmpdx/1
   758 root     2596K  780K sleep   59    0   0:00:00 0.0% fbconsole/1
  6580 oracle   8116M 8029M sleep   59    0   0:00:16 0.0% oracle/1
   603 root       24M 5304K sleep   59    0   0:00:41 0.0% fmd/20
   532 root     6300K 1808K sleep   59    0   0:00:09 0.0% automountd/3
 25848 oracle   3122M 3031M sleep   59    0   0:00:00 0.0% oracle/1
   530 root     3108K 1520K sleep   59    0   0:00:00 0.0% vold/5
   531 root     5980K  828K sleep   59    0   0:00:00 0.0% automountd/2
   422 root     1472K  764K sleep   59    0   0:00:15 0.0% utmpd/1
   421 root     2512K 1100K sleep   59    0   0:00:00 0.0% ttymon/1
  6384 oracle   8115M 8017M sleep   59    0   0:01:58 0.0% oracle/1
   428 root     2492K 1140K sleep   59    0   0:00:00 0.0% ttymon/1
   404 root     3212K 1044K sleep   59    0   0:01:39 0.0% hpasmlited/10
   402 hpsmh      19M 5076K sleep   59    0   0:00:03 0.0% hpsmhd/1
   401 hpsmh      18M 5060K sleep   59    0   0:00:03 0.0% hpsmhd/1
   400 hpsmh      18M 5080K sleep   59    0   0:00:03 0.0% hpsmhd/1
 29070 root     1380K  812K sleep   59    0   0:00:00 0.0% sleep/1
   397 root     4180K 1072K sleep   59    0   0:00:00 0.0% rotatelogs/1
   347 daemon   2480K  920K sleep   60  -20   0:00:00 0.0% lockd/2
   331 daemon   2496K  940K sleep   60  -20   0:00:00 0.0% nfs4cbd/2
   399 hpsmh      19M 4476K sleep   59    0   0:00:03 0.0% hpsmhd/1
   408 root     2116K 1008K sleep   59    0   0:00:00 0.0% sac/1
   394 root     1460K  884K sleep   59    0   0:00:00 0.0% sh/1
   451 root     2104K  812K sleep   59    0   0:00:00 0.0% smcboot/1
   339 daemon   2840K  984K sleep   59    0   0:00:00 0.0% statd/1
   322 daemon   2888K  924K sleep   59    0   0:00:00 0.0% rpcbind/1
   450 root     2104K 1028K sleep   59    0   0:00:00 0.0% smcboot/1
   200 root     4688K  916K sleep   59    0   0:00:00 0.0% picld/5
   131 root     4256K 1140K sleep   59    0   0:00:45 0.0% devfsadm/7
   127 root     9792K 3892K sleep   59    0   0:25:37 0.0% nscd/39
Total: 174 processes, 1395 lwps, load averages: 0.41, 0.41, 0.41

There is my confution, total amount of "rss" or "size" is MUCH more bigger then the physical memory on the server. can anyone please explain me this ?

Very THANKS
greets
uwe
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

unix memory management

i am looking for the books or web-sites which explains the unix memory management in detail. do you know any useful material? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

2. Programming

Programming for Memory Management

Hi I am relatively new to programming on UNIX platform. I was wondering if there is any system call so that a process can access systems page table or swap pages from main memory by specifying the page number. I am trying to implement various page replacement algorithms like LRU, OPT, FIFO etc.... (1 Reply)
Discussion started by: jayesch
1 Replies

3. UNIX for Advanced & Expert Users

virtual memory management, swapping paging

can anybody explain me the concepts virtual memory mangement, swapping and paging? although i roughly know what they are , i need more solid distinction between them, and also i want to figure out the relations between them? do you have any well-defined definitons for this concepts? (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

4. Solaris

Memory management in zones

whats the difference between setting zone capped-memory from zoncfg and setting rctl: name: zone.max-locked-memory .. if changed the zone.max-locked-memory with prctl it does not change in rcapstat .. but if change with rcapadm it reflects in rcapstat o/p (0 Replies)
Discussion started by: fugitive
0 Replies

5. UNIX for Advanced & Expert Users

kde memory management

Hi everyone! I am running KDE 3.5 on a Slackware 12.1 with 1.5Gb of RAM and have the following question: Running ps on regular intervals of 1 min, I see that 1.3Gb of RAM are being used, leaving me with 0.2Gb of free memory. I tried locating the most greedy app running, which was Kontact and... (0 Replies)
Discussion started by: kerb41
0 Replies

6. Solaris

solaris version confusion

Hello sorry for this stupid question - but i have a Solaris 10 10/08 s10x_u6wos_07b server - and i dont know, what does this versioninfo "10/08 u6" mean - i think it is the version from installdate. but i often installed recommendet patchsets - i think a patchset doesn´t change the... (3 Replies)
Discussion started by: roorbacj
3 Replies

7. Shell Programming and Scripting

Memory management

Hello all. I have a script that uses two arrays in the beginning. Saves certain values that i am extracting from df -h command. array1 and array2 where i is from 0 to 9. It then goes on and saves the values of the arrays into variables. for i 0 to 9 , tmp= array2 // I am no writing the... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies

8. UNIX for Advanced & Expert Users

Solaris 10 useradd confusion[solved]

I installed Solaris 10 (8/11) and added an account for myself. It lives in /export/home/{name} but /etc/passwd shows it is /home/{name} where it seems to be mounted like a filesystem. I tried to create another account from the command line but it doesn't work the same way. I can't find... (7 Replies)
Discussion started by: dokhebi
7 Replies
All times are GMT -4. The time now is 04:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy