delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/18/17:11:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 18 Apr 2003 16:10:55 -0500
From: "Matthew W. Roberts" <robermat AT uwplatt DOT edu>
Subject: Re: Upgraded, CYGWIN *much* slower
In-reply-to: <Pine.GSO.4.44.0304151711510.22724-100000@slinky.cs.nyu.edu>
To: cygwin AT cygwin DOT com
Message-id: <20030418211055.GB1596@ottabcxyz>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20030415203534 DOT GA1656 AT ottabcxyz>
<Pine DOT GSO DOT 4 DOT 44 DOT 0304151711510 DOT 22724-100000 AT slinky DOT cs DOT nyu DOT edu>

> FYI, you can look in /var/log/setup.log -- it keeps track of every
> setup invocation and is appended.  For the details of the last
> upgrade, see /var/log/setup.log.full

Thanks.  Did that.  I upgraded on 4/11/03.  The previous install was
completed on 01/16/2003.  My version of setup was 2.249.2.5 then and
I upgraded to 2.340.2.5.  The cygwin package was updated from 1.3.18
to 1.3.22.

> > That seems to be the general theme.  Much longer startup and
> > exit times for programs.  They aren't noticeably slower when I
> > use them, they just take a lot longer to start up and to dump me
> > back to the command line.
> 
> You could use the "strace" utility to see where the delays are...

I did and found out that the delay is at the very end.  I
particularly notice the delay when running sh scripts.  The last
line of strace for sh is:

4021 20989044 [main] sh 1472 _pinfo::exit: Calling ExitProcess 0

This line hangs for several seconds.  Incidentally, for some of the
more simple utilities, like awk and grep, there is absolutely no
delay after the ExitProcess call.

> Also, see if you have network paths in your PATH, as mentioned in

I reduced the path to the following:

% echo $PATH
/usr/bin:/bin

Didn't make any difference.

I should note that the problems started when I upgraded.  I made no
changes to the system other than upgrading cygwin. 

Thanks for all your help.  I don't know if I'll ever figure this out
but was wondering if anyone else had similar problems.

--
Matthew W. Roberts * (608) 342-1535  *  robermat AT uwplatt DOT edu
Civil Engineering  *  University of Wisconsin -- Platteville

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

- Raw text -


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