Project

General

Profile

Bug #16636

Purge of unreferenced software may fail on very large system

Added by Nicolas CHARLES 4 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Web - Maintenance
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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)

Related issues

Related to Rudder - Bug #17176: Purge of unreferenced software may still fail on very large systemPending releaseFrançois ARMANDActions
#2

Updated by Alexis MOUSSET 4 months ago

  • Target version changed from 5.0.16 to 5.0.17
#3

Updated by Nicolas CHARLES about 2 months ago

some batchs are working ok, and some other are failing. it's probably a memory limit

#4

Updated by Nicolas CHARLES about 2 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
#5

Updated by Nicolas CHARLES about 2 months ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/2893
#6

Updated by Nicolas CHARLES about 1 month ago

  • Status changed from In progress to Pending release
#7

Updated by Nicolas CHARLES about 1 month ago

  • Related to Bug #17176: Purge of unreferenced software may still fail on very large system added
#9

Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.17 and 6.0.5 which were released today.

Also available in: Atom PDF