Message-Id: <200204181617.g3IGHt221334@delorie.com> 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 From: "Mark Paulus" To: "Chris January" , "cygwin AT cygwin DOT com" Date: Thu, 18 Apr 2002 10:19:22 -0600 Reply-To: "Mark Paulus" In-Reply-To: <00df01c1e6ee$2d1c7850$0100a8c0@advent02> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: cygwin randomly pauses under Win2k Chris J (Not to be confused with Chris F), How about sending along the source code for your small program, so I can give it a wiz-bang. So far, running strace on my system seems to make the problem I have go away, so if you can readily reproduce the behaviour, I would like to try it on my system. Thanks. On Thu, 18 Apr 2002 16:31:56 +0100, Chris January wrote: >> 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/ > -- 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/