OID 11g 11.1.1.9 Server or DIP Profile Utilizing 100% Memory on AIX. OID Starts but opmnctl status Fails: Error: Port Library failed to initialize: -1. OID Log Error: Failed to create semaphore/mutex os error: 28 | gslgrInsert: Memory allocation failed (Doc ID 2175118.1)

Last updated on AUGUST 22, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.9.0 to 11.1.1.9.3 [Release 11g]
IBM AIX on POWER Systems (64-bit)

Symptoms

Oracle Internet Directory (OID) 11g 11.1.1.9 with Directory Integration Platform (DIP).

OID and/or DIP Server are always at 100% memory utilization and OID server logs throw errors:

[2015-09-30T14:43:17.724185+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 0] Main:: sgsluslLockInit: Failed to create semaphore/mutex os error: 28

[2015-09-30T14:43:17.724311+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 0] Main:: sgsluslRWInit: ReadWrite lock create failes

[2015-09-30T14:43:17.724428+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 0] Main:: gslhtshmCreateHT: lock creation failed

[2015-09-30T14:43:17.724575+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 0] Main:: gslhtshmCreateHT: Hash table create failed

[2015-09-30T14:43:17.724691+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 0] Main:: gslecrsInit: EID hashtable create failed

[2015-09-30T14:43:17.724834+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 0] Main:: LoadEntryAlias: Loading server side alias entries

[2015-09-30T14:43:17.738935+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 6] ServerDispatcher : Thread Started

[2015-09-30T14:43:17.739945+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 7] ServerDispatcher : Thread Started

[2015-09-30T14:43:17.739109+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 5] ServerDispatcher : Thread Started

[2015-09-30T14:43:17.742416+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 4] ServerDispatcher : Thread Started

[2015-09-30T14:43:17.738962+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 2] ServerListener : Thread Started

[2015-09-30T14:43:17.739133+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 3] ServerDispatcher : Thread Started

[2015-09-30T14:43:17.761450+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 8] ServerWorker (REG): Thread Started

[2015-09-30T14:43:17.755566+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 9] ServerWorker (REG): Thread Started

[2015-09-30T14:43:17.755618+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 10] ServerWorker (REG): Thread Started

[2015-09-30T14:43:17.757562+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 11] ServerWorker (REG): Thread Started

[2015-09-30T14:43:17.772834+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 13] ServerWorker (SPW): Thread Started

[2015-09-30T14:43:17.773399+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 12] ServerWorker (SPW): Thread Started

[2015-09-30T14:43:18.109995+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 2] ServerListener : ServerListener * Inserting 4325420 into server PID hash table

[2015-09-30T14:43:19.811570+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 2] ServerListener : ServerListener * Inserting into server PID hash table failed

[2015-09-30T14:43:30.467948+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 11] [ecid: 000002PwXwQF4ET5mBc9yZ00GW0g000001,0] ServerWorker (REG):[[
BEGIN
 ConnID:0 mesgID:13291 OpID:1 OpName:search ConnIP:::ffff:<IP Address>:0 ConnDN:cn=orcladmin
gslgrInsert: Memory allocation failed
END
]]
[2015-09-30T14:43:30.476635+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 11] [ecid: 000002PwXwQF4ET5mBc9yZ00GW0g000001,0] ServerWorker (REG):[[
BEGIN
 ConnID:0 mesgID:13291 OpID:1 OpName:search ConnIP:::ffff:<IP Address>:0 ConnDN:cn=orcladmin
gslgrInsert: Memory allocation failed
END
]]
[2015-09-30T14:43:30.619623+04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 4325420] [tid: 10] [ecid: 000002PxAqPF4ET5mBc9yZ00GW0g000007,0] ServerWorker (REG):[[
BEGIN
 ConnID:2 mesgID:2 OpID:1 OpName:search ConnIP:::ffff:<IP Address>:0 ConnDN:cn=orcladmin
gslgrInsert: Memory allocation failed
END
]]



Or,

OID seems to start successfully, but subsequent commands fail, such as starting WLS or opmnctl status, for example:

 

Changes

 

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