Manage GeeseFS memory limits and performance
masterGeeseFS uses RAM for Metadata (file listings) and Data (read/write buffers).
Data Cache
The default data cache limit is 1 GB (--memory-limit). If multiple processes perform large reads simultaneously, they may exceed this limit.
- To prevent exceeding memory: Use the
--use-enomemflag. This will cause GeeseFS to returnENOMEMerrors to processes instead of exceeding the limit. - To allow more memory: Increase
--memory-limit(e.g.,--memory-limit 4000) or reduce the readahead size using--read-ahead-large(e.g.,--read-ahead-large 20).
Metadata Cache
Metadata usage is limited by --entry-limit and --stat-cache-ttl. Non-expired entries cannot be removed from the cache.