High load PHP - Can't use php caching system

Mr_Parham

Well-Known Member
#1
Hi

I host a single website (quite a big website I would say) on a quite powerful server

Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
32GB Ram
3 SSD disks (One for OS and database and two on software raid 1 for /home)

I use cPanel and litespeed, the problem I have is the server is under huge loads because of the PHP, I tried using xcache but some of the functionality of the website stopped working and also there was not much difference in the load of the server to be honest, any idea how I can reduce the load?

Regards
Parham
 

Attachments

Mr_Parham

Well-Known Member
#3
I couldn't see any difference, I enabled I'm under attack mod from cloudflare as this load seem kinda strange to me, is there a way that litespeed would be able to work with cloudflare in order to get the real IP address of the user instead of the cloudflare so I can use the security setting of litespeed as well?
 

mistwang

LiteSpeed Staff
#5
Your PHP code is CPU intensive, make sure you have a working PHP opcode cache.
If you use off shelf application like wordpress, joomla, should review the plugins used, avoid poorly written plugin that uses a lot server resource, looking into application's cache solution.

If you wrote your own website, you should profile your code to find out the bottle neck.
 
Top