| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <44E02201.9060800@netbauds.net> |
| Date: | Mon, 14 Aug 2006 08:10:57 +0100 |
| From: | Darryl Miles <darryl-mailinglists AT netbauds DOT net> |
| User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.5) Gecko/20060727 SeaMonkey/1.0.3 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Rsync over ssh (pulling from Cygwin to Linux) stalls.. |
| References: | <48bc40670608132258h3d264e0cx682d4e37e33427b9 AT mail DOT gmail DOT com> |
| In-Reply-To: | <48bc40670608132258h3d264e0cx682d4e37e33427b9@mail.gmail.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Michael March wrote: > I am running Cygwin 1.5.21 and rsync version 2.6.6. > > If I run this command from Linux: > > rsync -Lave "ssh -2" > admin AT xp DOT host DOT com:/cygdrive/g/Backups/rsync/Pictures /backups/test > > .. the transfers will stall after two files. > > Pushing from XP to Linux does work though.. > > Any ideas? Yes its a known issue for the exact situation you explain. Pulling files from a hosting using ssh+rsync under CYGWIN. My current understanding of the situation is with the non-blocking implementation of pipes under CYGWIN does not return EAGAIN even the pipe buffer is full and starts to block. This causes rsync to become blocked on a write call to send data to ssh, and ssh becomes blocked also on a write call sending data to rsync. This causes a deadlock. Since rsync can work in blocking and non-blocking mode its really SSH that end that has the problem. I am actively working on a solution, but at current work rate it maybe a few weeks to a month before any preliminary patch will be posted here. Darryl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |