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

massive amounts of weird open network file descriptors during ipfs add #1654

Closed
whyrusleeping opened this issue Sep 4, 2015 · 5 comments
Closed

Comments

@whyrusleeping
Copy link
Member

The add issue we've been seeing is a double hidden 'too many open file descriptors' error. I have no idea whats causing the open file descriptors, they arent the files we're adding.

http://gateway.ipfs.io/ipfs/QmTK3eArBLsxuLTgadUbFWxuShFdKa2BwwwFMLQXbVRQoU

@whyrusleeping
Copy link
Member Author

Its dialing my router... http://gateway.ipfs.io/ipfs/QmPqYwYEyzuJdvegPHZmbPqyHJUbjcrUUhsEpuFLvcXxJN

Not sure why i'm dialing my router a fuckload on port 5555

@rht
Copy link
Contributor

rht commented Sep 5, 2015

After https://github.com/ipfs/go-ipfs/blob/master/commands/http/client.go#L124, add httpRes.Close = true seems to fix the random add locally.

Edit: actually not, after I tried 2nd time, it is in blockservice, not http client.

@whyrusleeping
Copy link
Member Author

this is because of #1656

@jbenet
Copy link
Member

jbenet commented Oct 12, 2015

great work @whyrusleeping

@rht
Copy link
Contributor

rht commented Oct 12, 2015

if #1584 is solved as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants