From owner-freebsd-current@freebsd.org Wed Dec 30 16:08:59 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 764774C7A09 for ; Wed, 30 Dec 2020 16:08:59 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5bnQ3Xxxz3qSm for ; Wed, 30 Dec 2020 16:08:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 0BUG8otK043357; Wed, 30 Dec 2020 16:08:50 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 0BUG8orU043356; Wed, 30 Dec 2020 08:08:50 -0800 (PST) (envelope-from david) Date: Wed, 30 Dec 2020 08:08:50 -0800 From: David Wolfskill To: "Hartmann, O." Cc: FreeBSD CURRENT Subject: Re: # Fssh_packet_write_wait: Connection to 77.183.250.3 port 22: Broken pipe Message-ID: Mail-Followup-To: David Wolfskill , "Hartmann, O." , FreeBSD CURRENT References: <20201230080403.5474da7c@hermann.fritz.box> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i7MDvwBGNnSXWh8r" Content-Disposition: inline In-Reply-To: <20201230080403.5474da7c@hermann.fritz.box> X-Rspamd-Queue-Id: 4D5bnQ3Xxxz3qSm X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[catwhisker.org]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2020 16:08:59 -0000 --i7MDvwBGNnSXWh8r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 30, 2020 at 08:04:03AM +0100, Hartmann, O. wrote: > ... >=20 > # Fssh_packet_write_wait: Connection to XXX.XXX.XXX.XXX port 22: Broken p= ipe >=20 > The backend is in most cases a CURRENT, 12.1-RELENG or 12.2-RELENG or 12-= STABLE server. A > couple of months ago we moved from 11.3-RELENG to 12.1-RELENG (server sid= e, clients were > always 13-CURRENT or 12-STABLE). With FreeBSD 11 as the backend, those br= oken pipes > occured, but not that frequent and rapid as it is the fact now.=20 >=20 > The "problem" can be mitigated somehow: running top or using the console = prevents the > broken pipe fault for a while, but it still occurs. Running "screen" (port > sysutils/screen) does extend the usability of the console for a significa= nt timespan, but > the broken pipe also occurs randomly, but it takes a significant time to = occur. I have seen messages like that -- from a remote host that has rebooted or to which the network connection has (otherwise) been severed. A couple of things that I do may have (significantly) reduced the probability that I would encounter what you report under other conditions. Context: I work from my laptop, and ssh to ... well, just about everything: machines in my house; machines at work; machines at work accessible only from within the VPN hrough a bastion host; machines in the FreeBSD.org cluster.... Usually concurrently. The laptop normally runs FreeBSD stable/12 (freshly built each morning), but it runs head while I build head on it and for the smoke-test after the build is complete. * A long time ago, I placed "ServerAliveInterval 150" in ~/.ssh/config. (I suspect that this was well before Nov 2014, which was the beginning of my tenure with my current employer. And yes, I had been using the above-described "ssh to everyhing" well before then -- I think I got in he habit around 1999, back at Whistle.) * Whenever I am about to do something "sensitive," I run tmux (port/package sysutils/tmux -- same "ecological niche" as screen, but I switched from screen to tmux several years ago, and haven't looked back.) This has become enough of a habit that I tend to run tmux from "muscle memory." Or I have set up csh aliasses or scripts to "do stuff" that automagically invoke tmux, so I don't even notice. * [Yeah, I wrote "a couple" up there; this is a bonus. :-) ] I don't keep machines up longer than about 175 hours (a little over a week) at a stretch: I update my laptop and my "build machine" daily, and update the other machines under my control weekly. > ....=20 Peace, david --=20 David H. Wolfskill david@catwhisker.org While Trump successfully conned a lot of people for a while, in the end he's just a failure throwing a temper tantrum because he lost. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --i7MDvwBGNnSXWh8r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl/sphJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pcke2Af/R2x7HE2gf2hslaU/lYnjT7RmUGHQOltndv2szEv1k6GKxvxPbt7xvXZL 6dDNDKa6nm0qJaUoGbs+u9n+sCxlzN4XMHi71PLi6jFBGbiyYxcPGzofqeVi2zpu 1lQ+66xyLThO6lmze169sesVS9jjFVMtu0InRQsyXu+JQ5V8hnpc46n5aUA3igyA rgjAKi9IKVWwtbIggoEXUS6V+HrMNaGzNG8kp1oNf0DGSNKYi7gu+OnY3rn/NRA9 RXY9c6gYOF2jdmK4TZeTZGP7m4LSxoU5baVH8o4goAEphb0OALVg86zHRdvh/ZTG 0oV+i35Y39bsSECkC84jPBQ2ZAAd8g== =fnwN -----END PGP SIGNATURE----- --i7MDvwBGNnSXWh8r--