OUD12c - Unreleased Connections between OUD Proxy Instances and Backend Directories with "result: 51"
(Doc ID 3038680.1)
Last updated on SEPTEMBER 18, 2024
Applies to:
Oracle Unified Directory - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
OUD proxy becomes unresponsive and a bunch of threads are hung waiting for a backend LDAP connection. The OUD proxy backend LDAP connection pool is filling up. The pool starts at minimum number of connections configured (default 10) and over time grows up to the maximum of number of connections configured (default 1000).
We can see this by viewing the LDAP Server monitoring:
{OUD_INSTANCE}/bin/ldapsearch -T -h {HOSTNAME} -p {PORT_ADMIN}-D "cn={DS_ADMIN}" -j /tmp/pwd.txt --useSSL --trustAll -b "cn=proxy_extension_oud,cn=LDAP Servers,cn=monitor" "objectclass=*" ds-mon-secured-connections-count
This number reflected by the ds-mon-secured-connections-count may not be correct. The connects rarely free up and the number rarely decreases. It just increases until it hits the maximum of number of connections configured (default 1000). Once it hits the maximum the OUD proxy instance hangs waiting for a connection. This will hang indefinitely until the OUD proxy instance is restarted.
If we look at the connections on the server with the netstat command you will rarely see more than 10 to 15 connections to the backend LDAP. The number of connections is consistent, but yet the number reflected in the ds-mon-secured-connections-count continues to rise over time.
When max number of connections are reached, proxy refuses any further connections and generate LDAP error 51.
[2023-03-21T10:29:44.637+01:00] [ps1] [TRACE] [OUD-24641551] [PROTOCOL] [host: host] [nwaddr: ip] [tid: 146] [userId: ...] [ecid: ecid,0:1] [category: REQ] [conn: 2004217] [op: 1063779] [msgID: 1063780] [base: ou=people,o=group] [scope: sub] [filter: (uid={UID})] [attrs: 1.1] SEARCH
[2023-03-21T10:29:48.620+01:00] [ps1] [TRACE] [OUD-24641552] [PROTOCOL] [host: host] [nwaddr: ip] [tid: 71] [userId: ...] [ecid: ecid,0:1] [category: RES] [conn: 2004217] [op: 1063775] [msgID: 1063776] [result: 51] [nentries: 0] [etime: 20001] SEARCH
[2023-03-21T10:29:48.620+01:00] [ps1] [TRACE] [OUD-24641566] [PROTOCOL] [host: host] [nwaddr: ip] [tid: 71] [userId: ...] [ecid: ecid,0:1] [category: RES] [conn: 2004217] [op: 1063776] [msgID: 1063777] [result: 120] [etime: 11995] ABANDON
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |