fcastro86

Member
Mar 20, 2012
20
0
51
cPanel Access Level
Root Administrator
Hello,

I have a client with a Word Press, however from time to time I check with top my server and it has a php process running for quite some time using100% cpu.

Is there a way to prevent this from happening? automatically kill php process after certain time of life?

Thanks in advance.
 

PenguinInternet

Well-Known Member
PartnerNOC
Jun 20, 2007
196
27
78
Cardiff, UK
cPanel Access Level
DataCenter Provider
Twitter
You need to determine what within Wordpress is causing the high load then - is it Wordpress itself, is it a module, etc. It's rare for Wordpress itself to cause a high load unless a site is either under a brute force attack or getting significant amounts of visitors.

I wouldn't recommend going down the lines of trying to kill processes automatically as you're more likely to end up with a corrupted database, etc.

Cloudlinux could be another option, however unless you're providing a fully managed service you could ask your client to look into why they are monopolising resources.