delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/24/20:53:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <FFC7351A4632D411820000508B2E1C2C01CB15B1@hqexch01.citrix.com>
From: Kevin Schnitzius <kevin DOT schnitzius AT citrix DOT com>
To: "'Greg Bell'" <gregbell AT znet DOT com>,
Troy Noble
<troy DOT noble AT channelpoint DOT com>
Cc: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>, cygwin AT cygwin DOT com
Subject: RE: Problem - extreme network slowness, cygwin only
Date: Mon, 24 Sep 2001 20:52:12 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Bash hashes commands and paths so there may be so code to rescan previously
unavailable paths.  Try "hash -r" after setting your path.

Also, about a year ago, I ran into a similar problem.  It seems that if you
used commands to put together a PATH, sometimes it would get into a state
where the command prompt took about a second to return.  If you scan the
archives for "slowing down" and my name, you can get the details.  I was
under the impression that this problem is fixed long ago but I never had a
reliable test and I haven't seen it since.

Kevin

 -----Original Message-----
From: 	Greg Bell [mailto:gregbell AT znet DOT com] 
Sent:	Monday, September 24, 2001 20:26
To:	Troy Noble
Cc:	Robert Collins; cygwin AT cygwin DOT com; 'Kevin Schnitzius'
Subject:	RE: Problem - extreme network slowness, cygwin only


When the slowness happens, I set my path to just /usr/bin as a test... and
the problem's still there.

Unfortunately, I confused the issue by running cygcheck during a NORMAL
session.

So you guys are right - I need to fix that in my path - but that's not the
main problem.

I've been waiting for it to recur (happens for a day every week or so) so
I can strace ls and see where the time's being spent.


-Greg Bell


On Mon, 24 Sep 2001, Troy Noble wrote:

> Kevin's right.  If you paste his suggested fix near the end
> of your .bashrc file that should do it.
>
>   export PATH=`echo $PATH | sed 's/\/\/[^:]*://' | sed 's/:\/\/[^:]*$//'`
>
> This could be your problem right here.  In your PATH:
>
>    //c/program files/microsoft visual studio/vss/win32
>
> Unless you have a machine on your network named "c"
> you are trying to browse to the UNC PATH "\\c".
> That'll slow you down for sure.
>
> I thought you said your PATH was only "/usr/bin" that's why I
> couldn't see it before.  cygcheck reveals all as usual.
>
> Troy
>
> -----Original Message-----
> From: Greg Bell [mailto:gregbell AT znet DOT com]
> Sent: Monday, September 24, 2001 5:22 PM
> To: Robert Collins
> Cc: cygwin AT cygwin DOT com
> Subject: Re: Problem - extreme network slowness, cygwin only
>
>
> > whats your CYGWIN env variable set to?
> > Whats the output of cygcheck (as per the submitting a bug report topic
> > on the cygwin homepage)?.
>
> duh... sorry about that.  its included below.
>
> > What you are observing is not normal, it indicates something wrong. My
> > guess would be an incorrectly configured corporate network, and your
> > network security info resolution is coming over a router with no local
> > Domain master browser (or something of the sort).
>
> but why would cygwin/bash exhibit the delays and not dos?
>
>
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Mon Sep 24 15:04:18 2001
>
> WinNT Ver 5.0 build 2195
>
> Path:	/home/gbell
> 	.
> 	/usr/local/bin
> 	/usr/bin
> 	/bin
> 	/cygdrive/c/Program Files/Cadence Design Systems/LDV/tools/bin
> 	/cygdrive/c/Program Files/Cadence Design Systems/LDV/tools/lib
> 	/cygdrive/c/WINNT/system32
> 	/cygdrive/c/WINNT
> 	/cygdrive/c/WINNT/System32/Wbem
> 	/cygdrive/c/DMI/bin
> 	/cygdrive/c/Program Files/Symantec/pcAnywhere/
> 	/cygdrive/c/modeltech_5.5b/win32pe
> 	/cygdrive/z/utils
> 	/cygdrive/c/Program Files/winzip
> 	/cygdrive/c/MODELSIM/WIN32PE
> 	/common
> 	//c/program files/microsoft visual studio/vss/win32
> 	/usr/X11R6/bin
>
> .... snip
>

-- 
Greg Bell  858-860-6519

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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