Solution

ARTIFACTORY: When working with RPM repositories, how do I resolve the "Error occurred while promoting queue items" error?

AuthorFullName__c
Fadi Rouhana
articleNumber
000005705
ft:sourceType
Salesforce
FirstPublishedDate
2023-05-02T11:57:40Z
lastModifiedDate
2023-05-02
VersionNumber
1
The number of workers available to take threads from the queue can be increased by modifying the corresponding system property in the artifactory.system.properties file. The file can be found at:
$JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties
There are two properties that control the number of workers available for RPM metadata calculations. These are:
  • artifactory.rpm.metadata.calculation.workers
  • artifactory.yum.virtual.metadata.calculation.workers

The default values for these properties are 8 and 5, respectively, for local and virtual repositories.

To resolve the issue, it is recommended to double the values of both properties. This can be done by editing the configuration file and changing the values as follows:
  • artifactory.rpm.metadata.calculation.workers=16
  • artifactory.yum.virtual.metadata.calculation.workers=10

After making these changes, restart the Artifactory server to ensure that the new values are loaded. Once the server has been restarted, it is recommended to reindex the affected repositories.