[OPENDJ-5655] Backport OPENDJ-5582: LdapClientSocket connection leaked when handshake fails Created: 02/Nov/18 Updated: 03/Mar/20 Resolved: 02/Nov/18
|Affects Version/s:||6.0.0, 5.5.0, 4.0.0|
When the DJ LoadBalancer implementation is used with the following with a pre-binded authentication user, there seems to be failure cases that lead to continuous connection leak.
When using the above with a wrong username/or password there is a background retry of these connections that causes leak
Run the attached testcase, but monitor the netstat or lsof to see that connection growth happens to DJ.
tested on DJ6. Tested on DJ6.5 (client libs) but no improvement
Use the attached testcase and monitoring the connection to DJ even after the connection is closed.
If there is no wrong password or if no newFailoverLoadBalancer is used this issue is not seen.
Side concerns: It has been reported that this is one of the cases of leakage but there seems to be reported that even there is no issue with password, it is felt that if there is some exceptions, it is possible that connection leakage happens (so hopefully the solution here will also fix other related causes).