Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2015 20:29:39 -0800
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Matthew Seaman <matthew@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Poudriere Timeout
Message-ID:  <201501210429.t0L4Td04004381@slippy.cwsent.com>
In-Reply-To: Message from Matthew Seaman <matthew@FreeBSD.org> of "Mon, 19 Jan 2015 07:15:17 %2B0000." <54BCAF05.1090305@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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)
> > ===========================================================================
> > =======================<phase: package        >============================
> > ===>  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 <Cy.Schubert@komquats.com> or <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





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