-
Notifications
You must be signed in to change notification settings - Fork 2
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
"too many open files" in add-dir #26
Comments
I don't think the Python script is keeping subprocesses open ipfs is known for keeping lots of files open at once. The easiest fix is to increase the number of file descriptors. See if you can increase it with
If you get an error try a lowering the number to what is outputted to
Also google "increase number of open files linux" for additional advice. The other thing to try is to decrease Finally note the very latest git version of master will likely break this script so I would stick will the version you are using for now. |
Thanks for the quick feedback. |
The script finished adding the 152029 files after about 56 hours. So decreasing |
go-ipfs version: 0.4.5-dev-8566ce2
Repo version: 4
System version: amd64/linux
Golang version: go1.7.3
Bug
Description:
I'm now running on Ubuntu 16.04 (not Windows) but I still have my giant store of webcam videos. In a fresh IPFS installation, I tried the add-dir script and got the following errors. Any quick idea whether the Python script is leaving files or subprocesses open?
plus many more similar
The text was updated successfully, but these errors were encountered: