-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation: use a lower wget timeout #1487
Comments
Luca -- thanks for digging into the download problem and offering the suggestion for the fix. Do you have a sense of if particular files are especially problematic? There are a lot of wget downloads in the pipeline so adding this to all of them would be an undertaking, plus ones like you post above actually happen in other software like gemini. If there are specific pain points, we could definitely try to address those. Would that help? |
Mainly larger files that come from S3 (perhaps due to the fact that my pipe "over the pond" is not particularly fast) or via FTP: the example showed GEMINI but I had similar issues with the "variation" datatarget files and the larger genome files. |
Hi @lbeltrame is this still an issue? |
It isn't, at the moment (but mostly because my institution has upgraded the network). Closing. |
wget
'sread-timeout
option is by default set at 900 seconds, meaning that it will stop and retry if no data have been received after that amount of time.For spotty connections (like mine, who could have guessed ;) this is actually a problem, because it means that once the connection stops receiving data, one would have to wait 15 minutes before retrying. As this can occur multiple times in a day, this means that installations can take days (3 and counting on the one I'm currently using).
A lower timeout (probabyl around 300 seconds) would probably be better.
This snippet shows the issue
As you can see, the second try had immediately network issues, but the very large timeout meant it sat there doing nothing.
For reference: https://askubuntu.com/questions/72663/how-to-make-wget-retry-download-if-speed-goes-below-certain-threshold
The text was updated successfully, but these errors were encountered: