Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 16:31:57 +0100 Message-ID: <00df01c1e6ee$2d1c7850$0100a8c0@advent02> From: "Chris January" To: References: Subject: Re: cygwin randomly pauses under Win2k Date: Thu, 18 Apr 2002 16:31:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > I have this wierd behaviour, and it is causing some stats that I > run to whack out..... > > 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: > What's interesting is that between seconds 42 & 45, > time shows an elapsed time of 1:00.21, but the system clock has > actually elapsed 2 minutes & 50 seconds, (unless there is some > major hangups in the invoking of the echo and/or `date` commands). > > I am working on this machine, so I know that there are no 2-3 minute > pauses in user responsiveness.... > > Has anyone else experienced this kind of 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: 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) 1287 19150336 [main] base 2872 fhandler_base::open: filemode set to binary 192 19150528 [main] base 2872 fhandler_base::open: 1 = fhandler_base::open (C:\cygwin\opt\kde2\lib\cygkatecore.dll, 0x 110000) 89 19150617 [main] base 2872 fhandler_disk_file::open: 1 = fhandler_disk_file::open (C:\cygwin\opt\kde2\lib\cygkateco re.dll, 0x110000) 136 19150753 [main] base 2872 fhandler_disk_file::fstat_helper: 1 = GetFileInformationByHandle (C:\cygwin\opt\kde2\lib \cygkatecore.dll, 412) 424 19151177 [main] base 2872 get_nt_attribute: file: C:\cygwin\opt\kde2\lib\cygkatecore.dll 208 19151385 [main] base 2872 read_sd: file = C:\cygwin\opt\kde2\lib\cygkatecore.dll 1385 19152770 [main] base 2872 read_sd: file = C:\cygwin\opt\kde2\lib\cygkatecore.dll: len=128 Regards Chris -- 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/