Re: NFS v3 - FreeBSD 12 server connection getting timed out on CentOS 8 client- bug filed #259163

From: parv/freebsd <parv.0zero9+freebsd_at_gmail.com>
Date: Thu, 14 Oct 2021 01:32:26 UTC
On Wed, Oct 13, 2021 at 2:45 PM parv/freebsd wrote:

> On Wed, Aug 25, 2021 at 3:52 AM parv/freebsd  wrote:
>
>> On Tue, Aug 24, 2021 at 2:20 PM parv/freebsd wrote:
>>
>> 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]
>>>>
>>>> ...
>>
>>> 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/
>>>
>> ...
>>
>> While trying to find if there is an update for CentOS 8 "nfs-utils"
>> package, I came upon the thread on "linux-nfs" mailing list ...
>>
>>   CPU lockup in or near new filecache code, 201912,
>>   https://marc.info/?l=linux-nfs&m=157599524312895&w=2 ;
>>
>>   a patch, 201912,
>>   https://marc.info/?l=linux-nfs&m=157609449120027&w=2 ;
>>
>>   more to come, 202001
>>   https://marc.info/?l=linux-nfs&m=157807452103938&w=2 ?
>>
> ...

> Moving to FreeBSD 12.2-p9 or -p10 did not solve issue of FreeBSD NFS v3
>> server
>> timing out on CentOS 8 client after ~13-14 minutes of file copying.
>>
>> But going back to -p8 did; there were no more "CPU stuck", stack traces
>> on CentOS 8.
>>
>> Update of -p9 brought changes to libcasper
>>
>
Bug filed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259163


- parv

>