rsync bug?? (rsync fails when -C is used).

Matt McCutchen hashproduct+rsync at
Thu Jul 19 22:24:10 GMT 2007

On 7/19/07, Paul Cui <ycui1 at> wrote:
> hi, All.
> I just compiled the latest rsync (2.6.9). but I'm getting an error when
> I use the -C option.
> eg:
> $ rsync -aCv host1:/home/john/data/ /home/john/data
> receiving file list ... ERROR: out of memory in add_rule [sender]
> rsync error: error allocating core memory buffers (code 22) at util.c(115) [sender=2.6.9]
> rsync: connection unexpectedly closed (8 bytes received so far) [receiver]
> rsync error: error in rsync protocol data stream (code 12) at io.c(453) [receiver=2.6.9]

The remote rsync is running out of memory as it collects the CVS
ignore rules (add_rule).  Something could be awry with the CVS ignore
rules, or the machine could just be low on memory.  Please run rsync
again with -vvv (three verbose options), which will make the remote
rsync show (among other useful information) the individual calls to
add_rule, and send the resulting output to the list.


More information about the rsync mailing list