I want to persist the following parameters and modify them into mongod.conf. Currently, the configuration is not recognized.
db.adminCommand({setParameter: 1,wiredTigerEngineRuntimeConfig:“eviction=(threads_min=6,threads_max=12)”});
vim mongod.conf
sharding:
clusterRole: shardsvr
storage:
dbPath: /mongodb_sh1_27003/db
wiredTigerEngineRuntimeConfig:“eviction=(threads_min=6,threads_max=12)”
wiredTiger:
engineConfig:
cacheSizeGB: 1
Error when starting mongod
$ mongod -f mongod.conf
Unrecognized option: storage.wiredTigerEngineRuntimeConfig
try ‘mongod --help’ for more information