lot of memory consumption for nodebb
-
@phenomlab said in lot of memory consumption for nodebb:
don't forget that your server is using a systemctl daemon for nodebb, so stopping and restarting from the command line won't help as it's already running under another PID
Nope I delete the nodebb daemon for manual starting
-
@baris said in lot of memory consumption for nodebb:
@DownPW, try again with https://github.com/NodeBB/NodeBB/commit/db291ecde11acac6671e551a3855b6e9e52cc86d, don't forget to restart after applying the change. Let me know if you get other crashes.
This fix seems to be working @baris
No nodebb crash and restart now , just these messages :
TypeError: Cannot read properties of undefined (reading 'image') at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15) at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21) at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11) at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12) at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17) at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15) at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18) at async Promise.all (index 0) TypeError: Cannot read properties of undefined (reading 'image') at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15) at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21) at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11) at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12) at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17) at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15) at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18) at async Promise.all (index 0) TypeError: Cannot read properties of undefined (reading 'image') at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15) at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21) at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11) at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12) at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17) at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15) at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18) at async Promise.all (index 0) TypeError: Cannot read properties of undefined (reading 'image') at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15) at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21) at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11) at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12) at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17) at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15) at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18) at async Promise.all (index 0)
It's better. Many thanks to you !!
I will come back to you if necessary
-
@phenomlab said in lot of memory consumption for nodebb:
@DownPW a rebuild of the emoji should fix that issue i think. I might be wrong.
nope doesn't work.