Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2015 11:23:19 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: How could I increase "runaway" timer for package build cluster?
Message-ID:  <54FD82A7.6040905@infracaninophile.co.uk>
In-Reply-To: <54FD7FEC.5080500@FreeBSD.org>
References:  <54FB7119.4030208@FreeBSD.org>	<CAOc73CCkCRuS3_voH1qmo2UBR5gdz3YcEsFGQLBaxpSo56tiOA@mail.gmail.com> <CAOc73CBd1DKqW7J4OOxX_GWAZVrjsJ0RvGDPc2x=TwPEfqXnBA@mail.gmail.com> <54FD7FEC.5080500@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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