This is the mail archive of the
mailing list for the Cygwin project.
Re: cygwin randomly pauses under Win2k
On Thu, Apr 18, 2002 at 11:52:43AM -0400, Chris Faylor wrote:
> On Thu, Apr 18, 2002 at 04:31:56PM +0100, Chris January wrote:
> >> Every now and again (every 15-30 minutes or so), my cygwin apps
> >> pause for 1-2 MINUTES.... I have written a simple script to capture
> >> this behaviour:
> >Yes, I've seen this behaviour. It's something to do with file I/O IIRC. 100%
> >reproducible in a small program I have. Here's an strace demonstrating the
> From the code, the only thing here that I can see which could take any time
> is the set_security_attribute() call, which is only invoked if you have
And the only thing in set_security_attribute() which could take a lot
of time is the call to LookupAccountName() which is only called if
the /etc/passwd file doesn't contain the SID for the user *and*
which can only take a lot of time if the machine is asking a DC.
OTOH, set_security_attribute() cant have been called, otherwise
it would have left footprints in the strace output.
> > 97 7911229 [main] base 2872 fhandler_base::open:
> >(C:\cygwin\opt\kde2\lib\cygkatecore.dll, 0x110000)
> >*** big long pause ***
> >11237820 19149049 [main] base 2872 fhandler_base::open: 0x19C = CreateFileA
> >(C:\cygwin\opt\kde2\lib\cygkatecore.dll, 0x8
> >0000000, 0x7, 0x22F764, 0x3, 0x2000080, 0)
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html