Nexus Artifact Resolver unable to download large artifacts

42 views
Skip to first unread message

Saatviga Sudhahar

unread,
May 20, 2018, 11:25:17 AM5/20/18
to Jenkins Users
Hi,

I'm using Nexus Repository connector and Artifact Resolver to download a specific version of a .zip artifact which is around 3.3 GB.
I usually download and copy to staging environment.
But since the file is large, the Artifact resolver is not able to download it fully. It downloads 2GB first, resets and then downloads the remaining resulting in a corrupted .zip file.

Is there a fix for this? Can I increase the size somewhere in the config or any other suggestions please?



Thanks


Saatviga Sudhahar

unread,
May 22, 2018, 12:50:33 PM5/22/18
to Jenkins Users
Hi,


The download of the artifact by the Jenkins process seems to restart once 2GB of the repository is downloaded.
How to increase this limit? I'm running it on 64-bit machine and my java is also 64-bit.



THanks

Victor Martinez

unread,
May 23, 2018, 4:29:00 PM5/23/18
to Jenkins Users
is the assigned memory to the jenkins process big enough? You can monitor the memory usage with https://wiki.jenkins.io/display/JENKINS/Monitoring if it helps

Cheers

Saatviga Sudhahar

unread,
May 24, 2018, 11:08:53 AM5/24/18
to jenkins...@googlegroups.com, victormar...@gmail.com
I tried increasing it in the Jenkins settings, but still getting the same error. 
I check the Nexus logs and it says, 

"Connection aborted by software in Host Machine. "

So the connection is aborted in the middle of download and reconnects. Therefore the part which is downloaded already is lost.
I have tried disabling Firewall, but still it happens. 
Not sure what keeps aborting the connection. 






On Wed, May 23, 2018 at 9:28 PM, Victor Martinez <victormar...@gmail.com> wrote:
is the assigned memory to the jenkins process big enough? You can monitor the memory usage with https://wiki.jenkins.io/display/JENKINS/Monitoring if it helps

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/84a32fd6-0363-471c-bd78-03873643281b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Dr. Saatviga Sudhahar
Research Associate in Machine Learning
Department of Computer Science
University of Bristol
Reply all
Reply to author
Forward
0 new messages