From nobody Fri Sep 22 00:52:41 2023 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 4RsDJY5VWlz4vF0r for ; Fri, 22 Sep 2023 00:52:45 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4RsDJX5kKXz4WBd for ; Fri, 22 Sep 2023 00:52:44 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=RBIOb3za; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=dOaiof5P; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.27 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id ACF175C01B6 for ; Thu, 21 Sep 2023 20:52:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 21 Sep 2023 20:52:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1695343963; x=1695430363; bh=2T wveqbJbKEVzmcPI3HQo6REBhaApKjK19b9geQssJY=; b=RBIOb3zaAUoxWY3ygc TfKXgP5nnaRSdrMy/qOSkbHwvdIMYH6yojncEMTiD5Ws52x29jcXl6A6vnvaV1xH DdhnlibkEZu7tekm6oA1C10S3rT9O8o3YCdfvLgYp/O1sC6JSMi/zHXdIeLi+06m YDPZoI9W7irEUCyWdFa3f1ZOryJ5uZwPVbnicSXaKNjw0wqTgL7MD8R69Uhoj0ze OCO7HYJ+y3dru+BSrnuvkbF+SgU7lmVpQ7IKvIS0Mksbg9GS1hu9Rg8Cl+XxK/Gx zD0RpW0lQSBDcQaXTAL+M7hkpxYVndGziOI/J8Zenmaik4AjKeIae33KBYMsQ3Xe T7iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695343963; x=1695430363; bh=2TwveqbJbKEVz mcPI3HQo6REBhaApKjK19b9geQssJY=; b=dOaiof5P0fRWMSy/kRPISSNuouzWk DzXFV8MCg5XEyFmnTmqF+8vAPEfTPzUJOyv2dHWkPhgFC4qUVefwMW5AwDG7HK0E BSu8/AuN/NrmkEDd0PCTe1P0YpjUR1NPaRaXxqDdQNI2Jz/SN5nGIexSKAPIQw4r JFCqlcAWSgHLLZ4m3fe/WpxUvuGlWg6r/K3XwQQNJ2wWBRfgefE4uFtz4Pqsc5nJ GDUf22U+Mp4BubPsfHsg8TV66KUtKkHTrJ3aQOUjIzzd2OzZnG0z/xIQ9BsGl1zN 4LpSV9wVYRt9cKFqNVRk9+tSFvk6RxxQuQO9U2z6dq/4BWKeo4O8Bexmw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekjedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgr thhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgfdugfdvgeekjeejuddthe ehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep vhhoihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 21 Sep 2023 20:52:43 -0400 (EDT) Date: Fri, 22 Sep 2023 01:52:41 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: openvpn and no buffer space available (13.2-stable) Message-ID: References: <03637CE3-1FA4-4900-AFCE-3D2AE8AE5DD5@darktemple.ch> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <03637CE3-1FA4-4900-AFCE-3D2AE8AE5DD5@darktemple.ch> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.90 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.92)[-0.925]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; NEURAL_HAM_SHORT(-0.38)[-0.377]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4RsDJX5kKXz4WBd Hi, On Thu, Sep 21, 2023 at 09:25:38PM +0200, M. Mader wrote: > >I run OpenVPN without any such problems. My sysctl.conf as >well as my loader.conf are pretty much default. > >I'd try what happens without vm.vnode_pbufs="10240" The problem is worse without it. I don't mean (direct) throughput, that's fine. I mean for interactive stuff when the connection, while not being completely saturated, is quite busy. So a dns lookup for a page would fail. Then a second later it works. It'll be the same cause as this buffer space problem. When the connection is more or less idle, the error with ping doesn't happen. If the vpn is turned off, the error doesn't happen, even if the connection is saturated. Thing is, I don't know what "buffer" ping is talking about, or what sysctl or feature controls it. The other thing is, this is on a freebsd vm, so it's using vtnet0. The host uses bxe0 10Gbase-T. Maybe vtnet needs something? --