Red Hat ENTERPRISE LINUX 5.1 - LINUX ORACLE Tuning Manual page 24

Oracle 9i and 10g tuning guide
Table of Contents

Advertisement

Chapter 7. Setting Shared Memory
bytes=2736783360 lpid=3688 cpid=3652 nattch=0
att_time=Sat Oct 29 13:36:52 2005
det_time=Sat Oct 29 13:36:52 2005
change_time=Sat Oct 29 11:21:06 2005
To remove the shared memory segment, you could copy and paste shmid and execute:
$ ipcrm shm 32768
Another approach to remove shared memory is to use Oracle's sysresv utility. Here are a few self
explanatory examples on how to use sysresv:
Checking Oracle's IPC resources:
$ sysresv
IPC Resources for ORACLE_SID "orcl" :
Shared Memory
ID
KEY
No shared memory segments used
Semaphores:
ID
KEY
No semaphore resources used
Oracle Instance not alive for sid "orcl"
$
Instance is up and running:
$ sysresv -i
IPC Resources for ORACLE_SID "orcl" :
Shared Memory:
ID
KEY
2818058
0xdc70f4e4
Semaphores:
ID
KEY
688128
0xb11a5934
Oracle Instance alive for sid "orcl"
SYSRESV-005: Warning
Instance maybe alive - aborting remove for sid "orcl"
$
Instance has crashed and resources were not released:
$ sysresv -i
IPC Resources for ORACLE_SID "orcl" :
Shared Memory:
ID
KEY
32768
0xdc70f4e4
Semaphores:
ID
KEY
98304
0xb11a5934
Oracle Instance not alive for sid "orcl"
Remove ipc resources for sid "orcl" (y/n)?y
Done removing ipc resources for sid "orcl"
$
18

Advertisement

Table of Contents
loading

Table of Contents