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.

12 second response for a page load

Discussion in 'General Discussion' started by tank, Jun 5, 2013.

  1. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    For some reason now my site takes 12 seconds to load on the front end. The back end of the wordpress installation goes very fast. Any ideas as to why this would be the case.

    Code:
    https://www.qualityhostinginc.com/
    This site has its own IP address. All other sites load fine on the server. I am have ran out of ideas and I am turning to you.

    Sites like GTmetrix | Website Speed and Performance Optimization indicate that the server is not responding at all for 11 seconds. Why would this be.

    Thanks guys any help would be much appreciated.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you recently made any changes to the website? You may want to check the database or MySQL itself to see if that's the bottleneck. It's possible there are tables that need to be repaired or optimized.

    The following guide is intended for servers with high loads, but it also has some information you may find useful when troubleshooting the issue:

    Troubleshooting High Loads on a Linux Server

    Thank you.
     
  3. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Thank you for the response.

    How do I check to see if the MySQL database is the bottleneck. Where would I see this? ( I repaired them anyways)

    Once the site becomes responsive, then it instantly loads everything. The top c command shows 6% used for the site while its trying to serve the page up. I have not changed anything with the site that I know of. I rebuilt apache recently but not sure as to what was changed that would affect the site.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Michael

    My question is how I how do I know where the bottnleneck is happening? Also if the server takes 12 seconds to respond to only my front page and not the admin section, what would that Indicate?

    I have searched for mysql optimization before and have from what I understand, a tune Mysql databases already.

    This is why I am asking questions, so that I can learn how to fix this problem. I greatly appreciate your assistance in this manner.
     
  6. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    Given you're seeing the problem on frontend loads of your site, it might be worth checking if anything loading is for example failing a dns lookup, badly coded plugins on some scripts have the capability to hold the whole page load up whilst the request times out, I'm not 100% sure whether this is possible with wordpress plugins / themes or not.

    A wordpress plugin for investigating what was taking time wp-tuner has unfortunately been unmaintained for some time, haven't used it for years but it was at one point still possible to get it working with some hacks (at your own risk)

    WordPress › Support » [Plugin: WP Tuner] wp tuner, die()

    Otherwise, unless a WP guru wants to chime in you might want to go through each of your plugins and try to find the culprit. The wordpress forums also might be a good bet

    Edit: I'm presuming in the above there is nothing obvious in the php error log?
     
    #6 ThinIce, Jun 10, 2013
    Last edited: Jun 10, 2013
  7. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    When I run a water fall test for this site. I get a 12 second server response time. Then the site loads really fast. I will take a look at the plugins.

    I have no slow queries with my database.

    Thanks

    Edit post:
    So I found the error as far as I can tell. A DEACTIVATED plugin was causing the problem. I deleted then everything was fine. Very unexpected.
     
    #7 tank, Jun 10, 2013
    Last edited: Jun 10, 2013
  8. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    Ah - glad to hear you found it, sometimes the simplest things take the most time :p
     
Loading...

Share This Page