The ClosedFileCacheSize parameter keeps the beast objects in cache so that NSS does not need to go to disk and unpack beast information again when it wants the same files. At the server console, enter
nss /ClosedFileCacheSize= value
The default is 100000. The range is 16 - 1000000. On average, each Closed File Cache entry consumes 0.4 - 1 KB of RAM.
Set this parameter to 100000 or more if you have applications on your server that consistently cycle through the same set of files and you suspect that this cache is being flushed when combined with normal server operations.
HINT:The Closed File Cache grows up to the specified amount. Unlike file system cache, Closed File Cache does not take the maximum amount of memory it needs from the start. It also adapts; as memory is consumed by other processes, it dynamically reduces the number of entries so the system does not become starved for memory.