Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rluKT-004qAN-IB for buildfarm-members@arkaria.postgresql.org; Sun, 17 Mar 2024 17:29:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rluKR-00Bytb-W9 for buildfarm-members@arkaria.postgresql.org; Sun, 17 Mar 2024 17:29:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rluKR-00BytA-E3 for buildfarm-members@lists.postgresql.org; Sun, 17 Mar 2024 17:29:48 +0000 Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rluKN-0050cL-Ud for buildfarm-members@lists.postgresql.org; Sun, 17 Mar 2024 17:29:46 +0000 Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-609f3ca61e0so37978797b3.3 for ; Sun, 17 Mar 2024 10:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1710696584; x=1711301384; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=fh2aMYY6ZrgRjmgXq9W+483lPUvd3tqh4N5mEX0CBFA=; b=LjWRz/08bdBxHAaeqOkYP9V6RYBPhmX94lp7/qveOna6IspQHlltftVlzBfTTjA9nt /PnZ4fUA3TeGpkzH8KHKyqHjJN1tN8h/BnikCAW/kDWCNl0uUGtbL6cb04hxDCWRSFlX nXlUSZhEF9nvaGpb8iI34FdgHi9oYLQOLjack= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710696584; x=1711301384; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fh2aMYY6ZrgRjmgXq9W+483lPUvd3tqh4N5mEX0CBFA=; b=qZOLbBdgobgAsiDvBWDHDiBtEIy7i++3jo3t1JXWRnX/BkcxSDs2yu4v5vG8g1FRvr YckqMfb4yIgIJWhc6hOKpj/OSdBcCcvg4sS1Z6ocDBSOb7VBzXmT3hgDGgMtI2VIyRsQ vuAbwCdw3+V0AjOvDZeDFGkf+4fT22MfvNLLqzqFvXX5bqwjtWRI0B+bac2vRa2D15Zv GjhHiIoPxIJGXAgq4puEeOzcIVQbAZgwU0reVu44CPz0SW4/bz0GDhNsECduoK86huOS nxhddAkVEG82Fg9xdDvkCg3JJQJqZgMc0WP08Jjm/NO096iyAV5483YsyCkGONbsPoqf Ca2g== X-Gm-Message-State: AOJu0YwlHitxXFoqvZhMCN+81RxJGFJ/SORH9mk7RK78eF7a4PLo8+p3 FAtpukYXLgK7JmwX5kCO+7om8hIgyS+H4658ZUL9AA5qH20cQ/EiY/+ZqKP3eigMXRR3XOLsmUU = X-Google-Smtp-Source: AGHT+IFqHFt6VttLU6c7kHjQAsNiZSUhZwZiOdRPtXU5UBx+KeZb7PqffpksD0hWyBEXJ19xmHWw6g== X-Received: by 2002:a81:ae4f:0:b0:610:ca7a:9edd with SMTP id g15-20020a81ae4f000000b00610ca7a9eddmr848565ywk.11.1710696584372; Sun, 17 Mar 2024 10:29:44 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id s22-20020a814516000000b00609f87d6d1esm1622316ywa.48.2024.03.17.10.29.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Mar 2024 10:29:43 -0700 (PDT) Date: Sun, 17 Mar 2024 10:29:41 -0700 From: Noah Misch To: Tom Lane Cc: buildfarm-members@lists.postgresql.org Subject: Re: Possible infinite loop on buildfarm animals Message-ID: <20240317172941.4e@rfd.leadboat.com> References: <2530379.1710528134@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2530379.1710528134@sss.pgh.pa.us> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Mar 15, 2024 at 02:42:14PM -0400, Tom Lane wrote: > Another idea to consider is to set the wait_timeout parameter > in your animals' configuration files, to put an upper bound > on the total elapsed time for a run. By default that's > infinite, since it's really hard to select a one-size-fits-all > value ... but it's a good backstop if you don't mind picking > machine-specific limits. Other than CLOBBER_CACHE animals, the server rejects results older than 24h: https://github.com/PGBuildFarm/server-code/blob/8572ac7/cgi-bin/pgstatus.pl#L273 The same 24h should probably be the default wait_timeout. One might use a longer timeout if wanting to attach a debugger to a process of a stuck run. If one just wants an intervention-free buildfarm animal, 24h is good.