Closed francoricci closed 4 years ago
I think to have found the solution. In the gateway configuration file, I set:
http.sending_chunked_obj_len = 65536
large_object.reading_chunked_obj_len = 65536
It's important to set either parameters to very similar values.
Now even with slow network I can download large files. Probably with fast network is not a good performance settings but it's a balanced settings for almost all "domestic" networks.
@francoricci Yes you could reach the right solution (Congrats!).
Anyway, our document has already mentioned this topic here: https://leo-project.net/leofs/docs/faq/administration/#what-should-i-do-when-a-timeout-error-happen-during-upload-a-very-large-file
however it only mentioned the case on uploading so we should add some statements that this can apply to the downloading under a narrow bandwidth network to the document.
Thank you for reporting this!
OK. So I think issue can be closed. Thanks.
I'm running LeoFS 1.4.1 under FreeBSD. All works wheel but from some days, I’me experimenting a timeout problem when I get files (several MB ~ 20 MB) under network slow (~ 200 KB/s).
In such situation I get a crash error from leo_gateway: