rsync bug?? (rsync fails when -C is used).
Paul Cui
ycui1 at bloomberg.com
Thu Aug 2 22:03:03 GMT 2007
On Thu, Jul 19, 2007 at 06:24:10PM -0400, Matt McCutchen wrote:
> On 7/19/07, Paul Cui <ycui1 at bloomberg.com> 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.
>
> Matt
I got the issue fixed. I initially compile rsync-2.6.9 against Sun's libiconv.
and it seems to be the issue.. I later download libiconv and compiled myself
and statically linked against libiconv.a and the problem disappeared.
thanks.
More information about the rsync
mailing list