mountd(8) Hangs

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Mon, 26 May 2025 16:25:57 UTC
I've noticed over the past month or so mountd(8) hanging on an NFS server 
here when the NFS server is running poudriere. This only occurs when 
poudriere is building multiple little ports resulting in many mounts and 
unmounts due to jails being constituted and torn down. After a while 
mountd(8) ends up in a deadlocked state causing poudriere to seize. The 
workaround is to stop mountd before or immediately following initiation of 
poudriere.

This used to be a problem without the -S flag but now suspend/resume of 
nfsd threads doesn't mitigate the problem either.

Something has changed but I cannot point to any individual commit or group 
of commits that caused this regression.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0