0
0 Comments

请大家帮忙看下,搭建集群时,启动configServer报了如下的错误:
configServer的配置文件:
#!/bin/bash
systemLog:
destination: file
path: /db/configS/log/configServer.log ###日志存储位置
logAppend: true
storage:
journal: ##journal配置
enabled: true
dbPath: /db/configS/data ##数据文件存储位置
directoryPerDB: true ##是否一个库一个文件夹
engine: wiredTiger ##数据引擎
wiredTiger: ##WT引擎配置
engineConfig:
cacheSizeGB: 6 ###设置为6G,默认为物理内存的一半
directoryForIndexes: true ##是否将索引也按数据库名单独存储
collectionConfig: ##表压缩配置
blockCompressor: snappy
indexConfig: ##索引配置
prefixCompression: true
net: ##端口配置
port: 30001
processManagement: #配置启动管理方式
fork: true
sharding: ##分片配置
clusterRole: configsvr ##分片角色
conf]$ /usr/local/mongodb/bin/mongod -f /usr/local/mongodb/conf/configServer.conf时报了如下错误:
2015-10-21T13:13:44.508+0800 I CONTROL ***** SERVER RESTARTED *****
2015-10-21T13:13:44.538+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=6G,session_max=20000,eviction=(threads_max=4),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),
2015-10-21T13:13:44.594+0800 E STORAGE [initandlisten] WiredTiger (0) [1445404424:594368][8936:0x2b1104aaa420]: wt_snappy_decompress: stored size exceeds buffer size
2015-10-21T13:13:45.037+0800 I – [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error
2015-10-21T13:13:45.037+0800 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
2015-10-21T13:13:45.037+0800 I CONTROL [initandlisten] dbexit: rc: 100