Your message dated Sat, 10 Dec 2005 23:06:16 -0500
with message-id <[EMAIL PROTECTED]>
and subject line SPAM: Bug#280187: grep
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Nov 2004 22:12:30 +0000
>From [EMAIL PROTECTED] Sun Nov 07 14:12:30 2004
Return-path: <[EMAIL PROTECTED]>
Received: from loadbalancer1.orcon.net.nz (dbmail-mx1.orcon.net.nz)
[219.88.242.3]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CQvGv-0005XZ-00; Sun, 07 Nov 2004 14:12:29 -0800
Received: from brak ([210.54.152.220])
by dbmail-mx1.orcon.net.nz (8.13.1/8.13.1/Debian-14) with ESMTP id
iA7MCSR4030012
(version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT);
Mon, 8 Nov 2004 11:12:31 +1300
Received: from kinetik by brak with local (Exim 4.34)
id 1CQvHS-00045G-GF; Mon, 08 Nov 2004 11:13:02 +1300
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Matthew Gregan <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: grep: unusually high memory use with '-o' option
X-Mailer: reportbug 2.63
Date: Mon, 08 Nov 2004 11:13:02 +1300
Message-Id: <[EMAIL PROTECTED]>
Received-SPF: none (dbmail-mx1.orcon.net.nz: [EMAIL PROTECTED] does not
designate permitted sender hosts) receiver=dbmail-mx1.orcon.net.nz;
client-ip=210.54.152.220; helo=brak; [EMAIL PROTECTED]; x-software=spfmilter
0.95 http://www.acme.com/software/spfmilter/ with libspf2;
X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c
on dbmail-mx1
X-Virus-Status: Clean
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: grep
Version: 2.5.1.ds1-3.2
Severity: normal
The '-o'/'--only-matching' option of grep(1) causes unusually high
memory use. For example, I have a test file of 52kB, which contains
approximately 30k matches:
$ ls -la data
-rw-r--r-- 1 kinetik kinetik 53143 2004-11-08 11:00 /home/kinetik/data
$ /usr/bin/time grep -o A < data | wc -l
62.09user 0.63system 1:02.80elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+133427minor)pagefaults 0swaps
30043
top(1) indicated that the grep process reached a peak RSS of 514MB.
I'm aware that this is expected to be a somewhat inefficient use of
grep, but after I discovered the extent of this high memory use
behaviour, I thought it was probably worth reporting as a bug.
Cheers,
-mjg
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc4
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8
Versions of packages grep depends on:
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
-- no debconf information
---------------------------------------
Received: (at 280187-done) by bugs.debian.org; 11 Dec 2005 04:06:20 +0000
>From [EMAIL PROTECTED] Sat Dec 10 20:06:20 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ms-smtp-03.nyroc.rr.com ([24.24.2.57])
by spohr.debian.org with esmtp (Exim 4.50)
id 1ElITc-0004yj-NV
for [EMAIL PROTECTED]; Sat, 10 Dec 2005 20:06:20 -0800
Received: from andromeda (cpe-69-202-136-66.twcny.res.rr.com [69.202.136.66])
by ms-smtp-03.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id
jBB46Hp4012246
for <[EMAIL PROTECTED]>; Sat, 10 Dec 2005 23:06:18 -0500 (EST)
Received: from pryzbyj by andromeda with local (Exim 4.60)
(envelope-from <[EMAIL PROTECTED]>)
id 1ElITZ-0002qg-2h
for [EMAIL PROTECTED]; Sat, 10 Dec 2005 23:06:17 -0500
Date: Sat, 10 Dec 2005 23:06:16 -0500
To: [EMAIL PROTECTED]
Subject: Re: SPAM: Bug#280187: grep
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
From: Justin Pryzby <[EMAIL PROTECTED]>
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Version: 2.5.1-ds2-3
On Sun, Dec 11, 2005 at 05:09:08PM +1300, Matthew Gregan wrote:
> At 2005-12-10T20:39:59-0500, Justin Pryzby wrote:
> > Could you confirm that this bug is fixed at least in grep-2.5.1.ds2-4?
> >
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280187
> >
> > Thanks.
>
> Confirmed with 2.5.1-ds2-3 and 2.5.1-ds2-4.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]