icedingo |
01-05-2022 08:09 PM |
Nah, don't do that
Quote:
Originally Posted by Dims
(Post 3579829)
Is self-mount prohibited?
|
It is extremely unwise due to the memory model on most systems. If the system needs to free RAM, one thing it might do is attempt to free RAM being used by the NFS client filesystem as a buffer cache. Part of that process will be to flush changes to disk (ie over NFS to the same system), which in turn may require more RAM on the server side of the interaction. Oops, deadlock, or maybe the OOM killer will shoot down some process you prefer it didn't.
Of course, this is a generalization, YMMV, and in particular if you can stay away from OOM or near OOM conditions, or if you can ensure your NFS server stack never needs more RAM you could be golden. But who needs that stress, just don't do it!
|