Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 11 Aug 2005 16:31:12 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Rsync over SSH dies before it is able to send with lots of files
Message-ID: <20050811143112.GD2816@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <42FA081C.25957.24F4EADF@localhost> <42FA2A6A.29370.257AEDF0@localhost> <42F9FC86.8060602@byu.net> <42FB51FF.3000000@byu.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42FB51FF.3000000@byu.net>
User-Agent: Mutt/1.4.2i

On Aug 11 07:26, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Eric Blake on 8/10/2005 7:09 AM:
> > 
> > I still want to figure out why you were getting a crash.  I tried the
> > following:
> > 
> > $ cd /tmp
> > $ mount -m
> > ...
> > mount -f -s -b -X "c:/cygwin/bin" "/bin"
> > $ mkdir lots
> > $ # 45000 invocations of touch is slow, so do 10 files at a time...
> > $ for i in `seq 4500` ; do echo $i ; touch longfilename${i}0
> > longfilename${i}1 longfilename${i}2 longfilename${i}3 longfilename${i}4
> > longfilename${i}5 longfilename${i}6 longfilename${i}7 longfilename${i}8
> > longfilename${i}9 ; done
> > $ echo /cygdrive/c/cygwin/tmp/lots/*
> > ... # Works, echo is a builtin
> > $ /bin/echo /cygdrive/c/cygwin/tmp/lots/*
> > ... # Works for me, since my /bin is mounted executable
> > $ /cygdrive/c/cygwin/bin/echo /cygdrive/c/cygwin/tmp/lots/*
> > bash: /cygdrive/c/cygwin/bin/echo: Argument list too long
> 
> Aha - I found something.  When I first ran the touch command above, I
> stopped at about 8000 files (or about 400k for the subsequent echo command
> line), which gave the nice "Argument list too long" error.  But when I
> increased the number of files to 45000 (or about 2 meg of command line),
> the same command failed with a segfault with bash 3.0, and gave no input
> but left $? at 5 (matching EIO) on the alpha bash 3.1.  I will have to try
> debugging it now, but it seems odd that exec() is dying with E2BIG in one
> case and EIO when the input is even bigger.

Can you reproduce this with the latest Cygwin snapshot?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

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

