X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:mime-version:content-type
	:content-transfer-encoding:message-id:date:to:subject; q=dns; s=
	default; b=mCna6n049CfzwdKNPRJUq0ixmWAk5hUXSUPFjQas0WVioBH1kBp+U
	du61aNOAb2qgsEFl4ka3ogwHdRs6ggamL0GgIjxytGHzXRtdrYecJ6P1vTOER+Fq
	YtIFBX4wEuWF7ZmdG+vdRjegFTDuSxl5QLeTLX9nOSlM4S9ySV7D4s=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:mime-version:content-type
	:content-transfer-encoding:message-id:date:to:subject; s=
	default; bh=4f2dNXgoqxonyMzmo/pQ8gseCfc=; b=QTLTs7Nl4VkNSglNzSZn
	UTa6GGg+omsmfr74vAFwYUwBPkmIHMW3a+yaw41ys413jK7c8mnvdVLCprWSr3YK
	aTq46NU7E1h73LIZFYTUh/kDDkGCY9JqTFuwES/NMdRMwGFPGm3wtv7vfVYzZmnV
	x8R8feU2SJwQ+TzSm7xhDb8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_MANY_HDRS_LCASE autolearn=ham version=3.3.2
X-HELO: vms173023pub.verizon.net
From: <cygwin@kosowsky.org>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Message-id: <21163.16134.836355.311135@consult.pretender>
Date: Fri, 13 Dec 2013 12:08:22 -0500
To: cygwin@cygwin.com
Subject: grep sometimes hang on 1.7.25
X-IsSubscribed: yes

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

