Skip to content

ipfs add hangs and stalls with large folders #3885

Closed
@entr0p1

Description

@entr0p1

Version information:

go-ipfs version: 0.4.8-
Repo version: 5
System version: amd64/linux
Golang version: go1.8

Type:

Bug

Severity:

High

Description:

When adding files to the repository, it gets to a seemingly arbitrary point (around 8-10GB?) in to the file transfer, then the progress bar disappears and the job stalls. I usually pipe the output into a text file to get a file and hash list, but have tried without and still no luck I'm afraid.

The directory being added is 24.91GB in size, and contains 101143 objects.

The actual content being stored can be found with an explanation on this page: climate-mirror/datasets#333

The command I'm using is:

ipfs add -r -p -w (FOLDER NAME)>(FOLDER NAME)_filelist.txt

I was originally running golang installed from the Yum repositories, which turned out to be an old version (v1.6.3). I've since removed this one and installed straight from their site (running v1.8.1 now) which has significantly improved the performance of the ipfs add overall.

# go version
go version go1.8.1 linux/amd64

The machine is a Virtual Machine on Citrix XenServer, running Oracle Linux 7 and the datastore is on an NFS volume directly attached to the VM, mounted via /etc/fstab on boot. The VM has 2x vCPU cores pinned to it and 8GB of memory. I can provide further details on the physical hardware if it helps.

I'm running SELinux but it's not had any effect on the functionality since the start, as far as I can tell.

I installed IPFS using ipfs-update and am currently on the latest version (v0.4.8).

I've just tried stopping the ipfs daemon and will see if that improves, so far it's looking like I've gotten further than before. I'll provide an update when it completes with the result

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions