delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/08/11:04:07

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 D68763854821
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=pdc.ca
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brent AT pdc DOT ca
X-Zone-Loop: 467bacfc794148ffe35680248312babac629928c5bec
X-Originating-IP: [149.28.56.236]
Subject: Re: Continued rsync failures
To: cygwin AT cygwin DOT com
References: <745b958a-4edc-b6ca-e61f-d143ccd3f8c0 AT pdc DOT ca>
<a10cf2c2-e1ce-fe0e-2f72-6fd488a00a3d AT cornell DOT edu>
From: Brent Epp <brent AT pdc DOT ca>
X-Tagtoolbar-Keys: D20210508100327703
Message-ID: <430fbe88-f57d-4e65-11cf-96207ee3ee17@pdc.ca>
Date: Sat, 8 May 2021 10:03:27 -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: <a10cf2c2-e1ce-fe0e-2f72-6fd488a00a3d@cornell.edu>
X-AuthUser: brent AT pdc DOT ca
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_SHORT, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
TXREP 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 148F46pB028581

Sorry, my silly mail client doesn't reply to the list by default.

------------------------------

It might be worth noting that these rsync commands run using an 
on-demand script to manage sync jobs.  Generally, it will execute rsync 
once with `--dry-run` to gather a list of files for me to preview:

rsync -avi --progress --no-perms --no-owner --no-group --delete 
--dry-run -s --exclude-from='/cygdrive/d/my/exclusion/file' 
--exclude-from='/cygdrive/d/my/additional/exclusion/file' 
/cygdrive/d/path/to/source'/. '/cygdrive/d/path/to/target'

trace file: http://cygtestdata.ddnsfree.com/strace.exec1.out

Then it can run rsync a consecutive time:

rsync -avi --progress --no-perms --no-owner --no-group --delete -s 
--exclude-from='/cygdrive/d/my/exclusion/file' 
--exclude-from='/cygdrive/d/my/additional/exclusion/file' 
/cygdrive/d/path/to/source'/. '/cygdrive/d/path/to/target'

trace file: http://cygtestdata.ddnsfree.com/strace.exec2.out

Thanks
  - Brent

On 2021-05-07 13:09, Ken Brown via Cygwin wrote:
> On 5/7/2021 12:43 PM, Brent Epp wrote:
>> Hello,
>>
>> I've reported this in the past, but I cannot reliably use rsync. This 
>> is a *local* synchronization between two Windows directories.  It 
>> seems that after a number of executions (a few dozen, maybe?), it 
>> just stops working and reports errors:
>>
>>     rsync: connection unexpectedly closed (185 bytes received so far) 
>> [generator]
>>     rsync error: error in rsync protocol data stream (code 12) at 
>> io.c(228) [generator=3.2.4dev]
>>     rsync: connection unexpectedly closed (0 bytes received so far) 
>> [sender]
>>     rsync error: error in rsync protocol data stream (code 12) at 
>> io.c(228) [sender=3.2.4dev]
>>
>> I have upgraded to the latest version of cygwin as of this morning 
>> and the problem persists.  I have no software on the BLODA list and I 
>> have tried with all security software disabled.
>>
>> The only thing I can do is wait for a period of time (never timed it, 
>> but 10-20 minutes or so), which is immensely frustrating, as I am 
>> heavily dependent on it for work.
>>
>> How can get I this working once and for all?
>
> Please run the failing rsync command under strace, like this:
>
>   strace -o strace.out rsync....
>
> Then post the output file strace.out somewhere where others can look 
> at it.
>
> Ken
>

-- 
Brent Epp

E-Mail:    brent AT pdc DOT ca
Web site:  www.pdc.ca/it
Call/Text: (204) 304-9057


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