-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Dowload of a large file (~4GB) is hanging #7125
Comments
Hi, can you test with go-ipfs 0.5.0-rc1 ? https://dist.ipfs.io/go-ipfs/v0.5.0-rc1 |
Hi @hsanjuan , I tried updating but the repo migration failed with bash-4.4# ipfs daemon --migrate |
are you building go-ipfs manually? We don't build 32bit musl targets. You may need to build your own fs-repo-migrations from source. |
@ninkisa did you delete a previous comment? can we close the issue? |
Hello @hsanjuan ,
After reading the release notes, I tried to change the connection address to /ip4/PeerIp/udp/4002/quic/p2p/PeerID But the host on which I observed the problem is a production host and I really hesitate to upgrade to a RC version. Even if I successfully update a host to version 0.5.0-rc1 on a test machine, I'm not sure I can reproduce the same situation. Are you planning to make some fixes to the current stable version, or we should wait until 0.5 become stable? |
Are you running a private network? QUIC does not work with private networks anymore. Can you try with regular tcp?
You should wait for this. |
RC2 and RC1 use an incompatible QUIC version. If you're not listening on TCP, they won't be able to talk to each other. |
@ninkisa I think I've seen this bug before. An To me it looks like the connection gets terminated, while the process transferring doesn't notice that and waits - if a new connection is established, the transfer continues. |
@RubenKelevra , |
I would like to make sure this is a known limitation. Do you use IPFS 0.5.0-rc3 on both sides? Is the CID version 1 or version 0? |
@ninkisa please reopen this, until we tracked down the issue. :) |
This was likely libp2p/go-yamux#15. |
Hello @RubenKelevra , |
Let's keep an eye on it for a while. I've had the issue disappear, too. But it was quite intermittently, so I'm not sure it's completely fixed. |
@ninkisa I've tested extensively but couldn't reproduce the issue with 0.5.0. Had you any issues so far with 0.5.0? :) |
Version information:
go-ipfs version: 0.4.23-
Repo version: 7
System version: amd64/linux
Golang version: go1.13.7
Description:
Hello,
Somethimes download of large files (~4GB) is hanging.
I haven't noticed such problem with smaller files.
The files are added to ipfs with the nocopy option
I made a stacktrace and noticed a lot of hanging goroutines
ipfs-profile-7b6c73771327-2020-04-08T151813+0000.tar.gz
It is not happening with all files and it is hard to reproduce. Can not workaround it either.
Removing the block and running the Garbage Collector doesn't help
In this particular case:
checking the stats of the hash shows that the size is "CumulativeSize: 3881905526", but the download stops on 1.21 GiB
$ ipfs get QmeqTUSyqjxQqR7EEkp4665Raj6ghVSKb3Xjh3pMdjGjtz -o /root/export/cumulocity/sync-data/10.6/nightly-builds/EDGE-server-10.6.0.0-1486-HyperV.zip.ipart
Saving file(s) to /root/export/cumulocity/sync-data/10.6/nightly-builds/EDGE-server-10.6.0.0-1486-HyperV.zip.ipart
1.21 GiB / 3.61 GiB 33.37%^C0m01s22s
$
$
$ ipfs object stat QmeqTUSyqjxQqR7EEkp4665Raj6ghVSKb3Xjh3pMdjGjtz
NumLinks: 86
BlockSize: 4311
LinksSize: 3873
DataSize: 438
CumulativeSize: 3881905526
The ipfs nodes are part of a private network and in the case above only one peer is providing the object
Can you help with some suggestion how to resolve this issue?
The text was updated successfully, but these errors were encountered: