[SERVER-59456] Start the LDAPReaper threadpool Created: 19/Aug/21  Updated: 29/Oct/23  Resolved: 03/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.17, 4.4.10, 5.0.4, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Sergey Galtsev (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-55316 Disconnect LDAP connections out of line Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4, v4.2
Sprint: Security 2021-09-06
Participants:
Case:

 Description   

The LDAPReaper uses a foreign threadpool to offload LDAP disconnect operations. However startup is never called on the underlying threadpool, which means worker threads are not spawned or actively processing disconnections. This may result in an increasing number of active connections.

To help mitigate the impact on file descriptor usage of this connection leak, enable LDAP connection pooling to greatly reduce the number of connections opened/closed.



 Comments   
Comment by Githook User [ 21/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: SERVER-58852
https://github.com/10gen/mongo-enterprise-modules/commit/6e85162a9174d60a9623d1b754cd6bb004f382a5

Comment by Githook User [ 20/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: v5.0
https://github.com/mongodb/mongo/commit/4c74095fd0716c099a5dc810e43591987d05770e

Comment by Githook User [ 20/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: v5.0
https://github.com/10gen/mongo-enterprise-modules/commit/8c3e98a7248e6d54d389283fb31ec70b6ef42888

Comment by Githook User [ 17/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/f0e8314479b33cf3e44848fbab4517c1021554ce

Comment by Githook User [ 15/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/4d0b1c5f6a96fc9e63f1f201349ea0850f43dc57

Comment by Githook User [ 03/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: master
https://github.com/mongodb/mongo/commit/6794fc0653f4c34d0570f0022e576e5f436f03bb

Comment by Githook User [ 03/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/6e85162a9174d60a9623d1b754cd6bb004f382a5

Comment by Githook User [ 27/Aug/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59456 Start the LDAPReaper threadpool
Branch: SERVER-59456
https://github.com/10gen/mongo-enterprise-modules/commit/1dd9d840d4c497cebb2dfcbf7d96900f00f6c976

Generated at Thu Feb 08 05:47:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.