Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Top on Sun Solaris - More Shared Memory Discussing
On Solaris7 when I do "pmap -x pid" on an Oracle process. Notice from the
output below
Address 80000000 is listed under the Private portion not the shared portion
although under
the Permissions columns it says "shared". Now we all know that this is
definitely shared so why does Solaris report it under private? Is there a
reason behind this or just pmap reported it wrong?
Richard Ji
328: ora_dbw0_gamed
Address Kbytes Resident Shared Private Permissions Mapped File 00010000 24976 12704 12232 472 read/exec oracle 01882000 240 240 184 56 read/write/exec oracle 018BE000 472 88 - 88 read/write/exec [ heap ] 80000000 148904 148904 - 148904 read/write/exec/shared [shmid=0x1] FEB00000 656 648 648 - read/exec libc.so.1 FEBB2000 32 32 8 24 read/write/exec libc.so.1 FEBBA000 8 8 - 8 read/write/exec [ anon ] FEC00000 4872 2528 1240 1288 read/exec libjox8.so FF0D0000 176 152 - 152 read/write/exec libjox8.so FF0FC000 16 - - - read/write/exec [ anon ] FF150000 16 16 16 - read/exec libc_psr.so.1 FF160000 16 16 16 - read/exec libmp.so.2 FF172000 8 8 8 - read/write/exec libmp.so.2 FF180000 88 80 80 - read/exec libm.so.1 FF1A4000 8 8 8 - read/write/exec libm.so.1 FF1B0000 8 8 8 - read/exec libkstat.so.1 FF1C0000 8 8 8 - read/write/exec libkstat.so.1 FF1D0000 32 32 32 - read/exec librt.so.1 FF1E6000 8 8 8 - read/write/exec librt.so.1 FF1F0000 32 24 16 8 read/exec libaio.so.1 FF206000 8 8 8 - read/write/exec libaio.so.1 FF210000 8 8 - 8 read/write/exec [ anon ] FF220000 8 8 8 - read/exec libsched.so.1 FF230000 8 8 8 - read/write/exec libsched.so.1 FF240000 24 24 24 - read/exec libgen.so.1 FF254000 16 16 8 8 read/write/exec libgen.so.1 FF260000 32 32 32 - read/exec libsocket.so.1 FF276000 16 16 8 8 read/write/exec libsocket.so.1 FF280000 520 408 408 - read/exec libnsl.so.1 FF310000 40 40 8 32 read/write/exec libnsl.so.1 FF31A000 32 - - - read/write/exec [ anon ] FF330000 8 8 8 - read/write/exec/shared [ anon ] FF340000 32 16 8 8 read/exec libdsbtsh8.so FF356000 8 8 - 8 read/write/exec libdsbtsh8.so FF358000 8 - - - read/write/exec [ anon ] FF360000 8 8 8 - read/exec libwtc8.so FF370000 8 8 8 - read/write/exec libwtc8.so FF380000 8 8 8 - read/exec libskgxp8.so FF390000 8 8 8 - read/write/exec libskgxp8.so FF3A0000 8 8 8 - read/exec libdl.so.1 FF3B0000 120 120 120 - read/exec ld.so.1 FF3DC000 8 8 - 8 read/write/exec ld.so.1 FF3DE000 8 8 - 8 read/write/exec [ anon ] FFBEA000 24 16 - 16 read/write/exec [ stack ]-------- ------ ------ ------ ------ total Kb 181544 166304 15200 151104
-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Rachel
Carmichael
Sent: Friday, November 17, 2000 8:56 AM
To: Multiple recipients of list ORACLE-L
Subject: Re: Top on Sun Solaris
You don't need to worry... the 190M includes the shared memory of the SGA for all processes that are connected to the database. Your TRUE process memory is much smaller
>From: Raj Gopalan <raj.gopalan_at_netdecisions.co.uk>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: Top on Sun Solaris
>Date: Fri, 17 Nov 2000 03:30:25 -0800
>
>I type 'top' in solaris and see many processes running:
>
>
> PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
>20408 oratst 1 52 0 190M 171M sleep 0:02 2.35% oracle
>20410 oratst 1 54 0 190M 171M sleep 0:02 1.14% oracle
>20480 root 1 0 0 2320K 1288K cpu/1 0:00 0.60% top
>20479 oratst 1 0 0 30M 9232K sleep 0:00 0.31% oracle
>20477 oratst 1 0 0 30M 9232K sleep 0:00 0.23% oracle
>20471 oratst 1 0 0 30M 9232K sleep 0:00 0.18% oracle
>20473 oratst 1 0 0 30M 9232K sleep 0:00 0.17% oracle
>
>Should I be worried about what 190M is as a size, given that there are
>several hundred of these processes - it sounds like a lot of memory being
>used - how can I change this?
>
>Thanks
>
>Raj
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Raj Gopalan
> INET: raj.gopalan_at_netdecisions.co.uk
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
Share information about yourself, create your own public profile at http://profiles.msn.com.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rachel Carmichael INET: carmichr_at_hotmail.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You mayReceived on Fri Nov 17 2000 - 08:30:23 CST