Delay during invocation of any CYGWIN command

G. Ken Holman gkholman@CraneSoftwrights.com
Sun Apr 10 10:48:00 GMT 2011


Hi folks,

For many years I ran CYGWIN commands under XP without delays in invocation.

I'm now running XP under VirtualBox and I'm pretty sure when I first 
moved over I was running CYGWIN commands without delays.  But I don't 
always use CYGWIN, so I can't say for sure.

But I am sure I'm now getting a 5-second delay when invoking any 
CYGWIN command.  Once the command executes, I get a 10-second window 
of no delays when invoking any CYGWIN command.  After the 10 seconds 
expires, the next CYGWIN command I try to execute delays for 5 
seconds before it executes.

Program execution is always correct, the only problem is invocation.

Here is my environment:

P:\cygwin\bin>cygcheck -c
Cygwin Package Information
Package              Version             Status
_update-info-dir     00953-1             OK
alternatives         1.3.30c-10          OK
base-cygwin          3.0-1               OK
base-files           4.0-6               OK
bash                 4.1.10-4            OK
bzip2                1.0.6-1             OK
coreutils            8.10-1              OK
cygutils             1.4.4-1             OK
cygwin               1.7.8-1             OK
cygwin-doc           1.7-1               OK
dash                 0.5.6.1-2           OK
diffutils            2.9-1               OK
editrights           1.01-2              OK
findutils            4.5.9-2             OK
gawk                 3.1.8-1             OK
gettext              0.17-11             OK
grep                 2.6.3-1             OK
groff                1.20.1-2            OK
gzip                 1.4-1               OK
ipc-utils            1.0-1               OK
less                 436-1               OK
libattr1             2.4.43-1            OK
libbz2_1             1.0.6-1             OK
libgcc1              4.3.4-3             OK
libgmp3              4.3.1-3             OK
libiconv2            1.13.1-2            OK
libintl8             0.17-11             OK
liblzma1             4.999.9beta-11      OK
libncurses10         5.7-18              OK
libncurses8          5.5-10              OK
libncursesw10        5.7-18              OK
libpcre0             8.02-1              OK
libpopt0             1.6.4-4             OK
libreadline7         6.1.2-2             OK
libsigsegv2          2.8-1               OK
libstdc++6           4.3.4-3             OK
login                1.10-10             OK
man                  1.6f-1              OK
rebase               3.0.1-1             OK
run                  1.1.13-1            OK
sed                  4.2.1-1             OK
tar                  1.25-1              OK
terminfo             5.7_20091114-14     OK
terminfo0            5.5_20061104-12     OK
texinfo              4.13-3              OK
tzcode               2010j-1             OK
which                2.20-2              OK
xz                   4.999.9beta-11      OK
zlib0                1.2.5-1             OK

P:\cygwin\bin>


So, I was at a loss to come up with proof of what is going on and 
have been suffering with these delays for months.  All Google 
searches were fruitless.  It came to me today how to illustrate the delays.

First, to prove it isn't a path issue, I got rid of the path:

P:\cygwin\bin>path
PATH=(null)

P:\cygwin\bin>

Next, I created a DOS looping batch file that invokes the CYGWIN date command:

P:\cygwin\bin>type lupe.bat
:lupe
.\date.exe
goto :lupe

P:\cygwin\bin>

The execution results are below.  You cannot see the first pause, 
because, well, it just paused!  What you can see are reports every 
second from 17:41:06 until 17:41:15.  Then there is a pause!  The 
*next* date command is invoked but it doesn't get running until 
l7:41:20, and then all date commands run until 17:41:30 at which 
point the *next* date command doesn't produce its result until 
17:41:35.  Subsequent commands start up immediately on invocation.

It doesn't matter which command is used.  Every CYGWIN command will 
delay for 5 seconds until it runs without error.  For the next 10 
seconds every CYGWIN command will start without delay.  Then the 
scenario starts all over again and my next CYGWIN command will delay 
for 5 seconds.

Monitoring XP's Windows Task Manager reveals the System Idle Process 
at 99% during the 5-second pause.

Can anyone think of what is going on?

Thanks for any ideas anyone may have!

. . . . .  Ken


P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:06 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:06 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:06 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:06 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:06 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:07 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:07 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:07 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:07 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:07 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:08 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:08 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:08 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:08 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:08 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:09 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:09 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:09 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:09 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:09 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:10 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:10 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:10 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:10 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:10 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:11 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:11 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:11 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:11 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:11 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:12 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:12 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:12 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:12 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:12 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:13 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:13 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:13 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:13 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:13 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:14 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:14 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:14 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:14 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:14 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:14 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:15 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:15 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:15 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:15 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:15 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:20 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:20 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:21 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:21 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:21 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:21 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:21 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:22 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:22 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:22 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:22 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:22 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:22 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:23 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:23 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:23 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:23 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:23 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:24 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:24 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:24 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:24 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:25 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:25 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:25 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:25 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:25 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:25 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:26 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:26 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:26 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:26 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:26 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:27 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:27 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:27 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:27 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:27 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:28 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:28 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:28 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:28 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:28 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:29 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:29 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:29 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:29 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:29 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:30 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:30 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:30 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:35 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:35 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:35 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:35 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:36 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:36 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:36 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:36 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:36 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:36 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:37 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:37 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:37 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:37 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:37 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:38 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:38 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:38 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:38 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:38 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe
Sat Apr  9 17:41:39 EDT 2011

P:\cygwin\bin>goto :lupe

P:\cygwin\bin>.\date.exe

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/z/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


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