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 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> <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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 ' in a directory >>>>with 22 items with no issue at all. ?However, when I do a 'ls | grep >>>>' 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/