0

I'm having a strange morning where the CPU usage on my server is running way up. Like 35-50%.

htop shows nothing running like that, but PHP processes once in a while spiking. I can't seem to figure this out out. Anyone here have suggestions to find the answer?

enter image description here

1

Determine whether this is activity for services you are providing from this host. If not, investigate whether it is unauthorized and should be removed. If it is legit activity, check whether performance is acceptable to you.

Be comprehensive in your investigation. PHP usually mean web apps, review the access logs. Look at log files in general, especially user authentication. Profile the applications to see where they are using CPU, either a PHP specific profiler or system wide with perf record. Compare applications installed with their last known good backup, look for unauthorized (or poorly documented) changes.

CPU increasing from 5% to 40% probably is a notable event. However, you must investigate what runs on this box. There is no way we know what apps you run, let alone what is good performance or expected load for them.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.