delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/14/01:42:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 14 Jun 2009 01:42:29 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: LFTP issue
Message-ID: <20090614054229.GA6863@ednor.casa.cgf.cx>
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>
MIME-Version: 1.0
In-Reply-To: <20090609041118.GB28887@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.19 (2009-01-05)
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 Tue, Jun 09, 2009 at 12:11:18AM -0400, Christopher Faylor wrote:
>On Mon, Jun 08, 2009 at 09:14:36PM -0400, Chris Sutcliffe wrote:
>>>>Doing a little more debugging, and it looks like the issue is related
>>>>directory size. ?I can execute 'ls | grep <string>' in a directory
>>>>with 22 items with no issue at all. ?However, when I do a 'ls | grep
>>>><string>' in a directory that has 1,928 items, that's when I see the
>>>>behaviour I'm experiencing. ?Is there some sort of limitation on
>>>>listing size?
>>
>>I was given access to a friend's Debian box and confirmed that lftp
>>worked as expected when listing that directory.
>>
>>> Can anyone reduce this to a test case which doesn't involve downloading
>>> lftp source?
>>
>>I'm not all the familiar with Cygwin / 'nix code so I'm not sure where
>>I would begin.  Would it help if I did an strace to see where lftp is
>>hanging?
>
>I guess so.  Please send the strace to me personally rather than
>cluttering the list with a large file.
>
>Just remove the obvious parts from my From address above.  Or contact me
>on irc if that doesn't work.

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.

I'd be surprised that this would work on 1.5.x since it relied on cygwin
honoring nonblocking writes on pipes which, AFAIK, we never have done
right.  We can do it better in 1.7.x though and the change I just made
seems to prove that.

cgf

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