From nobody Thu Aug 24 04:14:19 2023 X-Original-To: freebsd-fs@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 4RWV8p6dRqz4qXjV for ; Thu, 24 Aug 2023 04:14:34 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RWV8m6HzQz4MpK for ; Thu, 24 Aug 2023 04:14:32 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=BY0w4RnW; spf=pass (mx1.freebsd.org: domain of jdavidlists@gmail.com designates 2607:f8b0:4864:20::534 as permitted sender) smtp.mailfrom=jdavidlists@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-5654051b27fso3990052a12.0 for ; Wed, 23 Aug 2023 21:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692850471; x=1693455271; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=j/8dC7y6mlKU3jQGfS0KfBTnaaCdypbC9r6snDjozAU=; b=BY0w4RnWICB7YLUcmcsecpkltSMmx2W7PD/8pQSRd76/tfpO7knsRZWr4UzYaei9jI a9zgNnuN8hK2e5vVpwICG/c303HMcoLQy9SAf9t+oG9oDL+qvkg6GL151lvyNd7rkYHh fIohQF60jEQuyQLAOCLQIQKxaJMnodhaPHho43mcRiofKaKee+mOOGBcprWzsYEgnlPD eOStTaF3Z+MCUlMRc8NqJwKFfkFGXjoqg4O5dZTnEPbfJ16g1TX0x9bAmU0zhuUvBzmf 5QhXMuvKkF+hN/QoV4rb5V88C2YfSJ026T4LbgKbgroBtk884JrXZh7vugKJRV/CWfP6 Hn2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692850471; x=1693455271; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j/8dC7y6mlKU3jQGfS0KfBTnaaCdypbC9r6snDjozAU=; b=R7GYE37h/37L249zCZvbwBXolywKeRcFzoqr5Z7tto6LF4GM1aXWZZbZqXXYbfxX2K OC/RH+iTdPHOtg/gOXXPuqKJnCYAQyBdaUdzOWXxrBnWcBDiigre0yOxhY2Syw690Vp9 MMwRv6NtUSVIfHWncS37f59aoeREIAGYWJHusOMccHcJs7CGR8ABe1NjcBXSTYlwAGne IwHKK2PdxFuNT9QPi9FY5Jbugvg9rrbcjaG13RhdFwoePAEJyB6xkwKIgWoyZMWYn8Fm cang3jR+A+eIClFR3vS6reZvF/+a1tjICVccIMOLSME4zt6PNnuKkavz+MLtMMpmQiGl OBuQ== X-Gm-Message-State: AOJu0YxTjOnh1GUvA7nh3K9kZETjSd7H7mhkzLfVGptBKTF2Zoq86CdX +jqgXBsmQdNxLmM+Lff03cxxV1RMRrCtz5Om7MMkDr+c X-Google-Smtp-Source: AGHT+IGhE1QSED5K90S/hEBrxM18ikMgpFtnLVgpr6pc3TAhmtylMmWlO0kfw2uHG+lEBRljDsr26upJuk3qQvIbUKY= X-Received: by 2002:a17:90a:8a95:b0:268:b7a2:62e8 with SMTP id x21-20020a17090a8a9500b00268b7a262e8mr13337303pjn.7.1692850470748; Wed, 23 Aug 2023 21:14:30 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: J David Date: Thu, 24 Aug 2023 00:14:19 -0400 Message-ID: Subject: Re: NFS client hang on 13.2-RELEASE-p2 on file locking / wrong interface selected To: FreeBSD FS Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::534:from]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RWV8m6HzQz4MpK A little bit of a codicil to this, something interesting happened while cleaning up from my tests. I briefly accidentally unexported all filesystems on the server. The instant I did that, NFS-using processes on the client side immediately went to nlmrvc, 100% CPU usage, and started spamming the server with the same type of messages (using the correct network this time). As soon as I re-exported the filesystems, everything cleared up. So it seems like there may be a secondary issue on the FreeBSD client side. Perhaps it is getting some sort of "permission denied" error and retrying way too fast. (During the test shown in my earlier message, nothing was exported to 172.17.0.0, so the server might reject any access from there in the same way as this.) If so, perhaps the packet dumps from my original message will help identify it. Thanks!