LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to set memory cache limit for nfs server (http://www.linuxquestions.org/questions/linux-server-73/how-to-set-memory-cache-limit-for-nfs-server-678629/)

libin88 10-23-2008 04:35 PM

how to set memory cache limit for nfs server
 
HI, I have a machine with 32GB memory. After I start NFS server on that machine, 95% memory eventually will be consumed by NFS. Is there any way I can set cache limit for NFS, such as 5GB, so that I can save the rest of memory for other usage.

Thanks

syg00 10-24-2008 09:23 AM

Short answer - no. But then again, you don't need to.
Disk Cache usage is "ephemeral" - some (other) application wants the memory, cache is released to accommodate.
When the gentoo sites come back up, have a read of this. You might want to play with swappiness - but if it's a production server, you might not.


All times are GMT -5. The time now is 07:06 PM.