delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/18/12:33:19

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
X-WM-Posted-At: avacado.atomice.net; Thu, 18 Apr 02 17:29:32 +0100
Message-ID: <013201c1e6f6$381c3300$0100a8c0@advent02>
From: "Chris January" <chris AT atomice DOT net>
To: <cygwin AT cygwin DOT com>
References: <E16xVQZ-0005tK-00 AT m1 DOT dnsix DOT com> <00df01c1e6ee$2d1c7850$0100a8c0 AT advent02> <20020418155243 DOT GC30868 AT redhat DOT com>
Subject: Re: cygwin randomly pauses under Win2k
Date: Thu, 18 Apr 2002 17:29:30 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

> >> 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
> >problem:
>
>  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
> CYGWIN=ntsec.

I inserted some extra syscall_printf statements and it actually stalls on
this line... (!)
  x = CreateFile (get_win32_name (), access, shared, &sa,
creation_distribution,
          file_attributes, 0);
This is with a local drive, not a network one. I have no idea why CreateFile
is taking so long.

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



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