Dowload of a large file (~4GB) is hanging
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
#### 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](https://github.com/ipfs/go-ipfs/files/4456236/ipfs-profile-7b6c73771327-2020-04-08T15.18.13%2B0000.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?
Contributor guide
Assessment
This issue has not been assessed yet.