The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Slow website but not cPanel or WHM

Discussion in 'General Discussion' started by InteractM, Apr 4, 2013.

  1. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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
     
    #1 InteractM, Apr 4, 2013
    Last edited: Apr 4, 2013
  2. alphawolf50

    alphawolf50 Well-Known Member

    Joined:
    Apr 28, 2011
    Messages:
    186
    Likes Received:
    2
    Trophy Points:
    18
    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.
     
  3. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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:

     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might do better to ask for assistance with this over on the EE forums.
     
  5. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There might be something along those lines built into your script.

    /http://ellislab.com/expressionengine/user-guide/cp/admin/output_and_debugging_preferences.html
     
  7. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Loads fine for me. The image in center of page is a bit slow to load.
     
  9. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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 :\
     
  10. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks, but I don't need any more links to your site. ;)

    As mentioned, this isn't exactly a cPanel issue. I believe this is related to your site software, how you created those images or some other issue.
     
  11. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    So why site works fine on another server (which uses PLESK) but not on cPanel?
     
  12. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I can't answer that, sorry. No experience with the software you're using for your website.
     
  13. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Well, can you give me some "test landing page" so I can proof this is not an issue with a server running cPanel?
     
  14. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  15. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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.
     
  16. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    No. What makes you think that?
     
  17. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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).
     
  18. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    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.
     
  19. LDHosting

    LDHosting Well-Known Member

    Joined:
    Jan 19, 2008
    Messages:
    93
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    @InteractM Are you sure there is not some kind of network issue with that server? What kind of download speeds do you see from that server? While Apache seems to be responding ok for the most part, I'm struggling to download any of the images / javascript at more than ~20K/s
     
  20. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    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)
     
    #20 InteractM, Apr 5, 2013
    Last edited: Apr 5, 2013
Loading...

Share This Page