Installation guide

Removing Shared Memory
Sometimes after an instance crash you may have to remove Oracle's shared memory segment(s) manually.
To see all shared memory segments that are allocated on the system, execute:
$ ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x8f6e2129 98305 oracle 600 77694523 0
0x2f629238 65536 oracle 640 2736783360 35
0x00000000 32768 oracle 640 2736783360 0 dest
In this example you can see that three shared memory segments have been allocated. The output also shows that
shmid 32768 is an abandoned shared memory segment from a past ungraceful Oracle shutdown. Status "dest"
means that this memory segment is marked to be destroyed. To find out more about this shared memory seg-
ment, run:
$ ipcs -m -i 32768
Shared memory Segment shmid=32768
uid=500 gid=501 cuid=500 cgid=501
mode=0640 access_perms=0640
bytes=2736783360 lpid=3688 cpid=3652 nattch=0
att_time=Fri Sep 19 09:17:02 2008
det_time=Fri Sep 19 09:17:02 2008
change_time=Fri Sep 19 11:21:06 2008
To remove the shared memory segment, you could copy/paste shmid and execute:
$ ipcrm shm 32768
20 | www.redhat.com