delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/13/12:09:02

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT kosowsky DOT org>
MIME-version: 1.0
Message-id: <21163.16134.836355.311135@consult.pretender>
Date: Fri, 13 Dec 2013 12:08:22 -0500
To: cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019