--write-batch just hangs?

Chris Shoemaker chris.shoemaker at cox.net
Thu Apr 29 21:00:32 GMT 2004


I'm using rsync version 2.5.7, and I see this behavior with Debian and Redhat installations.

This works:
rsync  rsync://mirror.physics.ncsu.edu/redhat/linux/updates/9/en/os/i386/zebra* ./temp

But this doesn't:
rsync --write-batch=mytest rsync://mirror.physics.ncsu.edu/redhat/linux/updates/9/en/os/i386/zebra* ./temp

I've also tried with my normal args, like "-vvvvv --progress -t --recursive", but always with the same results:

Instead of any update, with the --write-batch=mytest argument, rsync just hangs.
I've looked at the issue with strace and ethereal.

What rsync _does_ do, in the --write-batch case, is:
  1) connect to the server
  2) find the directory
  3) print the MOTD
  4) exchange protcol versions (26)
  5) create mytest.rsync_argvs, containing only "rsync --read-batch=mytest ${1:-./temp}", in the current working dir
  6) calls brk successfully
  7) calls select with a timeout of 60 sec, which times-out every time, indefinitely.


Any ideas?

-Chris




More information about the rsync mailing list