From nobody Thu Mar 10 07:54:29 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C309A19FB6B1 for ; Thu, 10 Mar 2022 07:54:34 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from mail.punkt.de (mail.punkt.de [IPv6:2a00:b580:8000:11:1c6b:7032:35e9:5616]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KDhD96c3Kz4TV0 for ; Thu, 10 Mar 2022 07:54:33 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from smtpclient.apple (unknown [IPv6:2a00:b580:a000:c800::1006]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.punkt.de (Postfix) with ESMTPSA id 110EF45CD7; Thu, 10 Mar 2022 08:54:30 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Subject: Re: epair and vnet jail loose connection. From: "Patrick M. Hausen" In-Reply-To: <051d51b6-2a07-fbc6-7b4d-13947e7fcdbb@gmail.com> Date: Thu, 10 Mar 2022 08:54:29 +0100 Cc: freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <051d51b6-2a07-fbc6-7b4d-13947e7fcdbb@gmail.com> To: Johan Hendriks X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Rspamd-Queue-Id: 4KDhD96c3Kz4TV0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 2a00:b580:8000:11:1c6b:7032:35e9:5616 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-2.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:b580::/32:c]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.977]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; MLMMJ_DEST(0.00)[freebsd-net]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:2a00:b580::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Johan, we experience the same on 13.1-PRERELEASE. Currently trying to collect = some evidence (dtrace) to send to Kristof Provost who was so kind to assist. We are = hit by the problem in production in 12-24 hour intervals. Have not done any artificial load = tests, yet. May I ask you to run this dtrace script while at least one jail is = disconnected and while traffic is present that is trying to reach the jail? If you can afford = to do that in production (?) that would be great. Forward to Kristof (kp@), please. Thanks and kind regards Patrick ---------- #!/usr/sbin/dtrace -s BEGIN { self->in_menq =3D 0; } fbt:if_epair:epair_menq:entry { self->in_menq =3D 1; printf("In epair_menq"); } fbt:if_epair:epair_menq:return / self->in_menq =3D=3D 1 / { self->in_menq =3D 0; printf("Leave epair_menq"); } fbt:kernel:taskqueue_enqueue:entry / self->in_menq =3D=3D 1 / { printf("Enqueue task"); } fbt:if_epair:epair_tx_start_deferred:entry { printf("epair_tx_start_deferred"); } ---------- --=20 punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de info@punkt.de AG Mannheim 108285 Gesch=C3=A4ftsf=C3=BChrer: J=C3=BCrgen Egeling, Daniel Lienert, Fabian = Stein