I recently setup a new Droplet (most basic one) and running react app with very light express server with pm2 (server has been running 16h with 0% cpu usage and 90mb ram).
I started the server, no issues there cpu was around 3% and I was testing the website, loading videos etc. I left it overnight and once I loaded the stats it was showing that the droplet was using CPU at 100% for the past 10h or so and I could see the spike going within couple of minutes from 3% to full 100%.
Note, my website doesnt have any traffic, nor the domain yet so there was no usage. In fact the bandwidth was at 0mb/s for the whole time.
I just restarted the pm2 server and its seems like the cpu is dropping once again. Why is the droplet jumps to 100% cpu usage for no reason when its not even used?