delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/14/08:30:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 14 Jun 2009 14:29:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: LFTP issue
Message-ID: <20090614122935.GM5039@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2bf229d30906061704k7e01a988gfade6351525de0c3 AT mail DOT gmail DOT com> <jehq251879u9jv2ps1d9ctgno6gsrr3sfs AT 4ax DOT com> <2bf229d30906081136y6488953fq2e6342609f0a44f AT mail DOT gmail DOT com> <20090609001857 DOT GA28339 AT ednor DOT casa DOT cgf DOT cx> <2bf229d30906081814j1d1f478sd711bc2f6e8aa270 AT mail DOT gmail DOT com> <20090609041118 DOT GB28887 AT ednor DOT casa DOT cgf DOT cx> <20090614054229 DOT GA6863 AT ednor DOT casa DOT cgf DOT cx> <2bf229d30906140439p4f5cfa94yfcda38cb91910f97 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <2bf229d30906140439p4f5cfa94yfcda38cb91910f97@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Jun 14 07:39, Chris Sutcliffe wrote:
> > Thanks for the strace.  This + our irc chat allowed me to duplicate the
> > problem.  It should be fixed in the next snapshot which is building now.
> 
> Thank you!  Using the "cygwin1-20090614.dll.bz2" snapshot, I don't see
> the hang that I was seeing before.  However, when doing a "ls | grep
> <string>" or "ls | less" on the large directory (2000 items), I now
> see the results duplicated 530 times.

I can reproduce this if the remote dir is big enough, just the numbers
are different.  In one dir with < 500 files it works fine, in another
dir with > 3000 files I get between 70 and 120 repetitions.

And I have another weird effect:

  $ lftp server
  lftp server:>cd large-dir
  cd ok, cwd=/large-dir
  lftp server:/large-dir>ls | less
  ls: less: Permission denied
  lftp server:/large-dir>ls | less
  ls: less: Permission denied
  lftp server:/large-dir>ls | less
  ls: less: Permission denied
  lftp server:/large-dir>ls | less
  ls: less: Permission denied
  lftp server:/large-dir>ls | less
  [...works...]

I can reproduce this with a very high probability.  4 or 5 or 10 times
in a row it fails.  Then, as soon as the first `ls | less' call
succeeds, all subsequent calls succeed as well.  Calling just `ls' once,
helps, too.

Unfortunately I can't reproduce it when running under strace.  In that
case `ls | less' already succeeds the first time, every time I try it :(


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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