On Nexus 2 I could execute similar requests using endpoint /nexus/service/local/artifact/maven/resolve? and had no issues with much more concurrent requests
I’m referring to the ability of the embedded elasticsearch instance to concurrently process all those requests. They are running very slowly due to lack of resources, and consequentially some are failing.
I think you should reduce the number of concurrent requests, or find another way to accomplish your task.
What are you trying to achieve here? Why are all those requests being made?
Thank you, that’s strange, we’re not reaching any resources limits, we have more than 50% CPU idling and about 6GB free memory available to java.
We have a chef recipe which periodically checks that some set of artifacts is still on the Nexus, the real number of concurrent requests which may come is between 300-1000 and Nexus 2 API is resolving it fine, I just found that I was able to reproduce it on 50 requests.
Yeah, if no more options, I’ll probably make it with a basic http head request to the direct artifact URL.