I have a weird problem. I'm using libnfs 3.0.0-2 and nfs-utils 2.3.3-1 on arch-linux.
Sometimes nfs exports are being unresponsive and can not mount any export and mounted clients are can not read and write to these shares. Also showmount -e $nfsserver is shows nothing. After nfs-server restart everything goes back normal. The problem happens 4-5 times in a year. I have the issue over a year and can not track the problem due to no log or errors in server side and so much clients to investigate.
I only see one error in logs and I'm not sure this is related to this problem because problem not occurs after the log everytime.
The error log: "nfsd: peername failed (err 107)!"
I'm using nfs-server in archlinux. I have 30++ exports and high client usage. Clients are very differ; redhat, linux, windows and datastore. BTW: I have a very strong server. 20core, x2 socket and bunch of free rams.
I think first of all I need to open nfs-server debug but the problem not happens few months so it's hard to leave debug open due to prod system.
BTW: My nfs.conf only has an open line which is "threads=128"
What should I do?