public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* grep sometimes hang on 1.7.25
@ 2013-12-15  1:00 Marcin J.
  2013-12-15  4:46 ` cygwin
  2013-12-16 20:39 ` Christopher Faylor
  0 siblings, 2 replies; 7+ messages in thread
From: Marcin J. @ 2013-12-15  1:00 UTC (permalink / raw)
  To: cygwin; +Cc: cygwin


This isnt grep problem, `ps | cat` will hang too.

I have up to date cygwin 1.7.27 x86_64

 




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: grep sometimes hang on 1.7.25
  2013-12-15  1:00 grep sometimes hang on 1.7.25 Marcin J.
@ 2013-12-15  4:46 ` cygwin
  2013-12-16 20:39 ` Christopher Faylor
  1 sibling, 0 replies; 7+ messages in thread
From: cygwin @ 2013-12-15  4:46 UTC (permalink / raw)
  To: Marcin J.; +Cc: cygwin, cygwin

Marcin J. wrote at about 02:00:00 +0100 on Sunday, December 15, 2013:
 > 
 > This isnt grep problem, `ps | cat` will hang too.
 > 
 > I have up to date cygwin 1.7.27 x86_64
 > 

Ah.... any idea what might be causing this

(actually, I realize that I have 1.7.27 too -- I just hadn't realized
that it updated...)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: grep sometimes hang on 1.7.25
  2013-12-15  1:00 grep sometimes hang on 1.7.25 Marcin J.
  2013-12-15  4:46 ` cygwin
@ 2013-12-16 20:39 ` Christopher Faylor
  2013-12-18  3:59   ` Christopher Faylor
  1 sibling, 1 reply; 7+ messages in thread
From: Christopher Faylor @ 2013-12-16 20:39 UTC (permalink / raw)
  To: cygwin

On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote:
> `ps | cat` will hang too.

I can duplicate this problem.  I'm looking into it.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: grep sometimes hang on 1.7.25
  2013-12-16 20:39 ` Christopher Faylor
@ 2013-12-18  3:59   ` Christopher Faylor
  2013-12-18  4:02     ` Christopher Faylor
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Faylor @ 2013-12-18  3:59 UTC (permalink / raw)
  To: cygwin

On Mon, Dec 16, 2013 at 03:39:26PM -0500, Christopher Faylor wrote:
>On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote:
>> `ps | cat` will hang too.
>
>I can duplicate this problem.  I'm looking into it.

This should be fixed in the upcoming cygwin snapshot.

http://cygwin.com/snapshots/

What a pain that was to track down...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: grep sometimes hang on 1.7.25
  2013-12-18  3:59   ` Christopher Faylor
@ 2013-12-18  4:02     ` Christopher Faylor
  2013-12-18  4:49       ` Christopher Faylor
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Faylor @ 2013-12-18  4:02 UTC (permalink / raw)
  To: cygwin

On Tue, Dec 17, 2013 at 10:59:13PM -0500, Christopher Faylor wrote:
>On Mon, Dec 16, 2013 at 03:39:26PM -0500, Christopher Faylor wrote:
>>On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote:
>>> `ps | cat` will hang too.
>>
>>I can duplicate this problem.  I'm looking into it.
>
>This should be fixed in the upcoming cygwin snapshot.
>
>http://cygwin.com/snapshots/
>
>What a pain that was to track down...

!#@($&  Nevermind.  The hang should be gone but the ps output is still
wrong.

Still checking.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: grep sometimes hang on 1.7.25
  2013-12-18  4:02     ` Christopher Faylor
@ 2013-12-18  4:49       ` Christopher Faylor
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Faylor @ 2013-12-18  4:49 UTC (permalink / raw)
  To: cygwin

On Tue, Dec 17, 2013 at 11:02:21PM -0500, Christopher Faylor wrote:
>On Tue, Dec 17, 2013 at 10:59:13PM -0500, Christopher Faylor wrote:
>>On Mon, Dec 16, 2013 at 03:39:26PM -0500, Christopher Faylor wrote:
>>>On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote:
>>>> `ps | cat` will hang too.
>>>
>>>I can duplicate this problem.  I'm looking into it.
>>
>>This should be fixed in the upcoming cygwin snapshot.
>>
>>http://cygwin.com/snapshots/
>>
>>What a pain that was to track down...
>
>!#@($&  Nevermind.  The hang should be gone but the ps output is still
>wrong.
>
>Still checking.

Ok, now it should really be fixed.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* grep sometimes hang on 1.7.25
@ 2013-12-13 17:08 cygwin
  0 siblings, 0 replies; 7+ messages in thread
From: cygwin @ 2013-12-13 17:08 UTC (permalink / raw)
  To: cygwin

For some combinations of grep on 1.7.25, a simple grep statement can
take 20-30 seconds.

For example, the operation 'ps -el' completes almost instantaneously.
Yet seemingly randomly the operation 'ps -el | grep <string>' often
takes 30 seconds -- actually it seems to either return instantaneously
or take 30 seconds. It doesn't seem to make a difference whether the
<string> actually occurs in the output of 'ps -el'

In particular, I initially found the problem with <string>=rsync
But it seems to happen with reasonable frequency with many other strings.
However, it is not reliably repeatable...

Any idea what may be wrong here?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2013-12-18  4:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-15  1:00 grep sometimes hang on 1.7.25 Marcin J.
2013-12-15  4:46 ` cygwin
2013-12-16 20:39 ` Christopher Faylor
2013-12-18  3:59   ` Christopher Faylor
2013-12-18  4:02     ` Christopher Faylor
2013-12-18  4:49       ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2013-12-13 17:08 cygwin

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).