[ycui1@bloomberg.com: Re: rsync bug?? (rsync fails when -C is used).]

Paul Cui ycui1 at bloomberg.com
Fri Jul 20 14:00:16 GMT 2007


On Thu, Jul 19, 2007 at 06:24:10PM -0400, Matt McCutchen wrote:
> 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.
> 

I doubt the remote end is out of memory.. its a big sun box with
64G of physical mem. also.. I have no issue with running rsync on that
remote machine duplicate the exact same directory, locally. I assume 
the part of code that creates the file list is same for both local
rsync and remote rsync.

Here is the output of running with -vvv:

opening connection using ssh sundev2 rsync --server --sender -vvvlogDtprC . /home/john/data 
[receiver] add_rule(:C .cvsignore)
[receiver] add_rule(-C )
[receiver] add_rule(- RCS) [global CVS]
[receiver] add_rule(- SCCS) [global CVS]
[receiver] add_rule(- CVS) [global CVS]
[receiver] add_rule(- CVS.adm) [global CVS]
[receiver] add_rule(- RCSLOG) [global CVS]
[receiver] add_rule(- cvslog.*) [global CVS]
[receiver] add_rule(- tags) [global CVS]
[receiver] add_rule(- TAGS) [global CVS]
[receiver] add_rule(- .make.state) [global CVS]
[receiver] add_rule(- .nse_depinfo) [global CVS]
[receiver] add_rule(- *~) [global CVS]
[receiver] add_rule(- #*) [global CVS]
[receiver] add_rule(- .#*) [global CVS]
[receiver] add_rule(- ,*) [global CVS]
[receiver] add_rule(- _$*) [global CVS]
[receiver] add_rule(- *$) [global CVS]
[receiver] add_rule(- *.old) [global CVS]
[receiver] add_rule(- *.bak) [global CVS]
[receiver] add_rule(- *.BAK) [global CVS]
[receiver] add_rule(- *.orig) [global CVS]
[receiver] add_rule(- *.rej) [global CVS]
[receiver] add_rule(- .del-*) [global CVS]
[receiver] add_rule(- *.a) [global CVS]
[receiver] add_rule(- *.olb) [global CVS]
[receiver] add_rule(- *.o) [global CVS]
[receiver] add_rule(- *.obj) [global CVS]
[receiver] add_rule(- *.so) [global CVS]
[receiver] add_rule(- *.exe) [global CVS]
[receiver] add_rule(- *.Z) [global CVS]
[receiver] add_rule(- *.elc) [global CVS]
[receiver] add_rule(- *.ln) [global CVS]
[receiver] add_rule(- core) [global CVS]
[receiver] add_rule(- .svn/) [global CVS]
[receiver] add_rule(- .bzr/) [global CVS]
[receiver] parse_filter_file(/home/john/.cvsignore,8380,0) [not found]
receiving file list ... 
[sender] add_rule(:C .cvsignore)
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]
_exit_cleanup(code=22, file=util.c, line=115): about to call exit(22)
rsync: connection unexpectedly closed (8 bytes received so far) [receiver]
rsync error: error allocating core memory buffers (code 22) at io.c(453) [receiver=2.6.9]
_exit_cleanup(code=12, file=io.c, line=453): about to call exit(22)

thanks.


More information about the rsync mailing list