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.
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.
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.