public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: cygwin randomly pauses under Win2k
@ 2002-04-18 11:17 Heribert Dahms
  2002-04-18 12:39 ` Chris January
  0 siblings, 1 reply; 16+ messages in thread
From: Heribert Dahms @ 2002-04-18 11:17 UTC (permalink / raw)
  To: 'Chris January', cygwin

Anti Virus?

Bye, Heribert (heribert_dahms@icon-scm.com)

> -----Original Message-----
> From:	Chris January [SMTP:chris@atomice.net]
> Sent:	Thursday, April 18, 2002 18:30
> To:	cygwin@cygwin.com
> Subject:	Re: cygwin randomly pauses under Win2k
> 
> > >> 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:
> 
	[Heribert]  [snip]
>  
> 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.
> 
	[Heribert]  [snip] 

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <3CB43BBD0072ED1B@>]
[parent not found: <20020416160351.C85D922A45@flognat.myip.org>]
[parent not found: <200204161603.MAA27469@acestes-fe0.ultra.net>]
* cygwin randomly pauses under Win2k
@ 2002-04-16  9:18 Mark Paulus
  0 siblings, 0 replies; 16+ messages in thread
From: Mark Paulus @ 2002-04-16  9:18 UTC (permalink / raw)
  To: cygwin

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:

$ cat doit
#!/usr/bin/bash
while [ 1 ]
do
    echo `date` Starting >> doit.log
    /usr/bin/time -o doit.log -a sleep 60
    echo `date` Ending >> doit.log
done

I have also written a quick sed script to filter the output from time:
$ cat gettimes
#!/usr/bin/sed -f
s/^.* \([^ ]*\)elapsed .*$/\1 elapsed/
/^0inputs.*$/d

And here is some of the offending output
Tue Apr 16 09:40:53 2002 Starting
1:00.13 elapsed
Tue Apr 16 09:41:54 2002 Ending
Tue Apr 16 09:41:54 2002 Starting
1:00.11 elapsed
Tue Apr 16 09:42:55 2002 Ending
Tue Apr 16 09:42:55 2002 Starting
1:00.21 elapsed
Tue Apr 16 09:45:45 2002 Ending
Tue Apr 16 09:45:46 2002 Starting
1:00.16 elapsed
Tue Apr 16 09:46:46 2002 Ending
Tue Apr 16 09:46:47 2002 Starting
1:00.16 elapsed
Tue Apr 16 09:47:47 2002 Ending

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

Thanks.



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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-04-18 19:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E16xVQZ-0005tK-00@m1.dnsix.com>
2002-04-18  8:42 ` cygwin randomly pauses under Win2k Chris January
2002-04-18  8:57   ` Christopher Faylor
2002-04-18  9:17     ` Corinna Vinschen
2002-04-18  9:59       ` Christopher Faylor
2002-04-18  9:40     ` Chris January
2002-04-18  9:26   ` Mark Paulus
2002-04-18 11:17 Heribert Dahms
2002-04-18 12:39 ` Chris January
     [not found] <3CB43BBD0072ED1B@>
2002-04-17 12:07 ` Marc Chantreux
2002-04-17 12:43   ` Randall R Schulz
     [not found] <20020416160351.C85D922A45@flognat.myip.org>
2002-04-16 10:45 ` Andrew Markebo
     [not found] <200204161603.MAA27469@acestes-fe0.ultra.net>
2002-04-16  9:45 ` Larry Hall (RFK Partners, Inc)
2002-04-17 10:01   ` Mark Paulus
     [not found]   ` <200204171655.MAA15550@acestes-fe0.ultra.net>
2002-04-17 10:33     ` Larry Hall (RFK Partners, Inc)
2002-04-17 11:14       ` Mark Paulus
  -- strict thread matches above, loose matches on Subject: below --
2002-04-16  9:18 Mark Paulus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).