From owner-freebsd-questions@freebsd.org Wed Aug 25 00:22:02 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 859CE66A360 for ; Wed, 25 Aug 2021 00:22:02 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GvRVx04bPz3DNg for ; Wed, 25 Aug 2021 00:22:01 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wm1-x32c.google.com with SMTP id c8-20020a7bc008000000b002e6e462e95fso3038693wmb.2 for ; Tue, 24 Aug 2021 17:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=HDOBhqf1IPGW4tZE+aMaTcQJDnvOyEeLXudx9StT9AQ=; b=ECEbFZ1IqrUwohNTTHdsgFMrizyLVgG55ThcoXLxDw5Zs1Q45Mtc6ETFkWEDtWb0Ht KSWjJ433rgBioT8nxWB6w/C5lMm2pAg6pT76T7S4dB8p18N2S+YM+miBTChj5AiB+4aH SCox/7MSNvX3wof/igyvDF2d79UADlWKjLGQ196Xxn5+0Z3qUHw5suEIreG6LFP7pTfx uVRvczf7BP4J75H8oCgNLaRJFSnVTFFJG3J/vxG6yb8dgX1lOxl9B4IX85YBB0ufnknM 8S5DSOeDzB4u6wz3w0T4ZDKqyT+2IW2Y9RhnAsZrljlpDb5gO3iU6kUOmRpVPAe56CHy r6fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=HDOBhqf1IPGW4tZE+aMaTcQJDnvOyEeLXudx9StT9AQ=; b=rVXN8J2qqSqIr3nu4BUKadLfCGskU0mgrA27u+clulxhjyjEfV8uRoCzkpbyml9Y9o N9X8qenzWTtJAC8fXxtGL1fy7crHJsAie1YwcVCAUAUc3G6/nz8Q6vAYHIE2ZjlDd/Az ipyoYMYImFgoy8wW/F1GfB0w2Gx64XyB/EhqMgQFjxnvC1oGgtm5Tew8nyZFaQM6Pte0 w1zBpECzOiOlmBxTE97f1e6W4w02xe2IFwtypFTJeiWr/dXc6+Dll76ZAT4B5EWpwmK6 IDaq/BEl5sn5bBGCAzwG00cldGIKYQQBt3c1JPzdDvHhdEB+coBB9BdfV5t1xNkamzq1 JMHA== X-Gm-Message-State: AOAM5308FeZlHmCGYKnAbpdZFulSC36DOsPzlEvXP24+9LxZ3YnjU1kQ ZynVuDqkUHBBwg4AeBFTZ4SInq0vTzxawqSEi9FhitLD9dU= X-Google-Smtp-Source: ABdhPJzvybqtJch4IVCyeAlfrg9gDv7Kh5H36rkqkS2nIQp5cZtelwjJM59Ky+CJsIWPgrzsr8o7A0zI0El7CMkJFg8= X-Received: by 2002:a7b:c8cd:: with SMTP id f13mr6514160wml.6.1629850919187; Tue, 24 Aug 2021 17:21:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "parv/freebsd" Date: Tue, 24 Aug 2021 14:20:17 -1000 Message-ID: Subject: Re: NFS v3 - FreeBSD 12 server connection getting timed out on CentOS 8 client To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4GvRVx04bPz3DNg X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ECEbFZ1I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::32c as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-0.12 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.88)[0.879]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2021 00:22:02 -0000 On Sun, Aug 22, 2021 at 8:05 PM parv/freebsd wrote: (I have rearranged my quoted email) [CentOS 8 NFS v3 client sometimes prints ...] > Aug 21 08:31:04 [CLIENT] kernel: watchdog: BUG: soft lockup - CPU#0 stuck > for 22s! [kworker/u24:0:672075] > > Aug 21 08:31:04 [CLIENT] kernel: watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [kworker/u24:10:672632] > > ... > On the [FreeBSD 12.2] server, there is not much CPU load; drive activity > does not match the > connection being timed. On [CentOS 8] client, CPU getting stuck messages > are being printed > to everyone when trying to write to the NFS server > ... > On the server side, I had not seen any output -- from smartctl or nfsd -- > which > could indicate such a problem. > ... > On the server, I have set "vfs.nfsd.debuglevel=2" to see if there would be > any > output when the client would complain after connection getting timed out. > > How do I go about investigating or solve this? > ... I have collected tcpdump output on both server & client ... https://github.com/parv/centos8-nfs3-issue/ ... but am unable to differentiate between error and normal operation in the output, unlike of strace. :-( When I ran rsync, CentOS sent the message "CPU stuck" around 21:20, so links around to that time ... client output (215 KB), https://github.com/parv/centos8-nfs3-issue/blob/main/centos8-client.tcpdump.2118-2120#L1623 server output (414 KB), https://github.com/parv/centos8-nfs3-issue/blob/main/freebsd12-server.tcpdump.2118-2120#L2621 - parv