grep sometimes hang on 1.7.25

cygwin@kosowsky.org cygwin@kosowsky.org
Fri Dec 13 17:08:00 GMT 2013


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



More information about the Cygwin mailing list