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

Can't handle a medium-sized sync reliably #14

Open
mightbemyname opened this issue Jul 28, 2018 · 9 comments
Open

Can't handle a medium-sized sync reliably #14

mightbemyname opened this issue Jul 28, 2018 · 9 comments

Comments

@mightbemyname
Copy link

Tried to sync approx 8M files under 1M directories. Got errors like "sh: 1: ls: Argument list too long" and eventually the script finished with "[17115] of [0]" and thought it had finished successfully. Only 3TB of 18TB had been copied.

The fpart log showed 93859 total parts.

@mightbemyname
Copy link
Author

When rerunning with a folder subset, the script couldn't delete old fpart chunk files: "sh: 1: rm: Argument list too long" but didn't catch the error; the following line was "INFO: The fpart chunk files [/home/myuserdir/.parsyncfp/fpcache/f*] are cleared.. continuing"

@hjmangalam
Copy link
Owner

hjmangalam commented Jul 28, 2018 via email

@mightbemyname
Copy link
Author

mightbemyname commented Jul 28, 2018 via email

@hjmangalam
Copy link
Owner

hjmangalam commented Jul 28, 2018 via email

@mightbemyname
Copy link
Author

mightbemyname commented Jul 29, 2018 via email

@hjmangalam
Copy link
Owner

hjmangalam commented Jul 29, 2018 via email

@FilipeMaia
Copy link

Hi,

I think this might help explain the problem:

ls -lSh ~/.parsyncfp/fpcache/f*
bash: /usr/bin/ls: Argument list too long

there are too many fpart cache files.

@hjmangalam
Copy link
Owner

hjmangalam commented Apr 17, 2019 via email

@jaytaylor
Copy link

I've also run into this error while trying to use parsyncfp to copy 57 million files.

The command line was:

sudo parsyncfp \
    --maxload 1000 \
    --maxbw 9999999999999 \
    --np 50 \
    --verbose 3 \
    --rsyncopts -av \
    --nowait \
    Data/Files /data-fs-20190604/

And there are 20,431 files under /root/.parsyncfp/.

I'll try increasing the chunk size to see if it resolves the issue.

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

4 participants