How to set maximum disk cache size?

Laszlo Nagy gandalf at
Thu Nov 15 09:04:13 PST 2007

  Hi All,

Is there a way (sysctl?) to tell FreeBSD (6.2 RELEASE) how many memory 
can it use for caching file data from disk?

It might be that FreeBSD will use all available RAM, and reduce the 
cache size whenever a program wants to allocate more memory. It is my 
hope, but I could not find the documentation. RTFM is fine with me but 
please give a keyword where I can start. :-)


More information about the freebsd-questions mailing list