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

Adding thousands of files at once (EMFILE) #628

Closed
hacdias opened this issue Mar 24, 2018 · 5 comments
Closed

Adding thousands of files at once (EMFILE) #628

hacdias opened this issue Mar 24, 2018 · 5 comments

Comments

@hacdias
Copy link
Member

hacdias commented Mar 24, 2018

It seems that adding a directory with thousands of files on it can cause the EMFILE: too many open files error.

Ref.: #624 (comment)

@magik6k
Copy link
Member

magik6k commented Mar 24, 2018

Is this error returned by go-ipfs? If yes then it is likely a bug in flatfs (I think so), opened ipfs/go-ds-flatfs#36.

Can you try this on a node with badger datastore - ipfs init --profile=badgerds or ipfs config profile apply badgerds+ipfs-ds-convert convert --keep?

@hacdias
Copy link
Member Author

hacdias commented Mar 25, 2018

Since I couldn't replicate this error: @lidel or @olizilla could you try do do what @magik6k said?

@magik6k the error is returned by js-ipfs-api, thus I think it is returned by go-ipfs.

@hacdias
Copy link
Member Author

hacdias commented Jan 3, 2019

@magik6k could you test if you have this error with the latest version?

@magik6k
Copy link
Member

magik6k commented Jan 3, 2019

I'm assuming this should be done via the 'Files' screen. I can't add folders at all through there, it just fails with Failed to add files to IPFS. Please try again. - adding single file works fine. (running from source with npm i + npm start, node 11.5.0, npm 6.5.0)

@hacdias
Copy link
Member Author

hacdias commented Jun 5, 2019

This bug was fixed on the latest version! Closing 😃

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

2 participants