Slow website but not cPanel or WHM

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
childrensmedgroup2.com - site has slow load time running on a server with cPanel. I have same exact site on another server which runs on PLESK and I don't experience slow load time. And there is only one web on that server. Site is based on Expression Engine and Code Igniter custom code.

Any clue?

Thanks
 
Last edited:

alphawolf50

Well-Known Member
Apr 28, 2011
186
2
68
cPanel Access Level
Root Administrator
There could be a thousand differences between the two servers that would cause one to be slower. A short list of common differences:

  • Hardware (memory, cpu, RAID, etc)
  • Version and configuration of MySQL... cacheing, buffer sizes, default storage engine...
  • Configuration of Apache... different MPM's, opcode caching, php as DSO vs FCGID vs suPHP, possible DNS lookups, number of workers/servers present, compression...

A good place to start would be to run "top" from the command line on the slow server. Look for processes lingering at the top of the list, high load values, high CPU usage, a large amount of swap used... That should at least give you an idea of where to look.
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
No clue why but most of those slow pages are with PNG images (images are small)

- - - Updated - - -

Here you have results from top command:

top - 09:24:58 up 2 days, 56 min, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 173 total, 1 running, 171 sleeping, 0 stopped, 1 zombie
Cpu(s): 3.8%us, 0.8%sy, 0.0%ni, 95.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 7977192k total, 2809688k used, 5167504k free, 250472k buffers
Swap: 10731512k total, 0k used, 10731512k free, 1973240k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23866 mysql 20 0 790m 33m 4760 S 0.7 0.4 0:30.35 mysqld
549 root 16 -4 11072 1164 312 S 0.3 0.0 0:06.20 udevd
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
Well, I have done this and they bounced ball back to ask server admin (me). Is there any test page in PHP with MySQL communication which will show load time and execution queries so I can proof it is not a server issue?

Thanks
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
I have checked that as well. Also I have created static page based on a dynamic front page removing all JavaScript code and still looks like loading slow.

Here is URL: /http://www.childrensmedgroup2.com/test/index2.html
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
Yeah - that's the problem where I have mostly PNGs on any page and then it loads slow. Check live homepage here: /http://www.childrensmedgroup2.com and you will see and then go to Meet Us - even worse and those images are not big :\
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
Well I have installed simple page (no DB connections) and have same issue with slow load time:

/http://childrensmedgroup2.com/test2/ (cPanel) vs /http://www.thebookretary.com/ (original)

Any clue? For me it points to cPanel/Apache settings.
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
If same site is rendered in a different way (original - no issues vs. copy - slow load time, PNGs are loading in progressive mode) then it points to software which provides site to the world (Apache in that case).
 

Infopro

Well-Known Member
May 20, 2003
17,075
525
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Or some sort of caching setup in the site software, or added modules that are not operating as expected, or something else along those lines. If you suspect issues with your server environment you might consider hiring a qualified System Administrator to come by for a closer look. You can find a list here:
Sys Admin Services | cPanel App Catalog

Are there differences between the two servers? No way of knowing from here I don't think. But, looking over the docs might be useful there:
/http://ee-developer.com/articles/choosing-a-web-host-for-your-expression-engine-site
/http://ee-developer.com/articles/how-to-copy-a-working-expression-engine-installation

All the same, I'm leaning toward a configuration issue somewhere, TBH.
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
Good point - server is in a data center with 10/10 bandwidth to our box. Looks like I need to go there and plug in laptop directly to the switch.

But still I can get it why pages with PNGs are loading them in progressive mode when should to load quickly (small images)
 
Last edited: