From owner-freebsd-ports@FreeBSD.ORG Wed Jan 21 04:29:48 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE2D7EB6; Wed, 21 Jan 2015 04:29:47 +0000 (UTC) Received: from smtp-out-04.shaw.ca (smtp-out-04.shaw.ca [64.59.134.12]) by mx1.freebsd.org (Postfix) with ESMTP id A3A21FC3; Wed, 21 Jan 2015 04:29:47 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=Ur78AkMj4ME0q/xQKDu+fQsLaK/oG8/QJxPJp7yvMIc= c=1 sm=1 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10 a=kj9zAlcOel0A:10 a=5Z8Q17SNjqGvcRdt22M/3g==:17 a=6I5d2MoRAAAA:8 a=BWvPGDcYAAAA:8 a=YxBL1-UpAAAA:8 a=RhAKPeCTAem0Es1L0soA:9 a=CjuIK1q_8ugA:10 a=Xm6Jdcrq3wZE93ZN:21 a=AO0sCBnT4vRu_haN:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO slippy.cwsent.com) ([184.66.131.197]) by smtp-out-04.shaw.ca with ESMTP; 20 Jan 2015 21:29:40 -0700 Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.9/8.14.9) with ESMTP id t0L4TdFN004384; Tue, 20 Jan 2015 20:29:39 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.14.9/8.14.8/Submit) with ESMTP id t0L4Td04004381; Tue, 20 Jan 2015 20:29:39 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201501210429.t0L4Td04004381@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: Matthew Seaman Subject: Re: Poudriere Timeout In-Reply-To: Message from Matthew Seaman of "Mon, 19 Jan 2015 07:15:17 +0000." <54BCAF05.1090305@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Jan 2015 20:29:39 -0800 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 04:29:48 -0000 In message <54BCAF05.1090305@FreeBSD.org>, Matthew Seaman writes: > On 2015/01/19 01:45, Cy Schubert wrote: > > Hi, > > > > > > Has anyone seen this before? > > > > print/texlive-texmf texlive-texmf-20140525_4 package/timeout runaway_proces > s > > > > > > /usr/bin/touch /wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/ > s > > hare > > /texmf-dist/doc/.keep_me > > /bin/mkdir -p /wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/s > h > > are/ > > texmf-dist/source > > /usr/bin/touch /wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/ > s > > hare > > /texmf-dist/source/.keep_me > > ====> Compressing man pages (compress-man) > > =========================================================================== > > =================================================== > > ===> Building package for texlive-texmf-20140525_4 > > ====>> Killing timed out build after 3600 seconds > > ====>> Cleaning up wrkdir > > ===> Cleaning for texlive-texmf-20140525_4 > > build of print/texlive-texmf ended at Fri Jan 16 23:49:09 PST 2015 > > build time: 02:41:43 > > !!! build failure encountered !!! > > > > Building the port by hand, make package, took just over 19 minutes (1150 > > seconds). Would increasing the timeout from 3600 to something larger (like > > 7200 -- I know this will require hacking the code) address the issue? > > Yeah. I've been seeing that exact problem. Seems that 'pkg create' is > taking an inordinately long time. truss shows that it is still > processing files, but very slowly. Not sure why it hits this port > specifically -- possibly just the number of files included in the > package. Printing something occasionally while processing the files in > the package would probably allow the process to complete instead of > poudriere killing it because it had apparently hung up, but doesn't > address the underlying reason for why it is so slow in the first place. Depending on the server it does. I've been building custom packages on a couple of machines in my basement, an AMD X2 5000+ system with 8 GB and an X2 4600+ system with 5.5 GB. The 5000+ builds amd64 packages while the 4600+ system builds my i386 packages. The problem does not exhibit itself on the 5000+ but does on the 4600+. Increasing the package build timeout in common.sh from 3600 to 7200 resolved the issue -- the package builds takes approximately an hour and 20 minutes. Maybe a poudriere knob to allow the timeouts to be tuned may address this. -- Cheers, Cy Schubert or FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.