Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> REPOST: Relocating the SGA
Hi,
I have two machines. I named them M1 and M2.
M1: OS: Linux 2.2.18 #1 SMP DB: Oracle EE 8.1.6.2
M2: OS: Linux 2.2.18 #14 SMP DB: Oracle EE 8.1.6.2
I have problem with the alocation of shared memory on M2. I can't alocate more then 700 M (?) of shared memory. Now, I'm having following parameters in init.ora
shared_pool_size 134217728 db_block_buffers 32768 db_block_size 16384 sort_area_size 20971520
and it is working OK, but not perfectly:
(/d0/oracle/admin/ANDRO)> free
total used free shared buffers cached Mem: 2009368 1979432 29936 2195168 151864 948020 -/+ buffers/cache: 879548 1129820 Swap: 1052248 1092 1051156
It looks like I use only ~50% memory. I increase db_block_buffers in init.ora
db_block_buffers 39168 ^^^^^
SVRMGR> connect internal
Connected.
SVRMGR> startup
ORA-27123: unable to attach to shared memory segment
Linux Error: 22: Invalid argument
SVRMGR>
(?????!)
I done it on M1 and first configuration is evidently OK, and second... too (?!)
SVRMGR> connect internal
Connected.
SVRMGR> startup
ORACLE instance started.
Total System Global Area 817487856 bytes Fixed Size 69616 bytes Variable Size 144224256 bytes Database Buffers 641728512 bytes Redo Buffers 31465472 bytes
(?!)
Why? Do You have this problem on Linux?
Configuration of the kernels on M1 and M2, with regard for shared memory, are identical. Command "ipcs -l" returned just the same values of limits. Command "tstshm" returned following information:
Default shared memory address = 0x406b0000 Lowest shared memory address = 0x406b0000 Highest shared memory address = 0x46ab0000 Total shared memory range = 106954752 Total shared memory attached = 104857600 Largest single segment size = 2097152 Segment boundaries (SHMLBA) = 4096 (0x1000)M2:
-------------------------------------------------
Default shared memory address = 0x2b15d000 Lowest shared memory address = 0x2b15d000 Highest shared memory address = 0x3155d000 Total shared memory range = 106954752 Total shared memory attached = 104857600 Largest single segment size = 2097152 Segment boundaries (SHMLBA) = 4096 (0x1000)
-------------------------------------------------
Please, help me :)
Thanks in advance. Slawas
This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers. Received on Fri Jan 25 2002 - 05:10:47 CST