Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2339262rwl; Thu, 6 Apr 2023 08:55:24 -0700 (PDT) X-Google-Smtp-Source: AKy350bMlGOTr+OvEAGs7Yd2ArbBW7dI/VBunwiCM2+JgYEvjTMCjRdXaW2WGlllrAM4qxPzvb3z X-Received: by 2002:a05:6a20:1e67:b0:cd:a334:a52b with SMTP id cy39-20020a056a201e6700b000cda334a52bmr8396pzb.30.1680796523716; Thu, 06 Apr 2023 08:55:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680796523; cv=none; d=google.com; s=arc-20160816; b=OhaIivAwKvoibq9YsOOvvfVjtkrI/Bln4BKSh5ke+hnz8uVvzHONtgzOv5YmRI2/WC WC0DlARb7v7aaUoiXF8lfiS6ruVU15Oxqv65Asy5CxdB/UeK0a1TR78FnRq5ozE4avcs +r2Oy+Nbf7dkM0IIxJ+wbMdRqRjJIu3/1MzY8l0pkvF7zIcJ3opJOCcji4+nQSBP9hZK 6vTRaBBNVBTdwRFBvs0LLeyuNDM2qDrJ/psO+pcgKNYLrQYAKmg48SnsoeTPoGwMgruQ gfeYftjVTOTePjllh/TNYhWS+bDu+thR9iI13oJz3h5qhpt8GZr/D/c8eLtH50aolPzr 84GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=84exzpXs2h7NbzQa0nPOV7KezBcEJj5G48CmH3a6H3Q=; b=TUjh5ZFFErqCyPO5Bb+jHgwltOcSKMPe+4XRxC8yJradt7uu/nLdt8TQ9mN6HiAxcJ a2uguuFY+gH/oJ0geTzQvtnZbcJZig4fCgytWn2EWIBVMZ3y/vvTfcd2vHtVtyncsjVr WNzZXq2FqMnbnqu+UAYaxqQGbWKsHOqnmFOWjoDAtbt40s7oaVdBRSYhjlObT2J7lbtV PhXnu6nRl6SRkCHftEKDVVcIvYYR31cI+zNRqmVBVQHTjxHxnWTuh18N5BRyCzJSIbDC e4g1SSKN2bhpAlTGZ6y6iZFopOaDaX8vGml+lESqvV5/lhUx1vH7zW8ocDf4h8RFo9ab RDsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@phys.ethz.ch header.s=2023 header.b=oIWcUco5; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=phys.ethz.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h23-20020a635757000000b004fb96b91c57si1617016pgm.125.2023.04.06.08.55.08; Thu, 06 Apr 2023 08:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@phys.ethz.ch header.s=2023 header.b=oIWcUco5; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=phys.ethz.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239422AbjDFPyQ (ORCPT + 99 others); Thu, 6 Apr 2023 11:54:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239418AbjDFPyN (ORCPT ); Thu, 6 Apr 2023 11:54:13 -0400 Received: from phd-imap.ethz.ch (phd-imap.ethz.ch [129.132.80.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4635130F9 for ; Thu, 6 Apr 2023 08:54:12 -0700 (PDT) Received: from localhost (192-168-127-49.net4.ethz.ch [192.168.127.49]) by phd-imap.ethz.ch (Postfix) with ESMTP id 4PsmJf6qz0z36; Thu, 6 Apr 2023 17:54:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phys.ethz.ch; s=2023; t=1680796450; bh=84exzpXs2h7NbzQa0nPOV7KezBcEJj5G48CmH3a6H3Q=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=oIWcUco5+x0d0gouegmO6NCpJgYJGejvpiZDHh4kERxZuB8+wfoDzjrx1Ft7aUyZv hLvUkgyYvmv03oN1UazDrzyxAuIpaOFfjkiSkiKIrAcTZC9ShuZzdiHlq7a4MBtvo5 QIbR11zaLPJzsvCpHr9V1xCTu2ocikGZMQ0NxvtKS5aKSeaBtrv5Nm0aLTX2NxitY3 ynrlK8XZ2fz2dFb77XCEpJbSrYK1ejl9+x8eM+fpocKMlj1IEQC2soItjvPeals/gZ Ji+pFmRRGXDQnrAd92/CvdEnFDiuceeRO/jXNpfqOoRNBhZLpCBKNhnKQcDD60f3Wk Pk1tl5X34Tvew== X-Virus-Scanned: Debian amavisd-new at phys.ethz.ch Received: from phd-mxin.ethz.ch ([192.168.127.53]) by localhost (phd-mailscan.ethz.ch [192.168.127.49]) (amavisd-new, port 10024) with LMTP id XHpM-dNNITQ6; Thu, 6 Apr 2023 17:54:10 +0200 (CEST) Received: from phys.ethz.ch (mothership.ethz.ch [192.33.96.20]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: daduke@phd-mxin.ethz.ch) by phd-mxin.ethz.ch (Postfix) with ESMTPSA id 4PsmJf61GPz9x; Thu, 6 Apr 2023 17:54:10 +0200 (CEST) Date: Thu, 6 Apr 2023 17:54:09 +0200 From: Christian Herzog To: Chuck Lever III Cc: Linux NFS Mailing List Subject: Re: file server freezes with all nfsds stuck in D state after upgrade to Debian bookworm Message-ID: Reply-To: Christian Herzog References: <6785EFE7-2CE1-45CD-8643-C40CCCDADEB8@oracle.com> <478CD009-C11B-46F2-AD13-689953D612ED@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <478CD009-C11B-46F2-AD13-689953D612ED@oracle.com> X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Dear Chuck, > > That was our first idea too, but we haven't found any indication that this is the case. The xfs file systems seem perfectly fine when all nfsds are in D state, and we can > > read from them and write to them. If xfs were to block nfs IO, this should > > affect other processes too, right? > > It's possible that the NFSD threads are waiting on I/O to a particular filesystem block. XFS is not likely to block other activity in this case. ok good to know. So far we were under the impression that a file system would block as a whole. > I'm merely suggesting that you should start troubleshooting at the bottom of the stack instead of the top. The wait is far outside the realm of NFSD. thanks, point taken. So next time it happens we'll make sure to poke in this direction during the few minutes we have for debugging before we get tarred and feathered by the users. -Christian -- Dr. Christian Herzog support: +41 44 633 26 68 Head, IT Services Group, HPT H 8 voice: +41 44 633 39 50 Department of Physics, ETH Zurich 8093 Zurich, Switzerland http://isg.phys.ethz.ch/