Unable to Remove Shared Memory Segment with Status of dest (Doc ID 1319087.1)

Last updated on DECEMBER 07, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 07-Dec-2016***

Symptoms

Instance has been shutdown however the shared memory segment is not removed.

$ ipcs -m

------ Shared Memory Segments --------
key        shmid   owner  perms bytes       nattch status
0x6faedb68 3604484 grid   660   4096        0
0x00000000 4718597 oracle 660   17181966336 1      dest
0x00000000 4521990 oracle 660   17181966336 1      dest
0x682f74fc 4980743 oracle 660   17181966336 78
0x68449b18 5046280 oracle 660   17181966336 81
0x681a4ee0 5111817 oracle 660   17181966336 80

$ ipcrm -m 4521990

$ ipcs -m

------ Shared Memory Segments --------
key        shmid   owner  perms bytes       nattch status
0x6faedb68 3604484 grid   660   4096        0
0x00000000 4718597 oracle 660   17181966336 1      dest
0x00000000 4521990 oracle 660   17181966336 1      dest
0x682f74fc 4980743 oracle 660   17181966336 79
0x68449b18 5046280 oracle 660   17181966336 81

Changes

RDBMS instance shutdown failed to clean-up all active bequeath connections.

The status column for the problem shared memory segment has a flag status of 'dest'.
The flag "dest" in the status column means that SHM_DEST flag has been set for that memory segment.
Setting this flag allows the operating system to automatically clean up the shared memory segment when it is no longer used.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms