If you use pm2 monit
on any of your servers for HE the damn thing has a memory leak and eventually ramps up CPU usage to 100%.. This causes massive delays in the node and API.
use pm2 imonit
instead if you need to monitor or pm2 logs
if you need logging.. as pm2 monit
is trash tier at this point in time sadly. As most tutorials on how to get HE witness or API node uses pm2 monit
in it or mentions it I figured I'd put the word out there.
pm2 monit
My Hive Engine full node API & Witness box was taking anywhere between 2 to 9 seconds to respond before closing down pm2 monit.. While it was still responding due to the 100% CPU usage of the app it was chugging ass for lack of a better term...
Now after closing the damn thing down the replies are sub second..! HUGE IMPROVEMENT!
use htop
on your box and see if pm2 monit
is using high CPU cycles, I know on my box it was literally the most greedy application CPU usage wise up until I killed it. Won't be using it anymore.
pm2 monit
Why You Do This?screen
regardless of it being viewed or not in a terminal might be the cause of this. Initially the pm2 monit
app seems to act alright but when it runs for a while it starts to pick up more and more CPU usage.