The objective is to disable WiredTiger cursor caching by setting this parameter above 0 in some builds.
The default is -100, which enables caching in WiredTiger because it is less than or equal to 0, and also uses MongoDB cursor caching with a size of 100.
Lower the following WiredTiger file_manager parameters to wiredtiger_open:
- close_handle_minimum: number of handles open before the file manager will look for handles to close. The WT default is 250. Lower to a more reasonable number like 4.
- close_idle_time: amount of time in seconds a file handle needs to be idle before attempting to close it. The default is 28 hours. Lower to 10 seconds.
- close_scan_interval interval in seconds at which to check for files that are inactive and close them. The WT default is 10. Lower to 5 seconds.