From owner-freebsd-ports@FreeBSD.ORG Sun Mar 8 09:40:29 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 076AFC52; Sun, 8 Mar 2015 09:40:29 +0000 (UTC) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C9B3638; Sun, 8 Mar 2015 09:40:28 +0000 (UTC) Received: by wesx3 with SMTP id x3so14728216wes.1; Sun, 08 Mar 2015 01:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9+kwyvGh/46bi6Wsvh3Lssspo9mZNJaLdh3hFuXePAQ=; b=JQMj4tNMVku/i7ydkpDUZ+A9LFfDfn1fdfffzBQH85R+of+u+uzj+rPDvoqZQllKQo ljBdVG5BNPoMMP9gaB3sJeyww8bcNZ2XbHnYDhvhO7TTtX0+RtWoqzBOnkYqRhntvxE1 KMwmWTS38ExQgKP2p/KI0xSwtswJBp4mLHUNkat/2EjghlspLLmT01xqoFLBilMve88O rendE211MFmVjGZuG0L8lyRqMBRAgoX8fMXgjacp2EKac9GKdlnncSMQUZk6w8QANIT6 p32tsgVIX3DD/+O4Q8XwpJSH9YFOjkSZV+iyeKe50YN2o15Ez4jBhayNeciEXvNZ2ya7 IDJQ== MIME-Version: 1.0 X-Received: by 10.195.13.104 with SMTP id ex8mr46223929wjd.12.1425807627025; Sun, 08 Mar 2015 01:40:27 -0800 (PST) Received: by 10.194.124.35 with HTTP; Sun, 8 Mar 2015 01:40:26 -0800 (PST) In-Reply-To: References: <54FB7119.4030208@FreeBSD.org> Date: Sun, 8 Mar 2015 17:40:26 +0800 Message-ID: Subject: Re: How could I increase "runaway" timer for package build cluster? From: Ben Woods To: "lev@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sun, 08 Mar 2015 09:40:29 -0000 Actually, taking a look at my /usr/local/etc/poudriere.conf 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: # 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 #MAX_EXECUTION_TIME=86400 # 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=7200 Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com On 8 March 2015 at 07:00, Ben Woods wrote: > > You can increase the max_execution_time in /usr/local/share/common.sh (default 3600 seconds). There are individual timeout values for extract, install, package and deinstall. These are the maximum values for each stage (with or without output being produced). > > But more likely, you need to look at the NOHANG_TIME value in the same common.sh file (default 7200 seconds). This is the one related to having no output produced (aka "runaway build"). > > Someone has previously spoken about exposing these kinds of values for tweaking in the poudriere configuration files, but I'm not sure it ever progressed: > https://lists.freebsd.org/pipermail/freebsd-ports/2015-January/097757.html > > Regards, > Ben > > > On Sunday, March 8, 2015, Lev Serebryakov wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> >> One of my ports (devel/gcc-arm-embedded) doesn't produce much output >> on build (output is redirected to log files), but takes severa hours >> to be built. >> >> Looks like pkg building cluster doesn't like such behavior. >> >> Could I notify build cluster (poudrere?) that this package takes a >> lot of time without output? >> >> - -- >> // Lev Serebryakov AKA Black Lion