Bug 1425

Summary: buffer_append_space with rsync
Product: Portable OpenSSH Reporter: Tobias Müller <openssh>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: dtucker
Priority: P2    
Version: 4.7p1   
Hardware: Other   
OS: Linux   

Description Tobias Müller 2008-01-01 23:12:38 AEDT
When i'm trying to backup my files with

/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded     --rsh=/usr/bin/ssh root@server:/data /data/backup/snapshots/daily.0/server/ -v 

receiving incremental file list
data/file1
...
data/file11
buffer_append_space: alloc 10518528 not supported
data/file12
rsync: connection unexpectedly closed (53476061 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.0pre7]
rsync: connection unexpectedly closed (59 bytes received so far) [generator]
rsync error: unexplained error (code 255) at io.c(600) [generator=3.0.0pre7]

sshd caused "buffer_append_space: alloc 10518528 not supported". The amounts of files varies on each rerun and the same problem occurs other directories.

I'm running "OpenSSH_4.7p1-hpn12v19, OpenSSL 0.9.8g 19 Oct 2007" on "Linux pluto 2.6.23-gentoo-r3-twam"
Comment 1 Darren Tucker 2008-01-01 23:22:01 AEDT
(In reply to comment #0)
[...]
> I'm running "OpenSSH_4.7p1-hpn12v19, OpenSSL 0.9.8g 19 Oct 2007" on
> "Linux pluto 2.6.23-gentoo-r3-twam"

Can you reproduce the error with the vanilla version from openssh.com?  If not, please seek assistance from the supplier of this modified version.
Comment 2 Tobias Müller 2008-01-02 01:25:52 AEDT
I tried the vanilla version and here everything works well. I'll contact the guys from hpn, the wrote on their page:

The previous version of the patch for 4.7 (HPN12 v19) has been removed due to a minor bug which could lead to buffer_append_space errors, so this looks like my problems.
Comment 3 Damien Miller 2008-04-04 10:02:03 AEDT
Close resolved bugs after release.