12 second response for a page load

tank

Well-Known Member
Apr 12, 2011
255
5
68
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
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.
 

tank

Well-Known Member
Apr 12, 2011
255
5
68
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.
 

tank

Well-Known Member
Apr 12, 2011
255
5
68
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.
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
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?
 
Last edited:

tank

Well-Known Member
Apr 12, 2011
255
5
68
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.
 
Last edited: