[Errno 7] Argument list too long: 'xxh64sum' #866
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Create a new archive. Every day I run backup via cron and I am receiving a
fail
alert but this did not occur the first time I made a full backup only the 2nd and 3rd night so far. If I had to guess knowing xxhash is for comparing files it may be my spot check config failing to run. Is this a bug or am I comparing too many files, my config has a 10% compare configured.Steps to reproduce
Create a new archive with the following config.
Actual behavior
After the backup is complete the following error occurs which raises an
fail
message to my notifications.Expected behavior
No issue with
xxh64sum
.Other notes / implementation ideas
No response
borgmatic version
1.8.11
borgmatic installation method
container
Borg version
1.2.8
Python version
3.12.3
Database version (if applicable)
mysql Ver 15.1 Distrib 10.11.6-MariaDB, for Linux (x86_64) using readline 5.1
Operating system and version
Alpine 3.19
Thanks so much for filing this. Yes, this is ostensibly a bug with the
spot
check. It looks likexxh64sum
can't handle more than a certain number of files at once. Until this is fixed, you can try lowering yourdata_sample_percentage
as a work-around.Thanks for the confirmation :)
This has been fixed in main and will be part of the next release. This fix is performed by batching calls to xxh64sum (and also to Borg) so that it works on only 10,000 files at a time, looping as necessary to get through all the files that need hashing as part of this check. It's possible this could still error on some systems or when using super long filenames, so please let me know if you still see errors when this is released.
Thanks again for bringing this to my attention!
Released in borgmatic 1.8.12!