This is the mail archive of the
cygwin
mailing list for the Cygwin project.
grep sometimes hang on 1.7.25
- From: <cygwin at kosowsky dot org>
- To: cygwin at cygwin dot com
- Date: Fri, 13 Dec 2013 12:08:22 -0500
- Subject: grep sometimes hang on 1.7.25
- Authentication-results: sourceware.org; auth=none
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