From nobody Thu Nov 25 16:41:04 2021 X-Original-To: bugs@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 39D6718B5159 for ; Thu, 25 Nov 2021 16:41:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0Nt76fzTz4s6R for ; Thu, 25 Nov 2021 16:41:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C565620E8B for ; Thu, 25 Nov 2021 16:41:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1APGf35Z066749 for ; Thu, 25 Nov 2021 16:41:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1APGf3gX066748 for bugs@FreeBSD.org; Thu, 25 Nov 2021 16:41:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260011] Unresponsive NFS mount on AWS EFS Date: Thu, 25 Nov 2021 16:41:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637858464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CG5LVE9KpAbpndGFKvsRMjW5EfucVfcDEhDkBpHV/JI=; b=X6Emc228TwKwLbkmnA6AHDOzgSy1xFEfVORgIzfFwHQeZcv6apKbjHxQrawMyajCWJyuN2 FlqpqZHQWOy4cXduXoJjq7BU3+dxf0w23UxXfAlAQJrpTeweHYAazSo3GhUPrM16ho2nJP KDX87hiCMPSBJYRIoJzVol/Y07wxYajNhTlFr39ZoCNneElPfZ/RNjdo1N3jWdheEEg/xT wnpK71/FXy3zO8PfCOMVya6LpaIZRe1UrYXJXAkl9fpG6hw6APJ/TsEZfvHuWWojE8ARLr qdhi55M15jx8zRQI0CFYP33qk0VD44JKnqqVC9Tu8rkyvYdPdNEjPmG7O10bOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637858464; a=rsa-sha256; cv=none; b=F8XM5P4L7KK/t3kuLzu65MrOJQM+BcJySGXqs29f0c/N1hRNdKsotucLh6realMx7a/hap LUk6EkGYCFQg3YwcJNXc0bdMcN99VrFjoXZyDoi+tXDslYlsOueZ3aZZbCGmsjnmLu+LH6 bMKu5ywwNuLX+T065R5yw/E94Ev28MLjUz9hMzBy2mT7Skh7I7ce5ZF+ds0Owp64FmWcbJ k8bfamzEorAjzTmFo54olkXCEehrI7LCOMkgkmmDHgHA3kx8/3fPftXSlXdTdKvqaik12T jJVgbzFlJyP9vg+Ax0Jl9qeIJh9fU07qqgOgfPeUh1CV1f1ez0kRUhnhq1Gh/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260011 --- Comment #5 from Rick Macklem --- Mount options are "negotiated" with the NFS server and other tunables in the system. For example, to increase rsize/wsize to 128K, you must set vfs.maxbcachebuf=3D131072 in /boot/loader.conf. To increase rsize/wsize to 1Mbyte, you must set vfs,maxbcachebuf=3D1048576 in /boot/loader.conf and set kern.ipc.maxsockbuf=3D4737024 (or larger) in /etc/sysctl.conf. --> This assumes you have at least 4Gbytes of ram on the system. The further you move away from defaults, the less widely tested your configuration is. Also, in the case rszie/wsize, the system will use the largest size that is "negotiable" given other tuning. The use of the rsize/wsize options is mainly to reduce the size below the maximum negotiable. --> From my limited testing, sizes above 256K do not perform better, but what works best for EFS? I have no idea. If a server restarts, clients should recover. If a client is hung like you describe, either due to an unresponsive server, a broken server (that generates bogus replies or no replies to certain RPCs) or a client bug: # umount -N is your best bet at getting rid of the mount. --=20 You are receiving this mail because: You are the assignee for the bug.=