|
Hi voa,
I copied your example config and started a mongod with
mongod --config mongodb.conf
|
The startup logs show that the cacheSizeGB is correctly set to 4 GB.
2016-01-27T14:00:17.048-0500 I CONTROL [initandlisten] db version v3.2.0
|
2016-01-27T14:00:17.048-0500 I CONTROL [initandlisten] git version: 45d947729a0315accb6d4f15a6b06be6d9c19fe7
|
2016-01-27T14:00:17.048-0500 I CONTROL [initandlisten] allocator: system
|
2016-01-27T14:00:17.048-0500 I CONTROL [initandlisten] modules: none
|
2016-01-27T14:00:17.048-0500 I CONTROL [initandlisten] build environment:
|
2016-01-27T14:00:17.048-0500 I CONTROL [initandlisten] distarch: x86_64
|
2016-01-27T14:00:17.049-0500 I CONTROL [initandlisten] target_arch: x86_64
|
2016-01-27T14:00:17.049-0500 I CONTROL [initandlisten] options: { config: "mongodb.conf", storage: { dbPath: "/Users/thomas/jiratickets/SERVER-22308/db", directoryPerDB: true, engine: "wiredTiger", indexBuildRetry: true, journal: { enabled: true }, syncPeriodSecs: 60.0, wiredTiger: { engineConfig: { cacheSizeGB: 4, directoryForIndexes: true } } } }
|
2016-01-27T14:00:17.049-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=4G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
|
2016-01-27T14:00:17.309-0500 I CONTROL [initandlisten]
|
2016-01-27T14:00:17.309-0500 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
|
2016-01-27T14:00:17.3092016-01-27T14:00:17.352-0500 I NETWORK [initandlisten] waiting for connections on port 27017
|
If you execute the same command and see a different result please comment and we will reopen this ticket.
Thank you,
Thomas
|