CPU spikes make app really slow on production server

Hi,

I am experiencing a huge spikes on the server with CPU usage constantly around 50%, and sometimes up to 100% and more, which makes the app really slow and unusable. Server has 1GB RAM at the moment, but it has never reached to that point, so I don’t think the RAM is insufficient

I have followed some suggestions here (CPU jumping up like crazy and crashing production server). Below is the htop I ran on the server. It seems like the problem is the node ?!

Server is Ubuntu. I ran this command to install node, then node -v shows the version is 4.8.4
But the problem is still there, so I’m not sure what to do next.

curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

Can anyone help me? Thank you.

Is this with or without users? How many?
Installing Kadira could give you some useful insights.
You might want to try this service if you don’t want to fiddle with setting it up yourself.

This is with users. But not many, just around 10 users at most at the moment.
I will try that performance monitoring service.
Thanks