Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2913102pxt; Mon, 9 Aug 2021 11:49:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzsWSYHdc0EbAE6K1qVoD2FUhMPBQl7Fwp2RfLOCLizHwqmRT3mfmH8yC9QjA2jNv3Td/l X-Received: by 2002:a02:2a07:: with SMTP id w7mr23799702jaw.96.1628534973653; Mon, 09 Aug 2021 11:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628534973; cv=none; d=google.com; s=arc-20160816; b=uLCe9aEexxGwuvUEjbGwV+CUt01GK0p9UJXk9GVwgIlCRzC9uob52v+CMeesQS5iuQ KamZHOqWH2b51SHsa1EYgRiQrP4HKmd4nLZnUoKh2trDIFj23oNfrqLW+zlFGhM5reWe R3fA9WRwPMXQrUL54utDJ2DLDdHxY2nMrib/MPH4o1O3D9i5PickWQzfoyHLmJ1FqKtE fxuIe9wo+7z43pIVah4aiAesE0WcmXUFST3HTtAsKc3qhUEOhjchXyPXqA/0pbO6xz6f pOrC5gUkzMlQJ2esLKXdpaC7s6Oh3OF01lYC0mD361KOZV8dlEkENLSsFf1874IK5pSL ML+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-filter; bh=AWHnyw0ogBh07je9QDr/1f1crbyPFWAGCBldI39G0lc=; b=PT6FsNZX7zW9siWTT9i2sxzZMJbjDy/8zrUdffRsIMufSxXt2gFiIZn8XIqw4Ok0UB wr7cbAzBdV7khxWgQsaHJZOjZdkjG8lnQf3HlDnr1QqUYA/eFYNwyGPdnJi/hlom1MVJ Q9sX0Mj98nndP65vzu385r37ilGfnTBXRv2hJoHoMcHBvjtQ9dzIuKiNEuQB7RsDrlfF WF8I3Ja/4T2vQ7qX/MMLk/TfvJD4M5iFwB5gVSut8hFRXX41Qs6v8bSV650kxKfrdLDQ 6SQyEDrXTXKBYGTU/rSbQlsCWpqq1PubmU8KA47oq+OWTtFyOCqXqlk2AIOEDjVXUvn0 EjYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=b8VMCVTS; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k8si5661412jaa.51.2021.08.09.11.49.17; Mon, 09 Aug 2021 11:49:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=b8VMCVTS; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235003AbhHIStd (ORCPT + 99 others); Mon, 9 Aug 2021 14:49:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbhHIStd (ORCPT ); Mon, 9 Aug 2021 14:49:33 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A14EC0613D3 for ; Mon, 9 Aug 2021 11:49:12 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 47B984F7D; Mon, 9 Aug 2021 14:49:11 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 47B984F7D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1628534951; bh=AWHnyw0ogBh07je9QDr/1f1crbyPFWAGCBldI39G0lc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b8VMCVTS0cuZyXae9kN3XI+ixS0rtdt7soH/WuWVdIPzZ3VaSr9GX+3Wx5v8X7DP3 amj1MBrA3pBCxnznEEnjstBrQZ6kgZLRGcJglvlcUwD/bZckumQnyHIZ0nEDBO4Nls +RN2puO1N8hJSF+67GmhE4BqD7zziB3hXrAiudIc= Date: Mon, 9 Aug 2021 14:49:11 -0400 From: "J. Bruce Fields" To: hedrick@rutgers.edu Cc: Timothy Pearson , Chuck Lever , linux-nfs Subject: Re: CPU stall, eventual host hang with BTRFS + NFS under heavy load Message-ID: <20210809184911.GD8394@fieldses.org> References: <281642234.3818.1625478269194.JavaMail.zimbra@raptorengineeringinc.com> <1288667080.5652.1625478421955.JavaMail.zimbra@raptorengineeringinc.com> <3A4DF3BB-955C-4301-BBED-4D5F02959F71@rutgers.edu> <359473237.1035413.1628528802863.JavaMail.zimbra@raptorengineeringinc.com> <2FEAFB26-C723-450D-A115-1D82841BBF73@rutgers.edu> <77ED566A-7738-4F62-867C-1C2DFC5D34AB@oracle.com> <1065010667.1047836.1628533859535.JavaMail.zimbra@raptorengineeringinc.com> <19368DD0-74CA-4DB7-9C1F-707106B50635@rutgers.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <19368DD0-74CA-4DB7-9C1F-707106B50635@rutgers.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Aug 09, 2021 at 02:38:33PM -0400, hedrick@rutgers.edu wrote: > Does setting /proc/sys/fs/leases-enable to 0 work while the system is > up? I was expecting to see lslocks | grep DELE | wc go down. It’s not. > It’s staying around 1850. All it should do is prevent giving out *new* delegations. Best is to set that sysctl on system startup before nfsd starts. > > On Aug 9, 2021, at 2:30 PM, Timothy Pearson > > wrote: > > > > FWIW that's *exactly* what we see. Eventually, if the server is > > left alone for enough time, even the login system stops responding > > -- it's as if the I/O subsystem degrades and eventually blocks > > entirely. That's pretty common behavior across a variety of kernel bugs. So on its own it doesn't mean the root cause is the same. --b.