Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 22:45:18 +0300
From:      Mikolaj Golub <trociny@freebsd.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        Kostik Belousov <kib@FreeBSD.org>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, Jilles Tjoelker <jilles@stack.nl>
Subject:   Re: /usr/bin/script eating 100% cpu with portupgrade and xargs
Message-ID:  <86k486m435.fsf@kopusha.home.net>
In-Reply-To: <CF944885-8030-4585-B1D8-313C4CCEEB6B@lassitu.de> (Stefan Bethke's message of "Sat, 15 Oct 2011 11:50:22 %2B0200")
References:  <op.v1y8gdtf8527sy@pinky> <20110918045413.GA63773@DataIX.net> <20110918053901.GA31617@icarus.home.lan> <op.v1zrszht8527sy@pinky> <86d3eydsmf.fsf@kopusha.home.net> <CAOnPXZ9z2MoZ7uxyUQzBx3Lz1mhY-2JKxO0mepzMp81J4WEVtw@mail.gmail.com> <20111008002707.GA76128@swelter.hanley.stade.co.uk> <20111012222535.GB79291@swelter.hanley.stade.co.uk> <20111014120336.GB31718@stack.nl> <08C7028B-10E1-4855-B007-D2257216F077@lassitu.de> <86r52ek8pn.fsf@kopusha.home.net> <CF944885-8030-4585-B1D8-313C4CCEEB6B@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 15 Oct 2011 11:50:22 +0200 Stefan Bethke wrote:

 SB> Am 15.10.2011 um 09:36 schrieb Mikolaj Golub:

 >> 
 >> On Fri, 14 Oct 2011 22:50:32 +0200 Stefan Bethke wrote:
 >> 
 >> SB> I finally figured out why my ports aren't updating anymore: when running portupgrade -a --batch from cron, stdin is /dev/null, and that produces the gobs of ^D in the output, as well as the script file that portupgrade creates.  What's worse is that the upgrade never completes.
 >> 
 >> SB> You can easily see this for yourself:
 >> SB> # portupgrade -a --batch </dev/null
 >> 
 >> SB> This is on 8-stable from October 5th.
 >> 
 >> Could you please try the patch I attached to another my mail in this thread to
 >> see if it helps?


 SB> Seems to do the trick, thanks!

Thanks for testing! Committed. I am going to MFC it soon.

-- 
Mikolaj Golub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k486m435.fsf>