MongoError: topology was destroyed in 1.6.0



  • now i Upgrade to 1.6.0 ,but Some time later,can't open website,i find log:

    MongoError: Topology was destroyed
    at nextFunction (/usr/src/nodebb/node_modules/mongodb-core/lib/cursor.js:540:25)
    at Cursor.next [as _next] (/usr/src/nodebb/node_modules/mongodb-core/lib/cursor.js:692:3)
    at fetchDocs (/usr/src/nodebb/node_modules/mongodb/lib/cursor.js:856:10)
    at toArray (/usr/src/nodebb/node_modules/mongodb/lib/cursor.js:883:3)
    at Cursor.toArray (/usr/src/nodebb/node_modules/mongodb/lib/cursor.js:836:44)
    at Object.module.getObjects (/usr/src/nodebb/src/database/mongo/hash.js:41:70)
    at async.waterfall.returnData (/usr/src/nodebb/src/widgets/index.js:117:7)
    at nextTask (/usr/src/nodebb/node_modules/async/dist/async.js:5297:14)
    at Object.waterfall (/usr/src/nodebb/node_modules/async/dist/async.js:5307:5)
    at Object.widgets.getWidgetDataForTemplates (/usr/src/nodebb/src/widgets/index.js:115:8)
    at async.waterfall.widgetsByLocation (/usr/src/nodebb/src/widgets/index.js:22:12)
    at nextTask (/usr/src/nodebb/node_modules/async/dist/async.js:5297:14)
    at Object.waterfall (/usr/src/nodebb/node_modules/async/dist/async.js:5307:5)
    at Object.widgets.render (/usr/src/nodebb/src/widgets/index.js:20:8)
    at async.waterfall.options.widgets (/usr/src/nodebb/src/middleware/render.js:53:14)
    at nextTask (/usr/src/nodebb/node_modules/async/dist/async.js:5297:14)
    25/9 02:45:52 [139] - error: /topic/16227/%E5%90%88%E9%9B%86-%E6%AC%A7%E7%BE%8E-%E6%81%90%E6%80%96-bd-1080p-bt%E4%B8%8B%E8%BD%BD-%E9%AC%BC%E4%BD%9C%E7%A7%801-3creepshow-1982-2006-1080p-bluray-dts-x264-hds30-99gb/1
    MongoError: Topology was destroyed


  • Admin

    Check /var/syslog and make sure mongodb isn't being killed by the oom-killer. If so increase ram/swap.


  • Global Moderator

    Restart MongoDB and NodeBB



  • @baris think you


 

Suggested Topics

| |