Cameron W

Registered
Nov 5, 2015
3
0
1
Perth
cPanel Access Level
Root Administrator
We are having issues with wordpress sites been very slow to load. We have tried to optimise the wordpress site and install the W3 Total Cache to try to speed up the site on initial load.

Our server is 8GB Ram, 400GB HDD, 4 x 2.6Ghz CPU and the average usage is around 30% CPU, and around 4-5GB Memory Usage. We also seeing no heavy resource usage at any time. We are utilizing around 60% HDD usage.

The bandwidth to the server is also fine as we see a 40-60% utilisation of traffic entering through to our network.

We do use cloudlinux to distribute the resources to all accounts on the server and have no issues with non wordpress sites. If someone could suggest things that we could try, that would be great.
 

Infopro

Well-Known Member
May 20, 2003
17,090
519
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
This is really more of a question for the wordpress support forums than a cPanel issue. Over there they'll probably ask what addons you're using, and if you've tried disabling them all to see if things change. They'll ask if your wordpress site is up to date too of course. This term: "wordpress site is slow" and any others you can think of similar, has been asked millions of times on google.
 

Cameron W

Registered
Nov 5, 2015
3
0
1
Perth
cPanel Access Level
Root Administrator
Hi InfoPro,

It seems to me it's a cpanel issue rather than a wordpress issue. To me it's a firstbyte issue.

Code:
[email protected]:~# curl -w "@curl-format.txt" -o /dev/null -s "example.com"
  time_namelookup:  0.013
  time_connect:  0.014
  time_appconnect:  0.000
  time_pretransfer:  0.014
  time_redirect:  0.000
[B][I][U]  time_starttransfer:  26.158[/U][/I][/B]
  time_total:  26.158

[email protected]:~# curl -w "@curl-format.txt" -o /dev/null -s "example.com"
  time_namelookup:  0.004
  time_connect:  0.005
  time_appconnect:  0.000
  time_pretransfer:  0.006
  time_redirect:  0.000
time_starttransfer:  0.827
  ----------
  time_total:  0.827

[email protected]:~# curl -w "@curl-format.txt" -o /dev/null -s "example.com"
  time_namelookup:  0.004
  time_connect:  0.006
  time_appconnect:  0.000
  time_pretransfer:  0.006
  time_redirect:  0.000
  time_starttransfer:  0.717
  ----------
  time_total:  0.717

[email protected]:~# curl -w "@curl-format.txt" -o /dev/null -s "example.com"
time_namelookup:  0.004
  time_connect:  0.006
  time_appconnect:  0.000
  time_pretransfer:  0.006
  time_redirect:  0.000
time_starttransfer:  0.734
  ----------
  time_total:  0.734

[email protected]:~# curl -w "@curl-format.txt" -o /dev/null "example.com"
  time_namelookup:  0.004
  time_connect:  0.006
  time_appconnect:  0.000
  time_pretransfer:  0.006
  time_redirect:  0.000
  time_starttransfer:  0.752
  ----------
  time_total:  0.752

[email protected]:~# curl -w "@curl-format.txt" -o /dev/null -s "example.com"
  time_namelookup:  0.004
  time_connect:  0.006
  time_appconnect:  0.000
  time_pretransfer:  0.006
  time_redirect:  0.000
  time_starttransfer:  0.735
  ----------
  time_total:  0.735

[email protected]:~# curl -w "@curl-format.txt" -o /dev/null -s "example.com"
time_namelookup:  0.004
  time_connect:  0.006
  time_appconnect:  0.000
  time_pretransfer:  0.006
  time_redirect:  0.000
  time_starttransfer:  0.730
  ----------
  time_total:  0.730

[email protected]:~# curl -w "@curl-format.txt" -o /dev/null -s "example.com"
time_namelookup:  0.004
time_connect:  0.006
time_appconnect:  0.000
time_pretransfer:  0.006
time_redirect:  0.000
time_starttransfer:  0.741
  ----------
  time_total:  0.741
 
Last edited by a moderator:

KungFuJosh

Member
Sep 17, 2016
8
0
1
USA
cPanel Access Level
Root Administrator
Simply running W3 Total Cache isn't enough. You need to be using PHP 5.6 or PHP 5.7, with good caching, gzip support, etc...

If you utilize W3 Total Cache along with some page speed type sites like GTmetrix, you can get a better idea of what you need to do.

Make sure the php.ini limits aren't low for memory and such.

Make sure you have mod_deflate, mod_expires, OPcode cache, APC (or APCu), memcache, mcrypt, etc... active. But be careful, if you have too many packages, or conflicting cache systems active it will slow your server.

Thanks,
Josh