This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]