Project

General

Profile

Actions

Bug #16204

closed

Lots of new inventories leads to "can't get LDAP connection from pool" exception

Added by François ARMAND about 5 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Performance and scalability
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
70
Name check:
To do
Fix check:
To do
Regression:

Description

We have observed on several systems under load (lots of new inventories), for Rudder 5.0 up to 5.0.14 at least, the following exception:

[2019-10-23 21:01:30] INFO  inventory-processing - API got new inventory file 'smenode-xxxx-...-yyyy-zzzz.ocs' with signature available: process.
[2019-10-23 21:01:30] INFO  inventory-processing - API got new inventory file 'smenode-xxxx-...-yyyy-zzzz.ocs' with signature available: process.
[2019-10-23 21:01:30] INFO  inventory-processing - Watch new inventory file 'smenode-xxxx-...-yyyy-zzzz.ocs' with signature available: process.
[2019-10-23 21:01:31] ERROR com.normation.ldap.sdk.RWPooledSimpleAuthConnectionProvider - Can't get a new LDAP connection
com.unboundid.ldap.sdk.LDAPException: No connections are currently available in the connection pool.
   at com.unboundid.ldap.sdk.LDAPConnectionPool.getConnection(LDAPConnectionPool.java:1806)
   at com.normation.ldap.sdk.RWPooledSimpleAuthConnectionProvider.newConnection(LDAPConnectionProvider.scala:404)
   at com.normation.ldap.sdk.RWPooledSimpleAuthConnectionProvider.newConnection(LDAPConnectionProvider.scala:395)
   at com.normation.ldap.sdk.PooledConnectionProvider.getInternalConnection(LDAPConnectionProvider.scala:277)
   at com.normation.ldap.sdk.PooledConnectionProvider.getInternalConnection$(LDAPConnectionProvider.scala:277)
   at com.normation.ldap.sdk.RWPooledSimpleAuthConnectionProvider.getInternalConnection(LDAPConnectionProvider.scala:395)
   at com.normation.ldap.sdk.LDAPConnectionProvider.withCon(LDAPConnectionProvider.scala:145)
   at com.normation.ldap.sdk.LDAPConnectionProvider.withCon$(LDAPConnectionProvider.scala:143)
   at com.normation.ldap.sdk.RWPooledSimpleAuthConnectionProvider.withCon(LDAPConnectionProvider.scala:395)
   at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
   at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
   at java.lang.Thread.run(Thread.java:748)

The exception is not fatal, but the corresponding inventories are not processed.

Actions #1

Updated by François ARMAND about 5 years ago

  • Translation missing: en.field_tag_list set to Sponsored
  • Priority changed from 52 to 84
Actions #2

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #3

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
  • Priority changed from 84 to 82
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
  • Priority changed from 82 to 79
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
  • Priority changed from 79 to 75
Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
  • Priority changed from 75 to 73
Actions #7

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from New to Rejected
  • Priority changed from 73 to 72

Doesn't happen anymore in 6.0°

Actions #8

Updated by Alexis Mousset over 2 years ago

  • Priority changed from 72 to 70
Actions

Also available in: Atom PDF