@pitaj Hmm, you're right. I wonder why we missed that.
Thank you :).
i am using nodebb 1.0.3, everything was working fine when did a new install, but when i imported BBpress data, about 0.1 million posts,
now visiting the pages of admin only Crashesh the nodeBB, 503 excessive load error, what to do now ?
@julian
Upgraded it to 1.4.2, same problem.
2017-01-07T19:14:47.312-0500 I COMMAND [conn18] command anil3.objects command: getMore { getMore: 25063041612, collection: "objects", batchSize: 1000 } cursorid:25063041612 keyUpdates:0 writeConflicts:0 numYields:11 nreturned:1000 reslen:41990 locks:{ Global: { acquireCount: { r: 24 } }, Database: { acquireCount: { r: 12 } }, Collection: { acquireCount: { r: 12 } } } protocol:op_query 103ms
2017-01-07T19:14:47.328-0500 I COMMAND [conn14] command anil3.objects command: getMore { getMore: 21957663447, collection: "objects", batchSize: 1000 } cursorid:21957663447 keyUpdates:0 writeConflicts:0 numYields:11 nreturned:1000 reslen:41990 locks:{ Global: { acquireCount: { r: 24 } }, Database: { acquireCount: { r: 12 } }, Collection: { acquireCount: { r: 12 } } } protocol:op_query 114ms
2017-01-07T19:14:47.975-0500 I COMMAND [conn14] command anil3.objects command: getMore { getMore: 21957663447, collection: "objects", batchSize: 1000 } cursorid:21957663447 keyUpdates:0 writeConflicts:0 numYields:13 nreturned:1000 reslen:41990 locks:{ Global: { acquireCount: { r: 28 } }, Database: { acquireCount: { r: 14 } }, Collection: { acquireCount: { r: 14 } } } protocol:op_query 180ms
2017-01-07T19:14:47.976-0500 I COMMAND [conn18] command anil3.objects command: getMore { getMore: 25063041612, collection: "objects", batchSize: 1000 } cursorid:25063041612 keyUpdates:0 writeConflicts:0 numYields:13 nreturned:1000 reslen:41990 locks:{ Global: { acquireCount: { r: 28 } }, Database: { acquireCount: { r: 14 } }, Collection: { acquireCount: { r: 14 } } } protocol:op_query 200ms
2017-01-07T19:14:47.976-0500 I COMMAND [conn17] command anil3.objects command: getMore { getMore: 22924441636, collection: "objects", batchSize: 1000 } cursorid:22924441636 keyUpdates:0 writeConflicts:0 numYields:12 nreturned:1000 reslen:41990 locks:{ Global: { acquireCount: { r: 26 } }, Database: { acquireCount: { r: 13 } }, Collection: { acquireCount: { r: 13 } } } protocol:op_query 185ms
Hi there,
Can you please provide the following information to help us debug?
git rev-parse HEAD
from the root of your NodeBB folderThanks!
@julian said in Visiting administrator users pages crashes the Nodebb - 503:
Hi there,
Can you please provide the following information to help us debug?
- Server or client operating system (if applicable)
- NodeBB version and hash
- To get the hash, run
git rev-parse HEAD
from the root of your NodeBB folder- Any crash logs from your running NodeBB process.
Thanks!
unbuntu 14 64 bit 8gb ram 4 cpus
git rev-parse Head output - 376e0319280a986eedadc0127c4580c6f6610e41
Type Ctrl-C to exit
9/1 00:19 [1738] - warn: [plugins] Unable to parse library for: nodebb-plugin-import-wordpress
9/1 00:19 [1738] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
* nodebb-plugin-import
* nodebb-plugin-import-wordpress
9/1 00:20 [1738] - info: NodeBB Ready
9/1 00:20 [1738] - info: Enabling 'trust proxy'
9/1 00:20 [1738] - info: NodeBB is now listening on: 0.0.0.0:4567
9/1 00:20 [1738] - info: [plugins/spam-be-gone] Settings loaded
Here is log captured on starting.
Type Ctrl-C to exit
9/1 00:39 [1835] - info: NodeBB Ready
9/1 00:39 [1835] - info: Enabling 'trust proxy'
9/1 00:39 [1835] - info: NodeBB is now listening on: 0.0.0.0:4567
9/1 00:39 [1835] - info: [plugins/spam-be-gone] Settings loaded
Clustering enabled: Spinning up 1 process(es).
9/1 00:43 [1873] - info: Time: Mon Jan 09 2017 00:43:49 GMT-0500 (EST)
9/1 00:43 [1873] - info: Initializing NodeBB v1.0.3
9/1 00:43 [1873] - warn: You have no mongo password setup!
9/1 00:43 [1873] - info: [database] Checking database indices.
9/1 00:43 [1873] - error: Error: ENOENT, no such file or directory '../package.j son'
at Object.fs.openSync (fs.js:432:18)
at Object.fs.readFileSync (fs.js:286:15)
at Object.readFileSync (/var/www/nodebb/forums/node_modules/nodebb-plugin-im port-wordpress/node_modules/fs-extra/node_modules/jsonfile/index.js:66:20)
at Object.<anonymous> (/var/www/nodebb/forums/node_modules/nodebb-plugin-imp ort-wordpress/admin/index.js:5:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.Plugins.requireLibrary (/var/www/nodebb/forums/src/plugins.js:42:3 3)
at registerHooks (/var/www/nodebb/forums/src/plugins/load.js:88:13)
at /var/www/nodebb/forums/src/plugins/load.js:31:6
at /var/www/nodebb/forums/node_modules/async/lib/async.js:718:13
at async.forEachOf.async.eachOf (/var/www/nodebb/forums/node_modules/async/l ib/async.js:233:13)
at _parallel (/var/www/nodebb/forums/node_modules/async/lib/async.js:717:9)
at Object.async.parallel (/var/www/nodebb/forums/node_modules/async/lib/asyn c.js:731:9)
at /var/www/nodebb/forums/src/plugins/load.js:29:10
at /var/www/nodebb/forums/src/plugins/load.js:291:5
at /var/www/nodebb/forums/node_modules/async/lib/async.js:726:13
at /var/www/nodebb/forums/node_modules/async/lib/async.js:52:16
at done (/var/www/nodebb/forums/node_modules/async/lib/async.js:246:17)
9/1 00:43 [1873] - warn: [plugins] Unable to parse library for: nodebb-plugin-im port-wordpress
9/1 00:43 [1873] - warn: [plugins/load] The following plugins may not be compati ble with your version of NodeBB. This may cause unintended behaviour or crashing . In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb re set -p PLUGINNAME` to disable it.
* nodebb-plugin-import
* nodebb-plugin-import-wordpress
9/1 00:44 [1873] - info: NodeBB Ready
9/1 00:44 [1873] - info: Enabling 'trust proxy'
9/1 00:44 [1873] - error: Error: listen EADDRINUSE
at errnoException (net.js:901:11)
at Server._listen2 (net.js:1039:14)
at listen (net.js:1061:10)
at Server.listen (net.js:1135:5)
at listen (/var/www/nodebb/forums/src/webserver.js:181:17)
at /var/www/nodebb/forums/src/webserver.js:58:3
at EventEmitter.<anonymous> (/var/www/nodebb/forums/src/emitter.js:17:5)
at EventEmitter.emit (events.js:92:17)
at /var/www/nodebb/forums/src/meta/css.js:117:14
at /var/www/nodebb/forums/node_modules/async/lib/async.js:726:13
at /var/www/nodebb/forums/node_modules/async/lib/async.js:52:16
at /var/www/nodebb/forums/node_modules/async/lib/async.js:269:32
at /var/www/nodebb/forums/node_modules/async/lib/async.js:44:16
at /var/www/nodebb/forums/node_modules/async/lib/async.js:723:17
at /var/www/nodebb/forums/node_modules/async/lib/async.js:167:37
at /var/www/nodebb/forums/src/meta/css.js:202:8
at /var/www/nodebb/forums/src/meta/css.js:165:4
at /var/www/nodebb/forums/node_modules/nodebb-plugin-import-wordpress/node_modules/fs-extra/node_modules/jsonfile/node_modules/graceful-fs/graceful-fs.js:43:10
at /usr/lib/nodejs/graceful-fs/graceful-fs.js:103:5
at /var/www/nodebb/forums/node_modules/less/node_modules/graceful-fs/graceful-fs.js:43:10
at Object.oncomplete (fs.js:107:15)
9/1 00:44 [1873] - error: NodeBB address in use, exiting...
[cluster] Child Process (1873) has exited (code: 0, signal: null)
Also post edit button hangs nodebb.