How to overcome this issue:

ARTIFACTORY: How to Resolve "Executing NuGet Feed Calculation Stuck Tasks" in Artifactory for NuGet Repositories

AuthorFullName__c
Shivani Budhodi
articleNumber
000006100
ft:sourceType
Salesforce
FirstPublishedDate
2024-05-22T06:25:21Z
lastModifiedDate
2024-05-22
VersionNumber
1
To address the issue of stuck NuGet tasks, it is recommended to tune your Artifactory instance by increasing the number of NuGet metadata workers. This can significantly enhance NuGet performance. Additionally, disabling the NuGet search cache mechanism may also help alleviate the issue.

Note: The default value for the properties, artifactory.nuget.v2.feed.calculation.workers is 5 and for artifactory.nuget.v2.search.cache.enabled is true.
artifactory.nuget.v2.feed.calculation.workers=10
artifactory.nuget.v2.search.cache.enabled=false

We need to add the above-mentioned properties into artifactory.system.properties file present inside the path $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties. After adding these properties, please proceed with the restart of the Artifactory server.