X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 14 Jun 2009 14:38:32 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: LFTP issue Message-ID: <20090614123832.GN5039@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> <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> <20090614122935 DOT GM5039 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090614122935.GM5039@calimero.vinschen.de> User-Agent: Mutt/1.5.19 (2009-02-20) 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 Jun 14 14:29, Corinna Vinschen wrote: > 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 > > " 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 :( [...] and afterwards, all the `less' processes from the failed attempts are still in memory, even after exiting from lftp. 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/