I have been facing a problem where some of the cores gets stuck with nodejs at 100% for hours and hours while not many online users or during the night
I´m looking for some info to debugg which commands are making this problem
i have found this but not sure how to test it with nodebb
You can profile your app with node-tick.
Install node-tick by sudo npm -g install tick
Run your app with enabled profile node --prof ./app.js
After some time with CPU 100% usage stop your app
You can see v8.log in your app directory, now you can read it with node-tick-processor
Run node-tick-processor and explain results
Load v8.log into chrome://tracing to analyse as tree.
any helop will be apreciated