0

I am trying to understand what is causing these routine high CPU loads on my server.

The server is using serverpilot on a small Digital Ocean Droplet which comfortable runs a few wordpress sites with very low traffic. Over the last two weeks I have seen (at the same time on a Friday) a process that triggers the following New Relic Alerts for CPU > 80%.

New Relic Data

New Relic Data 2

I am very concerned that this is a malicious PHP script that is sending mail or something similarly annoying. How can I narrow down what is causing the issue and prevent it?

HBruijn
  • 72,524
  • 21
  • 127
  • 192
Taylorsuk
  • 101
  • 1

1 Answers1

1

You (or someone on your behalf) will need to use Scientific Method or similar to determine the cause.

You are already partly on your way in as much as you have defined the problem

A large CPU spike

and have some data to work with. You will need to review the data you have. Analyse your logs and if necessary gather more data and analyse it.

Being structured and methodical is the only way forward in a situation like this.

user9517
  • 114,104
  • 20
  • 206
  • 289