From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27385 invoked by alias); 18 Apr 2002 15:29:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27357 invoked from network); 18 Apr 2002 15:29:15 -0000 Received: from unknown (HELO cmailg7.svr.pol.co.uk) (195.92.195.177) by sources.redhat.com with SMTP; 18 Apr 2002 15:29:15 -0000 Received: from modem-1666.chimpanzee.dialup.pol.co.uk ([217.134.118.130] helo=avacado.atomice.net) by cmailg7.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 16yDqT-00036k-00 for cygwin@cygwin.com; Thu, 18 Apr 2002 16:29:14 +0100 Received: from advent02 [127.0.0.1] (chris@atomice.net); Thu, 18 Apr 2002 16:31:57 +0100 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 08:42:00 -0000 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 X-SW-Source: 2002-04/txt/msg00951.txt.bz2 > 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/