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

Add abruptly dies when daemon running #1591

Closed
davidar opened this issue Aug 19, 2015 · 3 comments
Closed

Add abruptly dies when daemon running #1591

davidar opened this issue Aug 19, 2015 · 3 comments
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@davidar
Copy link
Member

davidar commented Aug 19, 2015

When the daemon is running, ipfs add -r on a directory like this (on the order of 1000 1MB files) will just abruptly stop partway through, no errors or anything. The daemon doesn't die, and it doesn't appear to be consuming significant amounts of memory (so I don't think it's #1222).

After stopping the daemon, add runs without issue in offline mode.

I didn't see any errors in the log (sorry, forgot to make a copy, but should be relatively easy to reproduce). The only thing I noticed was a lot of noise about blocks being published to the network, so perhaps the problem is related to that somehow?

IRC logs in case I've missed anything: 1 2

CC: @jbenet @whyrusleeping

@whyrusleeping whyrusleeping added the kind/bug A bug in existing code (including security flaws) label Aug 19, 2015
@jbenet jbenet mentioned this issue Aug 22, 2015
16 tasks
@rht
Copy link
Contributor

rht commented Aug 23, 2015

Discovered the bug independently when tried adding go-ipfs's Godeps directory.

@rht
Copy link
Contributor

rht commented Aug 24, 2015

To reproduce:

  1. run ipfs daemon
  2. go to go-ipfs repo, run ipfs add -r Godeps

Notice it will always stop at
added QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC Godeps/_workspace/src/github.com/jbenet/go-multihash/multihash/LICENSE, before
added QmeykKxcvbDCT8bueYkyuThbx5pQ99x88iMTvfvcMoqf7u Godeps/_workspace/src/github.com/jbenet/go-multihash/multihash/README.md

@davidar
Copy link
Member Author

davidar commented Aug 24, 2015

Oops, this seems to be a dupe of #1072

@rht rht closed this as completed Aug 24, 2015
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)
Projects
None yet
Development

No branches or pull requests

3 participants