From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iBl1Fry9jmI8DQAAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 01:37:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +CxMFry9jmLdbgAAauVa8A (envelope-from ) for ; Thu, 26 May 2022 01:37:32 +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 D95763D343 for ; Thu, 26 May 2022 01:37:31 +0200 (CEST) Received: from localhost ([::1]:33590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nu0ZH-00066e-2v for larch@yhetil.org; Wed, 25 May 2022 19:37:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nu0Yo-00066D-Ix for bug-guix@gnu.org; Wed, 25 May 2022 19:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nu0Yo-0006lv-9O for bug-guix@gnu.org; Wed, 25 May 2022 19:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nu0Yo-0003lb-21 for bug-guix@gnu.org; Wed, 25 May 2022 19:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 25 May 2022 23:37:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 55441@debbugs.gnu.org Received: via spool by 55441-submit@debbugs.gnu.org id=B55441.165352181514463 (code B ref 55441); Wed, 25 May 2022 23:37:02 +0000 Received: (at 55441) by debbugs.gnu.org; 25 May 2022 23:36:55 +0000 Received: from localhost ([127.0.0.1]:56644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nu0Yh-0003lD-4F for submit@debbugs.gnu.org; Wed, 25 May 2022 19:36:55 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nu0Yb-0003kz-V2 for 55441@debbugs.gnu.org; Wed, 25 May 2022 19:36:53 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id DEF2C27BBEA; Thu, 26 May 2022 00:36:48 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 785aa7e3; Wed, 25 May 2022 23:36:47 +0000 (UTC) References: <87fslcaznn.fsf@gmail.com> <87mtfj174l.fsf@gnu.org> <878rr2kug6.fsf_-_@gmail.com> <87pmke6ig4.fsf@gnu.org> <87o7zxalhu.fsf@gnu.org> <87k0alahug.fsf@gnu.org> <87fsl9acuw.fsf@gnu.org> <878rr1jsd1.fsf@gmail.com> <87fsl87gb5.fsf@gnu.org> <874k1n5loz.fsf@gnu.org> <87r14ovyud.fsf@gnu.org> <87k0aaiqzu.fsf@gnu.org> <87bkvlh8u2.fsf@gnu.org> <875ylth3rq.fsf@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Christopher Baines Date: Thu, 26 May 2022 00:13:33 +0100 In-reply-to: <875ylth3rq.fsf@gnu.org> Message-ID: <87h75dtcaa.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1653521851; 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; bh=JtbJ24k8nj3m4l1oIVDpG0fkixEqGY5VBfqTJArtyXc=; b=Nq4eS5KeEfWaxnlxZPG9SHfIw0v9g/9uM5FAbp/loc/6Sje5aLL4sP3CTR8blTRzT/pCPW tMqpn26gbHGg0SRJVmXtx3N4/vinjgNGphKpEWv1JtEsFIR4F4pUGha8uDsxJ1L8wxc+UA I1Xg7uw9zmLVK2uGJHOWHdsVxgnz2IZrhZcik6ApmCIF87nC8GBdBI/zgys0gFOeA4ETo5 +E9PNbBMWHEhYqh08odmORxTmEaFC/gAOAFNb/wmT0TBYpZCftWZl2/5p24pwn2+CQqo73 uSVIqzrYwW3e3hcae3qjfyi+Si01LfAaVlL9axG310qJgeHr3eKtrEWmoFGGug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653521851; a=rsa-sha256; cv=none; b=LN3hQp5U/JY4QgKgwhIUYronhPAW0TgBgfYC9m74YoUQUdZ2zXwcLL6U+yqh4CYnSSfyle uNiRSbe84jjG7XvL6LmRrTY+aWkCF4zRxJtpclolbv0qskjfTcr1U+A0YuZ9JUBkYkCb0y RAWO70lOadFKw+LDwwyh3ojRLTDgiIxni7G1kKbZBnQGbwYqGr1kWKMzl8QfGyizSYGElC UmiCWxdP11B1zRwa7RbqOVNqjPbjthQ1YRRiuJZ8fP8elfNbXyPUlHiunjOEXNqQBQ1YMM p0OjAqT9MWfAKfs4guYY15OaFW8RTfE77/ZjrJipmyOfxljkqowrBtOE9p6cuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -5.64 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: D95763D343 X-Spam-Score: -5.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: agpgHG9NMeg3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > For now, I=E2=80=99m going to go with the solution below, which is to use= an > older revision of Guix (one where =E2=80=98open-inferior=E2=80=99 was usi= ng > =E2=80=98open-pipe*=E2=80=99) as the dependency of the =E2=80=98cuirass= =E2=80=99 package. > > I=E2=80=99m running =E2=80=9Ccuirass evaluate=E2=80=9D manually on berlin= to make sure it > actually works. If everything goes well, I=E2=80=99ll push it and reconf= igure > berlin later today or tomorrow. To put in an email something I put on IRC earlier. Maybe the store connection caching could be optional when calling inferior-eval-with-store, and that could also switch between using open-pipe* and primitive-fork for starting the inferior process. I'm guessing the use of primitive-fork for starting the inferior process is causing problems with Cuirass in some cases, and it's possible that it'll affect the data service in a similar way as well. I don't think the connection caching actually benefits Cuirass though, since it only calls inferior-eval-with-store once per inferior. Additionally, on the data service side, the caching functionality is actually undesirable as it leads to the inferior process running out of memory, so currently the cache is manually cleared in various places [1]. 1: http://git.savannah.gnu.org/cgit/guix/data-service.git/commit/?id=3Dff11= 6d5e6437ffb916aa4bc5d1458a142297a900 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmKOvY1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XciYQ//WfemT9xfTUCL0aKz8Ew73mNfhH0gmNfd tCZZKBOZPoVNgEXPpt3W5JEsr8r+/mhF5ymFn+N++xetwCkRDlCCRepp96oXs7RX wqpTfCIX3VG9dpUbUgb3OGkuzPvjkzx6OQ/A7o8jPKgKv1nu4M4JD78le7ZjMeQE 7S8YbSZRtSsAQaYoQfWAAflytqyRq5NeH/QopqC72sxOqDOtdb/6ZaRC1f8sIx8D AdhEHjQGpMinUAMbu0T14Qvwle6n/AkxXRMSp0D9bs2pXhqw3X5tz8OM+d07K/dl BGqjQ82ZY+DAnEq3y/GsvffV3yVha8YuI3qhsDAY8xEASS5l9iYgsYSmOA1+GLhK NBdhL5q9SXX6MEyEu8C8FSyDOBN4SAXMmsPVfjeOJYwBQJbg8XWAuBpGwexz1cD0 g5Ke6BduC/Wl9c0VK6eJv3rsEXSAFr9C0qRCVmkdqKj6Ij1kLKOIUjsGsiCr0esw mSYsx2Bi4hN3Ssku0dNJvztMG3Izq7FywJp8gqQodUEaK1vNxL71fWP5WTNR6cjD ksEJcQ/4KXtPa4fP9pAzNIs6ay17ESj87T7JW6CHFBro8/FUkBbHXxRgo7QdWktG aqASbbbVkcvDmuNdUuVmJbFBOfMSkUbEdAjVA0dWDLevPeYbt3N2SfA11M0MnEak qR2SUYz1ptU= =xr7r -----END PGP SIGNATURE----- --=-=-=--