...
Problem Can't see to override the default for "checkpoint" in WT startup. The server fails to start and you get the following in the log 2014-11-24T09:31:43.196-0800 I CONTROL [initandlisten] MongoDB starting : pid=1819 port=27017 dbpath=/ssd-1tb/db 64-bit host=bismark 2014-11-24T09:31:43.196-0800 I CONTROL [initandlisten] db version v2.8.0-rc1 2014-11-24T09:31:43.196-0800 I CONTROL [initandlisten] git version: c8171e7f969519af8b87a43425ae291ee69a0191 2014-11-24T09:31:43.196-0800 I CONTROL [initandlisten] build info: Linux build14.nj1.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49 2014-11-24T09:31:43.196-0800 I CONTROL [initandlisten] allocator: tcmalloc 2014-11-24T09:31:43.196-0800 I CONTROL [initandlisten] options: { processManagement: { fork: true }, storage: { dbPath: "/ssd-1tb/db", engine: "wiredTiger", wiredTiger: { engineConfig: ""checkpoint=(wait=4800)"" } }, systemLog: { destination: "file", path: "/data3/db/server.log" } } 2014-11-24T09:31:43.196-0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=15G,session_max=20000,extensions=[local=(entry=index_collator_extension)],statistics=(all),log=(enabled=true,archive=true,path=journal),checkpoint=(wait=60,log_size=2GB),"checkpoint=(wait=4800)" 2014-11-24T09:31:43.196-0800 E STORAGE [initandlisten] WiredTiger (22) [1416850303:196491][1819:0x7f6f2455cb80], wiredtiger_open: unknown configuration key: 'checkpoint=(wait=4800)': Invalid argument 2014-11-24T09:31:43.196-0800 I - [initandlisten] Fatal Assertion 28561 2014-11-24T09:31:43.196-0800 I - [initandlisten] Reproduce home/alvin/mongodb-linux-x86_64-2.8.0-rc1/bin/mongod --dbpath /ssd-1tb/db --logpath /data3/db/server.log --fork --wiredTigerEngineConfig '"checkpoint=(wait=4800)"' --storageEngine=wiredTiger
john.page commented on Tue, 16 Dec 2014 16:10:59 +0000: Alvin - I'm seeing the same issue - without any extra quotes /home/ec2-user/mongodb-linux-x86_64-e067fff4e3f3079d070ec168f32c24db9a51a944-2014-12-12/bin/mongod --dbpath /data/db --logpath /data/logs/wt2.log --storageEngine=wiredTiger --fork --wiredTigerEngineConfig checkpoint=\(wait=2\) 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] MongoDB starting : pid=934 port=27017 dbpath=/data/db 64-bit host=ip-10-10-2-81 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended. 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] db version v2.8.0-rc3-pre- 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] git version: e067fff4e3f3079d070ec168f32c24db9a51a944 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] build info: Linux build2.nj1.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] allocator: tcmalloc 2014-12-16T16:09:35.654+0000 I CONTROL [initandlisten] options: { processManagement: { fork: true }, storage: { dbPath: "/data/db", engine: "wiredTiger", wiredTiger: { engineConfig: "checkpoint=(wait=2)" } }, systemLog: { destination: "file", path: "/data/logs/wt2.log" } } 2014-12-16T16:09:35.654+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=14G,session_max=20000,extensions=[local=(entry=index_collator_extension)],statistics=(all),log=(enabled=true,archive=true,path=journal,compressor=snappy),checkpoint=(wait=60,log_size=2GB),checkpoint=(wait=2) did you resolve it? alvin commented on Mon, 24 Nov 2014 18:33:30 +0000: script passed in additional quotes - which cased the problem. alvin commented on Mon, 24 Nov 2014 18:00:47 +0000: Looks like there is a problem in the script launching - will investigate. milkie commented on Mon, 24 Nov 2014 17:40:51 +0000: I think the problem is that you are explicitly quoting the argument, thus making the key look like checkpoint=(wait=4800) instead of checkpoint. alvin commented on Mon, 24 Nov 2014 17:37:56 +0000: The command line options are appended to the options being built, but no de-duplicated. /src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 142 ss << "checkpoint=(wait=60,log_size=2GB),"; 143 ss << extraOpenOptions;