Bug 15585 - rsync ends still with error 22 when try to deleting many files
Summary: rsync ends still with error 22 when try to deleting many files
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.2.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-16 11:16 UTC by Franzi
Modified: 2024-02-16 11:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franzi 2024-02-16 11:16:29 UTC
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