Hi,

Do you see anything in the Artifactory log?
It looks like one of your remote repo is failing with timeout. You can set
the failing repo offline to speed up the build.

Hope this help,
Fred.

On Tue, Nov 1, 2011 at 5:39 PM, Peter Niederwieser <[email protected]>wrote:

> I have a build that makes many requests for source and Javadoc artifacts
> which don't exist. This slows down the build tremendously, with a single
> request taking tens of seconds. Subsequent requests for the same artifact
> pay the same penalty, so it looks like the miss isn't cached properly on
> Artifactory's side. I've checked all remote repos configured in
> Artifactory,
> and "Missed Retrieval Cache Period" is set to 7200 for each of them.
>
> Here is the Ivy output for one such request:
>
> 10:03:12.535 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]
>  trying
> http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar
> 10:03:12.535 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]
>       tried
> http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar
> 10:03:28.327 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] HTTP
> response status: 404
> url=http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar
> 10:03:28.328 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] CLIENT
> ERROR: Could not find resource
> url=http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar
> 10:03:28.328 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]
> maven:
> resource not reachable for asm#asm-commons;3.2:
> res=http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar
>
> Any ideas on how to speed this up? Could it be that these requests are
> classified as failed rather than missed retrievals, resulting in them being
> cached for only 30 seconds? Gradle 1.0-m5 with mavenRepo(), Artifactory Pro
> Power Pack 2.3.4.
>
> --
> Peter Niederwieser
> Principal Engineer, Gradleware
> http://gradleware.com
> Creator, Spock Framework
> http://spockframework.org
> Twitter: @pniederw
>
>
>
> --
> View this message in context:
> http://forums.jfrog.org/Long-delays-when-requesting-artifacts-that-don-t-exist-tp6952050p6952050.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> RSA&reg; Conference 2012
> Save &#36;700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>



-- 
JFrog Ltd
http://www.jfrog.org/
------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to