Re: Memory used by a single oracle server process in Solaris

  • From: Marcin Przepiorowski <pioro1@xxxxxxxxx>
  • To: jonathan@xxxxxxxxxxxxxxxxxx
  • Date: Tue, 23 Aug 2011 14:11:29 +0100

On Tue, Aug 23, 2011 at 11:55 AM, Jonathan Lewis
<jonathan@xxxxxxxxxxxxxxxxxx> wrote:
>
> Sreejith
>
> Following up on just the OTN thread from now on, but won't pmap also be
> reporting the size of the Oracle executable - which is probably around the
> 100MB difference you're seeing.
>

pmap on linux is displaying process memory map. ex

db-alog1fe-b-r3.sea32$ pmap -x 27671
27671:   ora_dbw1_alog1fe
Address           Kbytes     RSS    Anon  Locked Mode   Mapping
0000000000400000  147200       -       -       - r-x--  oracle
00000000095c0000   12308       -       -       - rwx--  oracle
....
0000003454c00000       8       -       -       - r-x--  libdl-2.5.so
0000003454c02000    2048       -       -       - -----  libdl-2.5.so
0000003454e02000       4       -       -       - r-x--  libdl-2.5.so
0000003454e03000       4       -       -       - rwx--  libdl-2.5.so
.......
0000003455616000       4       -       -       - rwx--  libpthread-2.5.so
0000003455617000      16       -       -       - rwx--    [ anon ]
0000003456400000      28       -       -       - r-x--  librt-2.5.so
0000003456407000    2048       -       -       - -----  librt-2.5.so
0000003456607000       4       -       -       - r-x--  librt-2.5.so
....
00002ad7f9151000      60       -       -       - rwx--  zero
00002ad7f9160000      64       -       -       - rwx--  zero
00002ad7f9170000      64       -       -       - rwx--  zero
00002ad7f9180000      64       -       -       - rwx--  zero
00002ad7f9190000      64       -       -       - rwx--  zero
00002ad7f91a0000     196       -       -       - rwx--  zero
00002ad7f91d1000     132       -       -       - rwx--    [ anon ]
00002ad7f91f2000       4       -       -       - rwxs-  hc_alog1fe.dat
00007fff62cc1000      84       -       -       - rwx--    [ stack ]
ffffffffff600000    8192       -       -       - -----    [ anon ]
----------------  ------  ------  ------  ------
total kB        26948320       -       -       -

and only memory mapped to zero [/dev/zero] is a additional memory used
by process itself.
Take a look on Solaris version on Tanel Poder blog -
http://tech.e2sn.com/oracle/performance/unix-performance-tools/process-memory-matrix

regards,
-- 
Marcin Przepiorowski
http://oracleprof.blogspot.com
--
//www.freelists.org/webpage/oracle-l


Other related posts: