From unknown Sat Aug 16 00:33:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53156 <53156@debbugs.gnu.org> To: bug#53156 <53156@debbugs.gnu.org> Subject: Status: GUIX_DAEMON_SOCKET with ssh doesn't cache connections Reply-To: bug#53156 <53156@debbugs.gnu.org> Date: Sat, 16 Aug 2025 07:33:05 +0000 retitle 53156 GUIX_DAEMON_SOCKET with ssh doesn't cache connections reassign 53156 guix submitter 53156 Efraim Flashner severity 53156 normal tag 53156 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 10 04:46:09 2022 Received: (at submit) by debbugs.gnu.org; 10 Jan 2022 09:46:09 +0000 Received: from localhost ([127.0.0.1]:51822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6rFh-00014T-Ec for submit@debbugs.gnu.org; Mon, 10 Jan 2022 04:46:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:51196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6rFe-00014J-1I for submit@debbugs.gnu.org; Mon, 10 Jan 2022 04:46:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6rFR-0004ly-As for bug-guix@gnu.org; Mon, 10 Jan 2022 04:45:57 -0500 Received: from flashner.co.il ([178.62.234.194]:44176) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6rFN-00072s-RY for bug-guix@gnu.org; Mon, 10 Jan 2022 04:45:52 -0500 Received: from localhost (unknown [141.226.10.247]) by flashner.co.il (Postfix) with ESMTPSA id B854140561 for ; Mon, 10 Jan 2022 09:45:04 +0000 (UTC) Date: Mon, 10 Jan 2022 11:44:32 +0200 From: Efraim Flashner To: bug-guix@gnu.org Subject: GUIX_DAEMON_SOCKET with ssh doesn't cache connections Message-ID: Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/ZhatHuhJ7h11b+R" Content-Disposition: inline X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --/ZhatHuhJ7h11b+R Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm experimenting some more with GUIX_DAEMON_SOCKET, and while when using guix offload I see a socket a /run/user/1000/destination/socket, there's nothing similar when using GUIX_DAEMON_SOCKET=3Dssh://other-machine. Depending on the machine in question it can take several minutes before a build is started, and I'm having a hard time maintaining the connection until the end of a longer build like gccgo. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --/ZhatHuhJ7h11b+R Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHcAAAACgkQQarn3Mo9 g1H6EQ/8D7A3LA9kgMr6amrZta0Tla3dXK/juToadz6/QsfKycQ/oT2EM5XgqAXf VHvzjBCDBXqaQ+Uo0ycGYi00fNiaoayR+NcSHa8I7ChbvMq20zynpjqHKf0t7iW8 Xlpcm2O3Jp7cTZ9HZZNZTmIHpnR3R2HsCcdeMmqifp4c3rRRUInCEGrlP/JdXsyh 6t4HPxoVXxkzkW1Qt/R2kKLr2V/TtCSL+ZTXiLm6eRmGm7xoWyHxK5VWUznBrRNr KuM1dVWyhpZ+wjaM5/dSkSZtvExM5jE8bMHHdYI0UgXtdaS/cYg2taQszCjKZV+x n0a6R7lnLHV8laNEEESCthqWRG75ZV9tFyUcxJpioiKwoPqyzy1sN0nGFjRpVjEQ tqEW0SAd/QIDesdr9hbTuPddZ828Pp8Fbn6DlxSlE6g7KcHq6h0OQz2gDH+rEjzP 7cI6nYKNzCExt9b/3I4y5Q3rzikpCsvfW/RC7N4igkR8d5LK7/VHSse1gflJZwra LbXi3MUY++xpKjeP0aAxd4btIbFhahwqW+9R5sfd5ZKngINjGzOaW2/XvdCOJToa rB1trwhemSBKtR++n7Ta9VEUaGS9p6rQw5wti7QTQdLJ2uP4lONMs0RhW6P819RF Pz/wh8JNYDT/5bXkQCvCO8iLLD3wlhuJ/t3e+2gza9++mahYdr4= =LHFG -----END PGP SIGNATURE----- --/ZhatHuhJ7h11b+R-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 10 12:13:19 2022 Received: (at 53156) by debbugs.gnu.org; 10 Jan 2022 17:13:19 +0000 Received: from localhost ([127.0.0.1]:53192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6yER-0003mu-IU for submit@debbugs.gnu.org; Mon, 10 Jan 2022 12:13:19 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6yEL-0003mW-T6 for 53156@debbugs.gnu.org; Mon, 10 Jan 2022 12:13:17 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AE7243BB for <53156@debbugs.gnu.org>; Mon, 10 Jan 2022 18:13:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57Sv9KRo-hHK for <53156@debbugs.gnu.org>; Mon, 10 Jan 2022 18:13:05 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 58B42342 for <53156@debbugs.gnu.org>; Mon, 10 Jan 2022 18:13:05 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 53156@debbugs.gnu.org Subject: Re: bug#53156: GUIX_DAEMON_SOCKET with ssh doesn't cache connections References: Date: Mon, 10 Jan 2022 18:13:04 +0100 In-Reply-To: (Efraim Flashner's message of "Mon, 10 Jan 2022 11:44:32 +0200") Message-ID: <87k0f7y0nz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: AE7243BB X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[53156@debbugs.gnu.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53156 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Efraim, Efraim Flashner skribis: > I'm experimenting some more with GUIX_DAEMON_SOCKET, and while when > using guix offload I see a socket a /run/user/1000/destination/socket, What=E2=80=99s this file? > there's nothing similar when using > GUIX_DAEMON_SOCKET=3Dssh://other-machine. Depending on the machine in > question it can take several minutes before a build is started, That=E2=80=99s because the daemon RPC protocol is suboptimal in that it mak= es lots of round trips, and round trips are very costly over SSH due to higher latency. Eventually we=E2=80=99ll need to adjust/change the protocol, but there=E2= =80=99s no short-term solution. (For connections over TCP, =E2=80=98open-inet-socket=E2=80=99 in (guix stor= e) uses TCP_NODELAY to make this acceptable. There=E2=80=99s #:nodelay #t in (guix ssh), but that doesn=E2=80=99t much as much of a difference.) > and I'm having a hard time maintaining the connection until the end of > a longer build like gccgo. Is it that the SSH server eventually drop the connection? HTH, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 17:36:33 2022 Received: (at 53156) by debbugs.gnu.org; 20 May 2022 21:36:34 +0000 Received: from localhost ([127.0.0.1]:40225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsAIT-0003Hh-Nf for submit@debbugs.gnu.org; Fri, 20 May 2022 17:36:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsAIP-0003HO-TF for 53156@debbugs.gnu.org; Fri, 20 May 2022 17:36:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsAIK-0000op-IU; Fri, 20 May 2022 17:36:24 -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=vc1BGcK/t+klKLMgpXDSDYRhoB5bNYI3vFEJ2j7Ixh8=; b=aMDXyKKHYpoBVT7Tx6vK FANXSTshx0B34OlJSkv5Hwuz1MqGjf6igPQrcYLxRSlwM5Zli4VDsseFEj0HGfGiJyvoSuS2TLMv5 6YiIbhIVN1gIH+7+Svhl1Q4Ct+6URkUJvvU9A7yh0AxkfqtDMBl/EGIJpupoJksECNy82CGVlft+l RdWKyoi7iCFzaNsdnu7CqginGlY3s0LD9t8oyw6rluXir0LZUxRK4Fj07IK3RArcSC9ZVrPgJS5q2 vPIfhbz7ccUF7WnN+VHJaThXdqYZCnv8WonxVY8L5diYeTrHb4Upvk51Gqr65zf/E9/L0j086WH34 alUcYYfl+d+dGA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58953 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsAIK-00014d-5z; Fri, 20 May 2022 17:36:24 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 53156@debbugs.gnu.org, Efraim Flashner Subject: Re: bug#53156: GUIX_DAEMON_SOCKET with ssh doesn't cache connections References: <87k0f7y0nz.fsf@gnu.org> Date: Fri, 20 May 2022 23:36:22 +0200 In-Reply-To: <87k0f7y0nz.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 10 Jan 2022 18:13:04 +0100") Message-ID: <87a6bbx4x5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53156 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Efraim, Should we close this one? https://issues.guix.gnu.org/53156 Ludo=E2=80=99. Ludovic Court=C3=A8s skribis: > Hi Efraim, > > Efraim Flashner skribis: > >> I'm experimenting some more with GUIX_DAEMON_SOCKET, and while when >> using guix offload I see a socket a /run/user/1000/destination/socket, > > What=E2=80=99s this file? > >> there's nothing similar when using >> GUIX_DAEMON_SOCKET=3Dssh://other-machine. Depending on the machine in >> question it can take several minutes before a build is started, > > That=E2=80=99s because the daemon RPC protocol is suboptimal in that it m= akes > lots of round trips, and round trips are very costly over SSH due to > higher latency. > > Eventually we=E2=80=99ll need to adjust/change the protocol, but there=E2= =80=99s no > short-term solution. > > (For connections over TCP, =E2=80=98open-inet-socket=E2=80=99 in (guix st= ore) uses > TCP_NODELAY to make this acceptable. There=E2=80=99s #:nodelay #t in (gu= ix > ssh), but that doesn=E2=80=99t much as much of a difference.) > >> and I'm having a hard time maintaining the connection until the end of >> a longer build like gccgo. > > Is it that the SSH server eventually drop the connection? > > HTH, > Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 20 17:32:32 2022 Received: (at control) by debbugs.gnu.org; 20 Dec 2022 22:32:32 +0000 Received: from localhost ([127.0.0.1]:47504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7lA0-0002v6-42 for submit@debbugs.gnu.org; Tue, 20 Dec 2022 17:32:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7l9y-0002v0-3U for control@debbugs.gnu.org; Tue, 20 Dec 2022 17:32:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7l9s-0002Sk-6e for control@debbugs.gnu.org; Tue, 20 Dec 2022 17:32:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=n10MqdHZqWRWY6132P/Wy2uwwp9yDoOzN3Gf7jhST2E=; b=I6N7A4EaqAYUf6 jKiYS1SdQtWTOgQvPLCU6xSC/qCXBzb3SRqVIRKzVGdiB+BpwLwXkAB44ZtdlabolyEtAxDhgWNnU 7WwgNxErjvbS1atOjXy15/LZFTJa1Cg4tGUZKMSep6DmJSnR6q2FWucsw5qpgbYX4ZtOTXr3Onz6K a6iCj2m3wwK6Vrl+xrE1Pi04j8sBkT5fYYmWY2hv81CPbnVHpYhJKfDvG6PNNveM1f8LhHA+GTvtD eeBfkiyAsRD3JbyEwaz6wSBl2DcDuHFeF0Xc3wXta0iWIfvy5tLUMrEyvM7wJybHY4S6YNHZqiLtI PTiEJHf+nNHFWBcuLHtA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7l9r-0003cR-Ms for control@debbugs.gnu.org; Tue, 20 Dec 2022 17:32:23 -0500 Date: Tue, 20 Dec 2022 23:32:21 +0100 Message-Id: <87h6xp670q.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #53156 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 53156 notabug close 53156 quit From unknown Sat Aug 16 00:33:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 18 Jan 2023 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator