delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/17/06:20:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E0B9A385B835
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1587118800; bh=IdBYXinAwfmWrCJDYQ0GbNTZOh109Upr0+on9OEVr3g=;
h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;
b=S/w9hU72ydGAQblypFJtnms3wJREGA3rqqTxVAa/DDXlAVMqt35U9C1b8fawzB7TN
4yjSh+Kw5JZn0N9+RBQ2V4/gHjF8ucdXNuNjZtjoUdEnnLR+p9lVqLJmTgWUuLG/F3
awtwVoGbmm87+Kv4Yxa2cRb/HlqO0eNtCVGqFn/w=
Authentication-Results: mxback9o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 17 Apr 2020 13:07:28 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <355161917.20200417130728@yandex.ru>
To: Brent Epp <brent AT pdc DOT ca>, cygwin AT cygwin DOT com
Subject: Re: Rsync frequently hangs
In-Reply-To: <537b1bde-00f3-a989-babd-b2d9ffdfcfb9@pdc.ca>
References: <537b1bde-00f3-a989-babd-b2d9ffdfcfb9 AT pdc DOT ca>
MIME-Version: 1.0
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 03HAKWMU015663

Greetings, Brent Epp!

> I have a large collection of custom tooling that depends on rsync.  It
> used to work very well, but recently, rsync has become highly unstable.  
> It frequently (dozens of times a day) hangs.  These are rsync executions 
> where the source and target are both on the same local drive.

> Eventually once it times out, it reports:

>      rsync: connection unexpectedly closed (0 bytes received so far) 
> [sender]
>      rsync error: error in rsync protocol data stream (code 12) at 
> io.c(226) [sender=3.1.2]

> No changes have recently been made to the tooling.  I just upgraded 
> cygwin as well, the problem persists.

> I'm going to do a clean install of cygwin, but if that doesn't solve 
> things, what else can I do?

Check for BLODA. Although I'm still suspicious.
All I've seen so far is

rsync error: protocol incompatibility (code 2) at receiver.c(582) [receiver=3.1.0]
rsync error: protocol incompatibility (code 2) at io.c(1642) [generator=3.1.0]

this is a link to production VPS. It consistently hangs midway the transfer.
Like it has a clairvoyance, no matter if the upload is 1 file of 100 files,
halfway through it drops, and I have to restart the upload, then it goes to
complete success.


-- 
With best regards,
Andrey Repin
Friday, April 17, 2020 13:04:33

Sorry for my terrible english...
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019