delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/20/14:24:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <i4mdgd$fnc$1@dough.gmane.org>
References: <AANLkTi=FJx=xaKMDSV_D7oDFVRPGaoSSs=CeL+rcReEY AT mail DOT gmail DOT com> <i4mdgd$fnc$1 AT dough DOT gmane DOT org>
Date: Fri, 20 Aug 2010 19:24:21 +0100
Message-ID: <AANLkTinN0vcPcDrCR0gzMuYffrFu31=M+aN_+wtzFfLP@mail.gmail.com>
Subject: Re: Bash login slow after upgrade to cygwin 1.7
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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 20 August 2010 18:20, Nahor wrote:
> =C2=A0On 2010-08-20 7:50, Jeremy Ramer wrote:
>>
>> After upgrading from cygwin 1.5 to cygwin 1.7 starting a bash shell is
>> much slower. =C2=A0It usually takes around 4 seconds before I get a prom=
pt.
>> =C2=A0On cygwin 1.5 it was only around 1 second. =C2=A0I captured some l=
ogs from
>> the startup using this process:
>> - Open cmd shell
>> cd C:\cygwin\bin
>> bash --login -i -x 1> =C2=A0C:\startlog.txt 2>&1
>>
>> The log is attached. I don't see anything strange except that it seems
>> pretty long. The same process on cygwin 1.5 gives much less output. I
>> can provide that log if needed.
>> Any ideas?
>
> It's the loading of all the bashcompletion scripts. Move the directory
> /etc/bash_completion.d away and you'll see it's a lot faster.

Perhaps bash completion shouldn't be enabled just by installing it,
because lots of people seem to install everything "just in case".

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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