rsync 3.0.6 overflow question

Nathanael Jean-Francois nathanael at
Tue Sep 1 11:06:28 MDT 2009

Hello list,

I'm running rsync from a FreeBSD 6.3 server to another FreeBSD 6.3 
server. Both are running rsync 3.0.6. The transfer keeps dying with the 
following errors.

On the receiver I'm getting the following error

2009/09/01 11:27:58 [23670] overflow: xflags=0x546 l1=0 l2=10376 
lastname= [generator]
2009/09/01 11:27:58 [23670] ERROR: buffer overflow in recv_file_entry 
2009/09/01 11:27:58 [23670] rsync error: error allocating core memory 
buffers (code 22) at util.c(123) [generator=3.0.6]

On the sender I get

2009/09/01 11:50:10 [13901] rsync: writefd_unbuffered failed to write 
803 bytes to socket [sender]: Broken pipe (32)
2009/09/01 11:50:10 [13901] rsync: read error: Connection reset by peer (54)
2009/09/01 11:50:10 [13901] _exit_cleanup(code=12, file=io.c, line=759): 
2009/09/01 11:50:10 [13901] rsync error: error in rsync protocol data 
stream (code 12) at io.c(759) [sender=3.0.6]
2009/09/01 11:50:10 [13901] _exit_cleanup(code=12, file=io.c, line=759): 
about to call exit(12)

At first I thought it was a bad nic/rj45 issue that caused the 
connection to keep dying. I've replaced both already. I then thought it 
was the receiver that didn't have enough RAM so I added another 1G to 
bring it to a total of 2G. The sender also has 2G of RAM. I'm not sure 
what's causing the issue. It's not even that many files. As per df -i, 
/usr is only using 338871 inodes. Any help would be appreciated. Thanks.

More information about the rsync mailing list