5 ms·
I think the following would be a worthy challenge to an AI: (entire prompt follows) My NFSv4.2 server occasionally prints this and then some `[nfsd]` proce
by renewiltord 3y ago
I think the following would be a worthy challenge to an AI: (entire prompt follows)
My NFSv4.2 server occasionally prints this and then some `[nfsd]` processes hang. They cannot be killed and the clients that made a request to them will also hang. Processes that were using that NFS mount will become zombies if we try to SIGKILL them
```
Dec 16 16:16:05 host-00 kernel: receive_cb_reply: Got unrecognized reply: calldir 0x1 xpt_bc_xprt 000000005fcc5d1c xid 8ff70faa
```
Is there a setting I can turn off that will reduce the likelihood of this assuming my mounts are read-only and my network is fast?
(prompt ends there)
The correct answer is that if you have NFS delegations on there is a rare bug in the kernel server and client that will cause it to mismap a callback and you'll get bad behaviour all around. One successful change will be to turn off delegations.
ChatGPT-4 is the one that gets the closest. The rest of the models give very generic bullet-point advice that sounds like it's written by a Microsoft Certified Support Engineer or something. That does tell us something interesting since many of these models have the Linux source code in them, but none of them seem to be able to identify that this bug can occur. When the tool can effectively search its own knowledge intensively, I bet we can get something cool out of it. I don't think we're far, but we're not there yet.
- ParetoOptimal 3y agoMixtral had something in that vicinity: Disable NFSv4.2 features: Although you mentioned that your mounts are read-only, it's still possible that some NFSv4.2 features might be causing issues. You can try disabling some of these features by adding the following options to your NFS mount command: vers=4.1,minorversion=1,proto=tcp,sec=sys This will force the client to use NFSv4.1 with TCP and system authentication.
- renewiltord 3y agoIt is pretty close, yeah. I believe delegation is an NFSv4 feature and therefore included in NFSv4.1