Very slow Cygwin startup on Windows 7

Dennis Hagarty (dehagart) dehagart@cisco.com
Mon Feb 9 11:12:00 GMT 2015


Hi,

I've been a long-time Cygwin user and become quite dependent on it.

So, I'm in a bit of a pickle since I did an update from a mirror site today, and now my Cygwin window startup takes about 3-4 MINUTES (it was < 2 seconds before).

I'd been using it and all was well, and then the update seemed to 'do' something which results in this behaviour (there were quite a few updates).

I have been through the archives and tried what I could find - It's certainly nothing to do with bash completion.

Login from a remote machine to my Cygwin-enabled device is normal.

Also, I can start multiple minitty sessions from one Cygwin window and it's almost instantaneous.

But clicking on the desktop icons requires a multi-minute wait.

Any ideas where to start?
The daemons/services seem to be fine. 
There are no entries in the event log.
There are no resources being consumed.
I've taken out my .rc and profiles files and no difference.

I'm happy to go digging, but I need a pointer of where to dig.

Here is the output of my cygcheck:

~ cygcheck --sysinfo

Cygwin Configuration Diagnostics
Current System Time: Sat Feb 07 12:59:46 2015

Windows 7 Enterprise Ver 6.1 Build 7601 Service Pack 1

Path:   C:\cygwin64\usr\local\bin
        C:\cygwin64\bin
        C:\Program Files (x86)\WebEx\Productivity Tools
        C:\Windows\system32
        C:\Windows
        C:\Windows\System32\Wbem
        C:\Windows\System32\WindowsPowerShell\v1.0
        C:\Windows\System32\WindowsPowerShell\v1.0
        C:\Program Files (x86)\QuickTime\QTSystem
        C:\Program Files (x86)\GNU\GnuPG\pub

Output from C:\cygwin64\bin\id.exe
UID: 178617(dehagart)               GID: 10513(Domain Users)
10513(Domain Users)                 0(root)
545(Users)                          4(INTERACTIVE)
66049(CONSOLE LOGON)                11(Authenticated Users)
15(This Organization)               4095(CurrentSession)
<<snipped>>
405504(High Mandatory Level)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'dehagart'
PWD = '/home/dehagart'
HOME = '/home/dehagart'

Use '-r' to scan registry

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64

c:  hd  NTFS    243897Mb  81% CP CS UN PA FC     System
d:  fd  FAT32     1882Mb   5% CP    UN           HAGARTY
f:  cd  UDF         24Mb 100% CP CS UN           WD Unlocker
g:  hd  NTFS    715370Mb  54% CP CS UN PA FC     Blue Passport

C:\cygwin64      /          system  binary,auto
C:\cygwin64\bin  /usr/bin   system  binary,auto
C:\cygwin64\lib  /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,posix=0,auto

Found: C:\cygwin64\bin\awk
 -> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\cygwin64\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin64\bin\find.exe
Found: C:\Windows\system32\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\kill.exe
Not Found: ld
Found: C:\cygwin64\bin\ls.exe
Not Found: make
Found: C:\cygwin64\bin\mv.exe
Not Found: patch
Found: C:\cygwin64\bin\perl.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\sed.exe
Found: C:\cygwin64\bin\ssh.exe
Found: C:\cygwin64\bin\sh.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\vi.exe
Not Found: vim

   38k 2013/07/19 C:\cygwin64\bin\cygargp-0.dll
  510k 2014/03/20 C:\cygwin64\bin\cygasn1-8.dll
   16k 2013/03/26 C:\cygwin64\bin\cygattr-1.dll
  179k 2014/12/01 C:\cygwin64\bin\cygblkid-1.dll
   64k 2013/03/07 C:\cygwin64\bin\cygbz2-1.dll
   11k 2014/12/24 C:\cygwin64\bin\cygcharset-1.dll
   12k 2014/06/09 C:\cygwin64\bin\cygcom_err-2.dll
    9k 2013/03/07 C:\cygwin64\bin\cygcrypt-0.dll
 1752k 2015/01/08 C:\cygwin64\bin\cygcrypto-1.0.0.dll
 1526k 2013/03/08 C:\cygwin64\bin\cygdb-5.3.dll
  111k 2013/03/08 C:\cygwin64\bin\cygdb_cxx-5.3.dll
  472k 2013/03/08 C:\cygwin64\bin\cygdb_sql-5.3.dll
  154k 2013/10/20 C:\cygwin64\bin\cygedit-0.dll
   26k 2015/01/11 C:\cygwin64\bin\cygffi-6.dll
   55k 2014/12/30 C:\cygwin64\bin\cygformw-10.dll
   69k 2015/01/29 C:\cygwin64\bin\cyggcc_s-seh-1.dll
   40k 2014/05/27 C:\cygwin64\bin\cyggdbm-4.dll
   13k 2014/05/27 C:\cygwin64\bin\cyggdbm_compat-4.dll
  520k 2015/01/26 C:\cygwin64\bin\cyggmp-10.dll
  198k 2014/03/20 C:\cygwin64\bin\cyggssapi-3.dll
  253k 2014/09/19 C:\cygwin64\bin\cyggssapi_krb5-2.dll
   14k 2014/03/20 C:\cygwin64\bin\cygheimbase-1.dll
   24k 2014/03/20 C:\cygwin64\bin\cygheimntlm-0.dll
   29k 2013/03/14 C:\cygwin64\bin\cyghistory7.dll
  236k 2014/03/20 C:\cygwin64\bin\cyghx509-5.dll
   77k 2014/08/10 C:\cygwin64\bin\cygICE-6.dll
 1002k 2014/12/24 C:\cygwin64\bin\cygiconv-2.dll
   39k 2014/11/18 C:\cygwin64\bin\cygintl-8.dll
  179k 2014/09/19 C:\cygwin64\bin\cygk5crypto-3.dll
   23k 2014/03/20 C:\cygwin64\bin\cygkafs-0.dll
  403k 2014/03/20 C:\cygwin64\bin\cygkrb5-26.dll
  701k 2014/09/19 C:\cygwin64\bin\cygkrb5-3.dll
   35k 2014/09/19 C:\cygwin64\bin\cygkrb5support-0.dll
    6k 2015/02/04 C:\cygwin64\bin\cyglsa64.dll
  128k 2015/01/15 C:\cygwin64\bin\cyglzma-5.dll
  107k 2014/10/29 C:\cygwin64\bin\cygmagic-1.dll
  158k 2014/08/12 C:\cygwin64\bin\cygman-2-6-7.dll
   29k 2014/12/30 C:\cygwin64\bin\cygmenuw-10.dll
  334k 2015/01/26 C:\cygwin64\bin\cygmpfr-4.dll
   52k 2014/12/30 C:\cygwin64\bin\cygncurses++w-10.dll
  296k 2014/12/30 C:\cygwin64\bin\cygncursesw-10.dll
  220k 2014/10/19 C:\cygwin64\bin\cygp11-kit-0.dll
   14k 2014/12/30 C:\cygwin64\bin\cygpanelw-10.dll
  280k 2014/12/08 C:\cygwin64\bin\cygpcre-1.dll
 1580k 2013/03/11 C:\cygwin64\bin\cygperl5_14.dll
   38k 2014/05/12 C:\cygwin64\bin\cygpipeline-1.dll
   41k 2013/10/21 C:\cygwin64\bin\cygpopt-0.dll
  193k 2013/03/14 C:\cygwin64\bin\cygreadline7.dll
   57k 2014/03/20 C:\cygwin64\bin\cygroken-18.dll
   28k 2014/01/14 C:\cygwin64\bin\cygSM-6.dll
   88k 2014/12/01 C:\cygwin64\bin\cygsmartcols-1.dll
  750k 2015/01/30 C:\cygwin64\bin\cygsqlite3-0.dll
  142k 2014/11/09 C:\cygwin64\bin\cygssh2-1.dll
  382k 2015/01/08 C:\cygwin64\bin\cygssl-1.0.0.dll
   12k 2015/01/29 C:\cygwin64\bin\cygssp-0.dll
  941k 2015/01/29 C:\cygwin64\bin\cygstdc++-6.dll
   64k 2014/11/13 C:\cygwin64\bin\cygtasn1-6.dll
   52k 2014/12/30 C:\cygwin64\bin\cygticw-10.dll
   15k 2014/12/01 C:\cygwin64\bin\cyguuid-1.dll
  161k 2014/03/20 C:\cygwin64\bin\cygwind-0.dll
   30k 2013/11/15 C:\cygwin64\bin\cygwrap-0.dll
 1121k 2014/10/21 C:\cygwin64\bin\cygX11-6.dll
   12k 2013/06/06 C:\cygwin64\bin\cygXau-6.dll
  102k 2014/05/20 C:\cygwin64\bin\cygxcb-1.dll
   21k 2013/03/13 C:\cygwin64\bin\cygXdmcp-6.dll
   56k 2014/08/10 C:\cygwin64\bin\cygXext-6.dll
   85k 2014/01/15 C:\cygwin64\bin\cygXmu-6.dll
   35k 2013/06/14 C:\cygwin64\bin\cygXrender-1.dll
  320k 2014/08/10 C:\cygwin64\bin\cygXt-6.dll
   80k 2014/11/19 C:\cygwin64\bin\cygz.dll
 3182k 2015/02/04 C:\cygwin64\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.7.34
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 285
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix:
        Build date:
        Shared id: cygwin1S5


Service             : sshd
Display name        : CYGWIN sshd
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/sshd -D


Cygwin Package Information
Package                  Version            Status
_autorebase              001002-1           OK
_update-info-dir         00372-1            OK
alternatives             1.3.30c-10         OK
autossh                  1.4d-1             OK
base-cygwin              3.6-1              OK
base-files               4.2-3              OK
bash                     4.1.17-9           OK
bzip2                    1.0.6-2            OK
ca-certificates          2.2-1              OK
coreutils                8.23-4             OK
csih                     0.9.8-4            OK
cygrunsrv                1.62-1             OK
cygutils                 1.4.14-1           OK
cygwin                   1.7.34-6           OK
dash                     0.5.8-3            OK
diffutils                3.3-2              OK
editrights               1.03-1             OK
file                     5.20-1             OK
findutils                4.5.12-1           OK
gawk                     4.1.1-1            OK
getent                   2.18.90-4          OK
grep                     2.21-2             OK
groff                    1.22.2-2           OK
gzip                     1.6-1              OK
hostname                 3.13-1             OK
info                     5.2-3              OK
ipc-utils                1.0-2              OK
less                     458-1              OK
libargp                  20110921-2         OK
libasn1_8                1.5.3-1            OK
libattr1                 2.4.46-1           OK
libblkid1                2.25.2-1           OK
libbz2_1                 1.0.6-2            OK
libcharset1              1.14-2             OK
libcom_err2              1.42.10-1          OK
libcrypt0                1.1-1              OK
libdb5.3                 5.3.21-1           OK
libedit0                 20130712-1         OK
libffi6                  3.2.1-1            OK
libgcc1                  4.9.2-2            OK
libgdbm4                 1.11-1             OK
libgmp10                 6.0.0a-2           OK
libgssapi3               1.5.3-1            OK
libgssapi_krb5_2         1.12.2-1           OK
libheimbase1             1.5.3-1            OK
libheimntlm0             1.5.3-1            OK
libhx509_5               1.5.3-1            OK
libICE6                  1.0.9-1            OK
libiconv                 1.14-2             OK
libiconv2                1.14-2             OK
libintl8                 0.19.3-1           OK
libk5crypto3             1.12.2-1           OK
libkafs0                 1.5.3-1            OK
libkrb5_26               1.5.3-1            OK
libkrb5_3                1.12.2-1           OK
libkrb5support0          1.12.2-1           OK
liblzma5                 5.0.8-1            OK
libmpfr4                 3.1.2-2            OK
libncursesw10            5.9-20141227-1     OK
libopenssl100            1.0.1k-1           OK
libp11-kit0              0.20.7-1           OK
libpcre1                 8.36-1             OK
libpipeline1             1.3.0-3            OK
libpopt0                 1.16-1             OK
libreadline7             6.2-1              OK
libroken18               1.5.3-1            OK
libSM6                   1.2.2-1            OK
libsmartcols1            2.25.2-1           OK
libsqlite3_0             3.8.8.2-1          OK
libssh2_1                1.4.3-1            OK
libssp0                  4.9.2-2            OK
libstdc++6               4.9.2-2            OK
libtasn1_6               4.2-1              OK
libuuid1                 2.25.2-1           OK
libwind0                 1.5.3-1            OK
libwrap0                 7.6-22             OK
libX11_6                 1.6.2-2            OK
libXau6                  1.0.8-1            OK
libxcb1                  1.10-1             OK
libXdmcp6                1.1.1-1            OK
libXext6                 1.3.3-1            OK
libXmu6                  1.1.2-1            OK
libXrender1              0.9.8-1            OK
libXt6                   1.1.4-2            OK
login                    1.11-1             OK
lynx                     2.8.7-2            OK
man                      2.6.7-2            OK
man-db                   2.6.7-2            OK
mintty                   1.2-beta1-1        OK
openssh                  6.7p1-2            OK
openssl                  1.0.1k-1           OK
p11-kit                  0.20.7-1           OK
p11-kit-trust            0.20.7-1           OK
perl                     5.14.4-1           OK
perl_autorebase          001001-1           OK
popt                     1.16-1             OK
rebase                   4.4.1-1            OK
rsh                      0.17-2             OK
run                      1.3.3-1            OK
sed                      4.2.2-3            OK
tar                      1.27.1-1           OK
terminfo                 5.9-20141227-1     OK
texinfo                  5.2-3              OK
tftp                     5.2-1              OK
tzcode                   2014j-1            OK
util-linux               2.25.2-1           OK
vim-minimal              7.4.582-1          OK
which                    2.20-2             OK
windows-default-manifest 6.4-1              OK
xeyes                    1.1.1-1            OK
xz                       5.0.8-1            OK
zlib0                    1.2.8-3            OK
Use -h to see help about each section

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



More information about the Cygwin mailing list