X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 13559385B835
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=pdc.ca
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brent@pdc.ca
X-Zone-Loop: cbd31800c3f1f76e1dbb1ecc9cff3ff87cbb80a79023
X-Originating-IP: [168.235.111.26]
From: Brent Epp <brent@pdc.ca>
Subject: Re: Rsync frequently hangs
To: cygwin@cygwin.com
References: <537b1bde-00f3-a989-babd-b2d9ffdfcfb9@pdc.ca>
 <355161917.20200417130728@yandex.ru>
X-Tagtoolbar-Keys: D20200417075503377
Message-ID: <c9807c2a-219d-bb09-f0d3-077633770482@pdc.ca>
Date: Fri, 17 Apr 2020 07:55:03 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.0
MIME-Version: 1.0
In-Reply-To: <355161917.20200417130728@yandex.ru>
Content-Language: en-US
X-AuthUser: brent@pdc.ca
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 SPF_PASS autolearn=ham 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 03HCtZb9028895

Hi Andrey,

Thanks, I do have some security software running, but the rsync problem 
persists when it (the security software) is disabled.

Thanks
  - Brent

Can you expand on this?
On 2020-04-17 05:07, Andrey Repin wrote:
> 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.
>
>

--
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

