title: rsync hang with many remote files specified
body: <p>Using the following rsync command will let you copy numerous remote files to your local machine, when the remote machine is using rsyncd:</p>
  
  <p>rsync -R hostname::'module/path1/file1 module/path2/file2 module/path3/file3 module/path4/file4' /local/path</p>
  
  <p>If the number of files is too great, however, rsync hangs, not creating the files in the target location.  The limit in the environment I'm testing on is 22.  With 22 files it finishes in a few seconds; with 23 or more files, it hangs indefinitely.</p>
  
  <p>Can anyone provide a reason why this might happen?  Here's some things I've checked:</p>
  
  <ul>
  <li>Neither machine is running out of disk space or memory.</li>
  <li>All the files can be transferred, as long as I don't do more than 22 at a time.  (In other words, it's not something special about the specific files at position 23 and above.)</li>
  <li>There are no permissions issues; I have the ability to read all files on the remote machine, and can write to the target destination.  (Also, as I noted in the previous item, all of the ~50 files in my overall list can be transferred as long as I don't do more than 22 at a time.)</li>
  <li>Nothing changes if I use the -n (dry run) option.</li>
  </ul>