Actions
Bug #16636
closedPurge of unreferenced software may fail on very large system
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
To do
Regression:
Description
LDAPException(resultCode=85 (timeout), numEntries=50, numReferences=0, diagnosticMessage='A client-side timeout was encountered while waiting 300000ms for a response to search request with message ID 183, base DN 'ou=Inventories,cn=rudder-configuration', scope SUB, and f at com.unboundid.ldap.sdk.SearchRequest.process(SearchRequest.java:1206) at com.unboundid.ldap.sdk.LDAPConnection.search(LDAPConnection.java:3757) at com.normation.ldap.sdk.RoLDAPConnection.search(LDAPConnection.scala:302) at com.normation.ldap.sdk.ReadOnlyEntryLDAPConnection.search(LDAPConnection.scala:82) at com.normation.ldap.sdk.ReadOnlyEntryLDAPConnection.search$(LDAPConnection.scala:81) at com.normation.ldap.sdk.RoLDAPConnection.search(LDAPConnection.scala:283) at com.normation.ldap.sdk.ReadOnlyEntryLDAPConnection.searchSub(LDAPConnection.scala:158) at com.normation.ldap.sdk.ReadOnlyEntryLDAPConnection.searchSub$(LDAPConnection.scala:158) at com.normation.ldap.sdk.RoLDAPConnection.searchSub(LDAPConnection.scala:283) at com.normation.inventory.ldap.core.ReadOnlySoftwareDAOImpl.$anonfun$getSoftwaresForAllNodes$3(ReadOnlySoftwareInventoryDAOImpl.scala:133) at com.normation.utils.Control$.$anonfun$sequence$1(Control.scala:53) at scala.collection.immutable.Stream.foreach(Stream.scala:533) at com.normation.utils.Control$.sequence(Control.scala:53) at com.normation.inventory.ldap.core.ReadOnlySoftwareDAOImpl.$anonfun$getSoftwaresForAllNodes$2(ReadOnlySoftwareInventoryDAOImpl.scala:128) at net.liftweb.common.Full.flatMap(Box.scala:856) at com.normation.inventory.ldap.core.ReadOnlySoftwareDAOImpl.getSoftwaresForAllNodes(ReadOnlySoftwareInventoryDAOImpl.scala:122) at com.normation.inventory.ldap.core.SoftwareServiceImpl.$anonfun$deleteUnreferencedSoftware$3(SoftwareService.scala:29) at net.liftweb.common.Full.flatMap(Box.scala:856) at com.normation.inventory.ldap.core.SoftwareServiceImpl.deleteUnreferencedSoftware(SoftwareService.scala:25) at com.normation.rudder.batch.PurgeUnreferencedSoftwares.$anonfun$new$3(PurgeUnreferencedSoftwares.scala:65) at monix.execution.internal.RunnableAction.run(RunnableAction.scala:25) at monix.execution.schedulers.ReferenceScheduler$$anon$1.run(ReferenceScheduler.scala:45) at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Actions