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
Ipfs 0.4.10 crashes when adding files bigger than 50MB #261
Comments
You can redirect by I am also unable to reproduce it, I have tried about 10x60MiB files. |
It turns out, ipfs will crash when adding any large file. For example, Official Ubuntu ISO. On MacOS it crashes:
On Linux it errors out, but the daemon process seems to keep running:
|
I have tried downgrading to previous versions, and the only version that doesn't crash is
|
I am unable to reproduce this either on macOS 10.12.5 and Ubuntu 16.04 using ipfs 0.4.10. $ truncate -s 500M testfile
added QmV7q5aTmvZtGWja4wpodiUTEpBVWYFkQGRQ8PmJMDPG62 testfile
$ Was your build of ipfs from source, your package manager, or the binary from the web? Maybe try it with a clean |
They are all from package managers. Every output in the messages above started with |
@Netherdrake if you run your daemon with the |
With |
okay, so this is a case of adding a file causing the DHTs provider subsystem to connect to wayyyy too many peers. If you remove the I'm working on a fix for this, we will hopefully have something in the next release. |
Oh, i also realize this issue is on the wrong repo. In future, use ipfs/go-ipfs to report issues like this. |
OS: Arch Linux & MacOS
Lets try adding a video:
About 15-20 seconds later, ipfs will crash:
https://gist.github.com/Netherdrake/4da51b24da82fe25ae476cffeb09cc31
This issue is intermittent - sometimes the add will be successful, and I can access the files on
localhost:8080/ipfs/HASH/raw_video.mkv
without issues, but most of the time, daemon will crash.The text was updated successfully, but these errors were encountered: