Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to rsync a 15 GB file from my OSX box to a box running Ubuntu 10.04 server. rsync is transferring ~300-700Mb and then closing the connection with the following error:

Read from remote host Connection reset by peer
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (397214 bytes received so far) [sender]
rsync error: unexplained error (code 255) at /SourceCache/rsync/rsync-40/rsync/io.c(452) [sender=2.6.9]

The exact command I am executing is:

rsync --progress --archive --inplace my.15GB.file.tgz

I am sure that there is enough free space on the Ubuntu box. Any ideas what could be causing the connection to drop?

share|improve this question
Have you tried without --inplace? – jneves Jun 12 '10 at 7:03
I did originally, but added the switch incase rsync was first copying the file to some tmp filesystem that may not have had enough space. It didn't seem to make any difference either way. – johnny_bgoode Jun 13 '10 at 0:55

You may have a resource limit set up for programs run via ssh, and it takes that amount of data transfer before the remote rsync hits it and is killed.

share|improve this answer
Thanks for your answer, do you know where that might be configured? – johnny_bgoode Jun 13 '10 at 1:15
Check in /etc/security/limits.*. – Ignacio Vazquez-Abrams Jun 13 '10 at 2:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.