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

ipfs daemon Crash Out of Memory Error #2645

Closed
cchrysostom opened this issue May 9, 2016 · 7 comments
Closed

ipfs daemon Crash Out of Memory Error #2645

cchrysostom opened this issue May 9, 2016 · 7 comments
Labels
kind/bug A bug in existing code (including security flaws) topic/perf Performance

Comments

@cchrysostom
Copy link

This morning a node running 0.4.1 crashed with the following log output. I need help diagnosing what happened. It may also be useful to you.

https://gist.github.com/cchrysostom/311d372a3d843947ad560bbbc4cef788

Thanks.

@whyrusleeping
Copy link
Member

looks like a plain and simple out of memory issue. Are you running the binary from the dists.ipfs.io page? also what OS and how much RAM does your machine have?

@cchrysostom
Copy link
Author

cchrysostom commented May 9, 2016

It is a Digital Ocean droplet. Memory looks like:

Linux calliope 3.13.0-57-generic 
MemTotal:        1017872 kB

And, yes, I used dists.ipfs.io.

@whyrusleeping whyrusleeping added kind/bug A bug in existing code (including security flaws) topic/perf Performance labels May 13, 2016
@gsf
Copy link

gsf commented Jun 22, 2016

I've been hitting the memory ceiling on my VPS too. Hopefully helped by work on issues like #2847.

@whyrusleeping
Copy link
Member

Yeah, #2847 should help significantly towards this. Its likely going to merge today

@cchrysostom
Copy link
Author

Great, thank you. I'll keep my eyes open for the merge. Our solution was to move ipfs to a system with a lot more memory.

@whyrusleeping
Copy link
Member

@cchrysostom give it another try. I merged in the PR that helps out memory usage

@whyrusleeping
Copy link
Member

Since then we have pushed a few other PRs improving memory usage. Its not perfect yet, but i think its good enough that we can close this one out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) topic/perf Performance
Projects
None yet
Development

No branches or pull requests

3 participants