Mongodb 每天宕机,什么原因?!

2017-08-09 10:08:41 +08:00
 zhangzixu

2017-08-08T23:30:44.675+0800 I WRITE [conn6] update raven.project query: { _id: ObjectId('595f38820033c905c91e0415') } planSummary: IDHACK update: { $set: { update_day: [ "2017/07/14", "2017/07/15", "2017/07/16", "2017/07/17", "2017/07/18", "2017/07/19", "2017/07/20", "2017/07/21", "2017/07/22", "2017/07/23", "2017/07/24", "2017/07/25", "2017/07/31", "2017/08/02", "2017/08/03", "2017/08/04", "2017/08/06", "2017/08/07", "2017/08/08" ], update_p ublicnet: [ 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211, 5211 ], update_patent: [ 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435, 1435 ], update_cnki: [ 2401, 2401, 2401, 2401, 2401, 2401, 2401, 2401, 2401, 2401, 2401, 2401, 2401, 2567, 2567, 2567, 2567, 2567, 2567 ] } } keysExamined:1 docsExamined:1 nMatched:1 nModified:0 nu mYields:2 locks:{ Global: { acquireCount: { r: 3, w: 3 } }, Database: { acquireCount: { w: 3 } }, Collection: { acquireCount: { w: 3 } } } 31955ms 2017-08-08T23:30:45.347+0800 I COMMAND [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 419ms 2017-08-08T23:30:54.143+0800 I COMMAND [conn60] command admin.$cmd command: ping { ping: 1 } numYields:0 reslen:22 locks:{} protocol:op_command 3746m s

2017-08-09T09:24:21.152+0800 I CONTROL [main] ***** SERVER RESTARTED ***** 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] MongoDB starting : pid=28316 port=27017 dbpath=/database/mongodb 64-bit host=VM-63-189-ubuntu 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] db version v3.4.5 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] git version: 520b8f3092c48d934f0cd78ab5f40fe594f96863 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] allocator: tcmalloc 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] modules: none 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] build environment: 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] distmod: ubuntu1604 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] distarch: x86_64 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] target_arch: x86_64 2017-08-09T09:24:21.236+0800 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "0.0.0.0", port: 27017 }, storage: { dbPath: "/database/mongodb", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log", quiet: true } } 2017-08-09T09:24:21.236+0800 W - [initandlisten] Detected unclean shutdown - /database/mongodb/mongod.lock is not empty. 2017-08-09T09:24:21.299+0800 I - [initandlisten] Detected data files in /database/mongodb created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2017-08-09T09:24:21.299+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint. 2017-08-09T09:24:21.299+0800 I STORAGE [initandlisten] 2017-08-09T09:24:21.299+0800 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine 2017-08-09T09:24:21.299+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem 2017-08-09T09:24:21.299+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1399M,session_max=20000,eviction=(threads_min=4,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), 2017-08-09T09:24:22.051+0800 I CONTROL [initandlisten] 2017-08-09T09:24:22.051+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.

5164 次点击
所在节点    MongoDB
2 条回复
fox0001
2017-08-09 10:37:37 +08:00
看得眼花…貌似是 no zuo no die …
hanxiansheng
2017-08-09 20:44:37 +08:00
我也觉得蒙古数据库不太好用

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/381556

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX