samba-bugs at samba.org
2024-Feb-16 11:16 UTC
[Bug 15585] New: rsync ends still with error 22 when try to deleting many files
https://bugzilla.samba.org/show_bug.cgi?id=15585 Bug ID: 15585 Summary: rsync ends still with error 22 when try to deleting many files Product: rsync Version: 3.2.0 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayne at opencoder.net Reporter: fn at fkn-systems.de QA Contact: rsync-qa at samba.org Target Milestone: --- Problem: When syncing Souce/Target and must deleting many files, rsync stop still quiet with Error-Code: "22 - Error allocating core memory buffers" Desc: When more than ~5-10 million files to delete, rsync ends still quiet, in case of deleting process. Rsync reads (with --delete-before) the complete Source and breaks than after deleting many (>1000) files on Target. Else, (withOUT --delete-before), he does some sync on Target and some deletes, some sync ... and breaks than after delete some files. In case of this, Backups are not synced, and may space overflow after next backup run. Use of ??max?delete=100.000.000 are not functional to solve this Command: rsync -vaxHSPAX --delete [--delete-before] $SOURCE $TARGET # $SOURCE, $TARGET are real directorys or remote (ramote:dir...) Versions: It tested fail with: * rsync version 3.2.3 protocol version 31 * rsync version 3.2.7 protocol version 31 -- You are receiving this mail because: You are the QA Contact for the bug.
Reasonably Related Threads
- BUG? rsync ends without message by delete files
- [Bug 15335] New: Environment variables in remote host's path do not resolve properly
- [Bug 14315] New: rsync hangs when many errors
- [Bug 493] New: NAT still work after flush it.
- [Bug 15393] New: rsync attempts to set extended attributes while in dry-run