From owner-freebsd-stable@FreeBSD.ORG Thu Oct 6 18:09:19 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D9121065672 for ; Thu, 6 Oct 2011 18:09:19 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 16EED8FC08 for ; Thu, 6 Oct 2011 18:09:18 +0000 (UTC) Received: by yxk36 with SMTP id 36so3639057yxk.13 for ; Thu, 06 Oct 2011 11:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=MDiUpDdp9ugu70S+N0Yrj+KhqySgwM/5RvMmKVMxRdc=; b=PbfJmUz6aLgUKNMQE6UccuwqhX1gJ27y11IgDTpKhaeZF7n+W8TlkCHWnGtQYiDlSH 1DVkHFLaKzsunkWgduaRKATzQk47f5Kg7qPiXLtesSbyrgkctUs1yGR7LLrOVdI9aiQo bvp6KPvguzPapJB6RfXikwcj9WKHON0x0wAYg= Received: by 10.223.65.76 with SMTP id h12mr5042194fai.7.1317924558049; Thu, 06 Oct 2011 11:09:18 -0700 (PDT) Received: from localhost ([95.69.173.122]) by mx.google.com with ESMTPS id v17sm8102231fai.18.2011.10.06.11.09.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Oct 2011 11:09:15 -0700 (PDT) From: Mikolaj Golub To: Michiel Boland References: <20110918045413.GA63773@DataIX.net> <20110918053901.GA31617@icarus.home.lan> <86d3eydsmf.fsf@kopusha.home.net> <4E8B357F.3050504@xs4all.nl> X-Comment-To: Michiel Boland Sender: Mikolaj Golub Date: Thu, 06 Oct 2011 21:09:12 +0300 In-Reply-To: <4E8B357F.3050504@xs4all.nl> (Michiel Boland's message of "Tue, 04 Oct 2011 18:34:07 +0200") Message-ID: <8662k29elz.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: /usr/bin/script eating 100% cpu with portupgrade and xargs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 18:09:19 -0000 On Tue, 04 Oct 2011 18:34:07 +0200 Michiel Boland wrote: MB> On 10/04/2011 13:15, Mikolaj Golub wrote: >> On Sun, Sep 18, 2011 at 1:58 PM, Mikolaj Golub wrote: MB> [...] >>> >>> I believe the behaviour is after this commit: >>> >>> http://svnweb.freebsd.org/base?view=revision&revision=125848 >>> >>> I think we should skip select on STDIN after reading EOF from it, like in the >>> patch below. >> >> For the record. The issue has been fixed in CURRENT and the fix has >> been merged to STABLE. >> >> Thanks Kostik and Chris for their comments and suggestions. >> MB> Does this mean that bin/72501 can be closed? Yes, thanks for pointing out. Closed. -- Mikolaj Golub