From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kEeBFdECgmIVzwAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 09:52:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4PRhFNECgmKOBAEAG6o9tA (envelope-from ) for ; Mon, 16 May 2022 09:52:49 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D1A5EFE50 for ; Mon, 16 May 2022 09:52:48 +0200 (CEST) Received: from localhost ([::1]:40432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqVX5-0008Ax-FL for larch@yhetil.org; Mon, 16 May 2022 03:52:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqVDy-0007MK-I5 for bug-guix@gnu.org; Mon, 16 May 2022 03:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqVDy-0001bF-9D for bug-guix@gnu.org; Mon, 16 May 2022 03:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqVDy-0007xi-1y for bug-guix@gnu.org; Mon, 16 May 2022 03:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 May 2022 07:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55441 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: ludo@gnu.org, 55441@debbugs.gnu.org, guix-sysadmin@gnu.org X-Debbugs-Original-Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , bug-guix , guix-sysadmin Received: via spool by submit@debbugs.gnu.org id=B.165268637030588 (code B ref -1); Mon, 16 May 2022 07:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2022 07:32:50 +0000 Received: from localhost ([127.0.0.1]:51561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqVDl-0007xH-VP for submit@debbugs.gnu.org; Mon, 16 May 2022 03:32:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:52836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqVDk-0007xA-Kz for submit@debbugs.gnu.org; Mon, 16 May 2022 03:32:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqVDj-00072o-J9; Mon, 16 May 2022 03:32:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqVDi-0001Yg-IN; Mon, 16 May 2022 03:32:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=DdZcq8jK6Gxd+M8buWDz9yjBTsHeo1FPSrwvgTcUPMo=; b=JE0M7e9ePg9PZePzPySm Ga2VvwLyb4WTjSG82DNsMWfBnJsYIHdGIncrJEWviu9egdAniS0ygkSqftWiD2HR+XdcecR2KPSi9 29QON0ZkY2oJyakkoqk7hmbHS5+0+bl9wrwZIcNOiVNPG8Eh0w13ZsMmS8Ry3q/bxE5n0JwAJfSgU YDF+06Pzaq7R0L0jmU8VN5eMpaMsU2oaoEjx2uzPzX2+tPoRcH9N/b21cwMFGHO8efuOO5ryawnbp VrDAG23O1TsC0MnJIyykEcMiqH+wb18UWOllN+6TvY3ho/HXNcUBbTYAfkVf/cqiXz8vxQg0rUiz5 GBTgTHj0aCffjA==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2774.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2774]:36304 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqVDi-0001Ue-0z; Mon, 16 May 2022 03:32:46 -0400 From: Mathieu Othacehe References: <87fslcaznn.fsf@gmail.com> <87mtfj174l.fsf@gnu.org> <878rr2kug6.fsf_-_@gmail.com> Date: Mon, 16 May 2022 09:32:43 +0200 In-Reply-To: <878rr2kug6.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Sun, 15 May 2022 23:49:45 -0400") Message-ID: <87pmke6ig4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652687569; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=DdZcq8jK6Gxd+M8buWDz9yjBTsHeo1FPSrwvgTcUPMo=; b=nReZhgsQgEChlSjG7cIO4uAGmz6TiAWcdTm3iwVo3703Lnb4Jbp8R5dDOxLnJrp9+/VtTT UEWqw9nTr8cS1613SKxbeQ36BdYz/Vcs0HwtOGIh6zfDLacIkdeHFhfe16AaNBblMFqphq 2RLRa6Nj6b1djHgrLTpD1tt82MrT3G7zREAsDhQjAp14K26qdsG35/guYIZbZZ/tru1zbD EAQme6DdRasRoaTayKmd/gQa78UylIGtQDGc4uO52CMkIYZmtF+Cc13VQJYzru04f/VYxZ o+gA7GHm0LHGACQQlBo2zl/Knnk0d3gvTy5+SkkTuXAGayUF0qRVGBhdfZST2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652687569; a=rsa-sha256; cv=none; b=KOOB+23b0h+puKf+tTlAHjzeIdKjYpaLhzWUUNhx1qtB3lN3Cz+GkzXauHB2dR5hPy1JwK f7VZbSOgi1u648XWDagB6EIhznBs5vXGNfTFj7+IeLkpxNfoWlpynly8vbWkd1kWtCOc9M 1rHoGxJ3XAmXnUeZIEnmco6yD6E9chEE3Sttk2XWnS90S2c2SjJcXEirl6e9SRV1/PnRrf CIOpnSyMhzDDJfXrn3l4DSqJb/zV7s1Ror7LsarqXXHD2P879vDprhYdwakSopKcHtSkUa EVwby0nTHE2utKrvUPA1rr5RuBVsstH3uYZ4XbN+RQONj0Pn+jkGo0mt6lSwDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JE0M7e9e; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JE0M7e9e; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D1A5EFE50 X-Spam-Score: -2.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: S/++Al+VeuK4 Hello Maxim, Thanks for the report, the root cause here is the evaluation hanging. The Postgres slots starvation is just a symptom caused by having many concurrent (stuck) evaluation processes using slots. I noticed this error: https://ci.guix.gnu.org/eval/320682/log/raw. The following lines can be caused by having a multi-threaded program: (cuirass scripts evaluate) because of its par-for-each procedure, call "primitive-fork" in open-bidirectional-pipe of (guix inferior). --8<---------------cut here---------------start------------->8--- warning: call to primitive-fork while multiple threads are running; further behavior unspecified. See "Processes" in the manual, for more information. --8<---------------cut here---------------end--------------->8--- Not sure that it could cause the observed hang, Ludo what do you think? Thanks, Mathieu