Skip to content
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

Problem downloading large files with text search results #558

Open
AntonPetrov opened this issue Aug 6, 2021 · 0 comments
Open

Problem downloading large files with text search results #558

AntonPetrov opened this issue Aug 6, 2021 · 0 comments
Assignees

Comments

@AntonPetrov
Copy link
Member

One of the users experienced a problem downloading a ~200Mb fasta file (389,619 sequences) with text search results:

RNA* AND TAXONOMY:"9606" AND so_rna_type_name:"LncRNA" AND qc_warning_found:"False" AND has_genomic_coordinates:"True"

https://rnacentral.org/export/results?job=6bf68ffd-e38f-403d-bccb-d5e0eef45dd3

The connection would either drop or the file would appear to be downloaded but would not uncompress because of an unexpected end of file (similar to this issue).

I ran the following command to download the file locally but the result was the same:

kubectl cp prod/rnacentral-<pod-id>:/srv/rnacentral/export/6bf68ffd-e38f-403d-bccb-d5e0eef45dd3.fasta.gz lncrnas.fa.gz

Then I ran the same command on the EBI cluster. It worked almost instantly and the file was fine.

This problem must have something to do with network timing out when the connection is not very fast or with the way the files are streamed by the django export app. Alternatively, it could have something to do with the load balancer or some k8s configs.

@carlosribas please don't look at this until you are back from 🌴!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants