[ 
https://issues.apache.org/jira/browse/BROOKLYN-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275207#comment-14275207
 ] 

Aled Sage commented on BROOKLYN-113:
------------------------------------

Using the following we *just* managed to download it on vCHS:

{noformat}
curl -f -L -k --retry 5 --keepalive-time 30 --speed-time 30 
"http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.5.tgz"; -o 
mongodb-linux-x86_64-2.6.5.tgz
{noformat}

The first 5 attempts failed (with it going to a speed of 0 after 28 seconds, 20 
seconds, 20 seconds, 23 seconds, 18 seconds and 15 seconds. On the last attempt 
available (because retry=5) we managed to download it within 15 seconds!

I'll increase the retry count to 10. It will also fall back to 
http://downloads.cloudsoftcorp.com/brooklyn/repository/MongoDBServer/2.6.5/mongodb-linux-x86_64-2.6.5.tgz
 if that fails.

> Curl command occasionally hanging when deploying to vcloud-director
> -------------------------------------------------------------------
>
>                 Key: BROOKLYN-113
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-113
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Martin Harris
>
> Occasionally when deploying to a VM via BrooklynCentral's advanced-networking 
> vcloud-director, the curl command will hang on the VM. `ps aux | grep [c]url` 
> shows that the curl command is still running, but the file is no longer being 
> downloaded



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to