Finding the culprit of 100% CPU usage?

Linode alerts keeps sending me emails every 2 hours:

Your Linode, xxxx, has exceeded the notification threshold (90) for CPU Usage by averaging 97.5% for the last 2 hours.

I used 'ps aux' to find it's one of the apache process:

www-data 12238 100.3 3.8 45956 19048 ? S 01:38 0:00 /usr/sbin/apache2 -k start

And there are also others of them, persisting there. I have no idea how to find which PHP script is the culprit for this. Anybody cares to enlighten me on this? Thanks! :roll:

1 Reply

Your avatar is a commercial advertisement - how cute.

James

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct