V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐工具
RoboMongo
推荐书目
50 Tips and Tricks for MongoDB Developers
Related Blogs
Snail in a Turtleneck
zhangzixu
V2EX  ›  MongoDB

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

  •  
  •   zhangzixu · 2017-08-09 10:08:41 +08:00 · 5313 次点击
    这是一个创建于 2672 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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.

    2 条回复    2017-08-09 20:44:37 +08:00
    fox0001
        1
    fox0001  
       2017-08-09 10:37:37 +08:00 via Android
    看得眼花…貌似是 no zuo no die …
    hanxiansheng
        2
    hanxiansheng  
       2017-08-09 20:44:37 +08:00
    我也觉得蒙古数据库不太好用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1037 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:56 · PVG 04:56 · LAX 12:56 · JFK 15:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.