You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ipfs version --all
go-ipfs version: 0.4.16-
Repo version: 7
System version: amd64/linux
Golang version: go1.10.2
Type:
Bug
Description:
ipfs add hangs when adding a small directory. We use an ipfs node for our artefact repository, so every time a ci job runs a directory gets added to this node. The node has a moderately big store. Limit is 100GB, current size is ~30 GB, with 250k nodes.
We are using the flat file store. We have already increased the ulimit so this is not an issue.
When running ipfs add to add another directory, the command adds all files and computes the hash of the root directory. But then it just sits there and never terminates, so our CI (travis ci) is stuck.
If I try to add the temporary directory that is added to ipfs manually, I get the same result. Everything works, but the command never terminates:
We tried restarting the node, but it does not help.
One thing that might be relevant is that there is a lot of recursive pinning going on on that same node, which could put some pressure on the file store. Maybe it is some kind of deadlock?
I am willing to provide more info. For now we are going to move CI to a different node and use the badger file store. I really hope that helps, since our entire team is stuck when CI fails...
This could be related to #3885 , but in our case the folder that is added is not large, so I don't consider it a dupe.
The text was updated successfully, but these errors were encountered:
It should. If it doesn't, please reopen. Note: you can add a "best effort" pin by linking the file into mfs (ipfs files cp /ipfs/MyHash /some_file_name).
Version information:
Type:
Bug
Description:
ipfs add hangs when adding a small directory. We use an ipfs node for our artefact repository, so every time a ci job runs a directory gets added to this node. The node has a moderately big store. Limit is 100GB, current size is ~30 GB, with 250k nodes.
We are using the flat file store. We have already increased the ulimit so this is not an issue.
When running ipfs add to add another directory, the command adds all files and computes the hash of the root directory. But then it just sits there and never terminates, so our CI (travis ci) is stuck.
If I try to add the temporary directory that is added to ipfs manually, I get the same result. Everything works, but the command never terminates:
We tried restarting the node, but it does not help.
One thing that might be relevant is that there is a lot of recursive pinning going on on that same node, which could put some pressure on the file store. Maybe it is some kind of deadlock?
I am willing to provide more info. For now we are going to move CI to a different node and use the badger file store. I really hope that helps, since our entire team is stuck when CI fails...
This could be related to #3885 , but in our case the folder that is added is not large, so I don't consider it a dupe.
The text was updated successfully, but these errors were encountered: