100% CPU utilization on EC2 [closed]

My EC2 instance has been crashed by periods of 100% utilization twice during the last 2 days and I am trying to figure out what is happening here.

As you can see in the image below there were two plateaus of 100% CPU usage (the subsequent spike is me rebooting the instance).

This started happening after I started running a Django server on the instance. Prior to that, I had an Express.js server running there with no issues.

My Django server is being hosted by apache with mod_wsgi. I checked the access and error logs for apache and there seems to be nothing weird going on - all the activity is from me playing around and the occasional bot.

Where should I start investigating?

enter image description here

Not sure why my question was closed. I'm not asking people to debug for me. I'm looking for advice on how to find out what the issue is.

Back to Top