From owner-freebsd-ports@FreeBSD.ORG Mon Mar 9 11:24: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 C25B0663 for ; Mon, 9 Mar 2015 11:24:48 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.2.117.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CB499B1 for ; Mon, 9 Mar 2015 11:24:47 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t29BNKhb026020 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 9 Mar 2015 11:23:20 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t29BNKhb026020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1425900200; bh=7vh6dWSqGo7n5XxpRTfpd3AJNqE/BHIv47z+75ANnig=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2009=20Mar=202015=2011:23:19=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-ports@ freebsd.org|Subject:=20Re:=20How=20could=20I=20increase=20"runaway "=20timer=20for=20package=20build=20cluster?|References:=20<54FB71 19.4030208@FreeBSD.org>=09=20=20<54FD7FEC.5080500@FreeBSD.or g>|In-Reply-To:=20<54FD7FEC.5080500@FreeBSD.org>; b=LBJeiuvtx4fQIReVFdIYbSfJczEIlYEYBHuFqVWacgzf3JsPcnp5Y2c5S/A1t928+ //kO/yPTdHS5OC6KphUIXUJByuaWwu9pFAaMMrbUaK4XODB+E0SFWj/HA/lINzLFVr Tyx4Gi+7SRT0grdxK9235rigehLhdKvCUPZD4uHg= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <54FD82A7.6040905@infracaninophile.co.uk> Date: Mon, 09 Mar 2015 11:23:19 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: How could I increase "runaway" timer for package build cluster? References: <54FB7119.4030208@FreeBSD.org> <54FD7FEC.5080500@FreeBSD.org> In-Reply-To: <54FD7FEC.5080500@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WJC6wOWEgbhn5Tq2pat24R0qMHxSJRaC5" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk 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: Mon, 09 Mar 2015 11:24:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WJC6wOWEgbhn5Tq2pat24R0qMHxSJRaC5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/09/15 11:11, Lev Serebryakov wrote: > On 08.03.2015 12:40, Ben Woods wrote: >> Actually, taking a look at my /usr/local/etc/poudriere.conf=20 >> configuration file, I see these settings have indeed been exposed >> for configuration there without having to touch the poudriere code >> itself. The appropriate settings are: >=20 >> # This defines the max time (in seconds) that a command may run for >> a build # before it is killed for taking too long. Default: 86400=20 >> #MAX_EXECUTION_TIME=3D86400 >=20 >> # This defines the time (in seconds) before a command is considered >> to # be in a runaway state for having no output on stdout. Default: >> 7200 #NOHANG_TIME=3D7200 >=20 > The problem is, it is not my cluster, but FreeBSD official cluster. I > could not change configs of it, I could only edit Makefile of my port. I added a small change to make 'pkg create' emit a progress bar which will be in pkg-1.15 -- you have to tweak some settings in pkg.conf to enable it though. With this change I've managed to avoid poudriere timeouts while packaging stuff with large numbers of files -- texlive-texmf being a classic example. You can try it now by installing net-mgmt/pkg-devel, but beware that will eventually cause all your client machines to end up running pkg-devel too. Cheers, Matthew --WJC6wOWEgbhn5Tq2pat24R0qMHxSJRaC5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJU/YKoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnuRUQAJP/kXBE5OqTPKmL07DHvXiY tljtgqKR+aYZybX8UUjJWhuybqCxrG0LHbK/xPz0+3IOhYozJmAErQ09/lu/Crb+ UgDIzAF5YMvUe2jPjUycdxku6GOK1YorFIssvjQZPfXlr8AE/GF097tcek411Eye 8qumHTvcvb0SvRgQplCnLZ6ywkswdXYfZZJKN/4A6D8UIfIkCd+IqELIv00NB1OT gXIqY6qjg4jsfPiKLTAFuyI+PHJDbf5T6oFgav4+atq39HhnpUYedQ7tMgLCe0Q8 5hzOz60mi/Fm5ubsWgRQp7lA2AjddaBge/IbHUzSdcPGhVEyCZL7Hfndbon6oF5T 2+5aXuaG1M2OK4XCLH+Q+PK+a0Q1xjkAsp4kTaa8wiZ9wBhpAJdZjqchLCtEE1YL BQ3m6bqLXiCIfqqPLimL/qH1HVSw92L8gGZvXI7f78wGiYsvdaNjPypUsw8ZpLQY 2yQveTQm2WNvDurpNpDQpSjtNv+4FiVYf8PrRYOaJjUIr4qf3401SrjE6f15Yw+6 EG1DqbpI+CLXxDw+TgVjBQA/iKW85RzG1JVqeOEbG6SwA3okavQYdkMiFHjA+jlB IAl7L+RtAlZ19vRK42cKYv5zEIuOsFxyw/gna3Zjwq0l5aAYCq2SHDP1gNyCMBrs XaHDXE5lSxcuNDbi1eu7 =ZYF3 -----END PGP SIGNATURE----- --WJC6wOWEgbhn5Tq2pat24R0qMHxSJRaC5--