Public bug reported:
Description:
On Ubuntu 24.04 (rsync 3.2.7-1ubuntu1.4) and Ubuntu 22.04 (rsync
3.2.7-0ubuntu0.22.04.6), rsync can consume an excessive amount of memory
when syncing a large number of directories, even if those directories
are empty.
Memory usage appears to scale with the number of directories rather than
their content or total data size.
In earlier rsync versions, this behavior was not observed under the same
conditions.
Steps to reproduce:
mkdir data
cd data/
seq 1 200000 | xargs mkdir
cd ..
rsync -a data/ data_copy
Observed behavior:
During the synchronization process, rsync consumes a very large amount
of memory (approximately 32 GB with 200,000 directories), despite all
directories being empty.
Memory usage increases significantly as the number of directories grows.
** Affects: rsync (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155047
Title:
rsync high memory usage with large number of directories (even if
empty)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/2155047/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs