Slow site and Connection Errors
-
Hello,
Our site, http://www.mobiletechtalk.co.uk has started to have a number of issues. My problem in troubleshooting is that it seemed to occur when a number of activities took place. Plugin upgrades, new plugins, and an SSL certificate introduction.
The page speed has dipped considerably since then, and we have been receiving object-cache.php errors along with intermittent database connection errors.
What I have done is disable all plugins, rename the mu-plugins folder, remove, restore and reinstall (all 3) the cache.php files.
Whilst the site is speedier when no plugins are included, we go back to the same issue when I add plugins back in one by one. No single plugin seem,s to causing this.
GoDaddy, the host, suggest nothing is wrong their end (despite a 5 and a 3 hour conversation) – “Sort your plugins” was the response.
I’m struggling here to get a stable platform back
-
Slowness/high CPU usage could be due to (but not limited to):
– A poor or memory intensive theme. Switch to the WordPress default theme and test loading time and see if you see a difference. If you do, may be your theme can be re-written to be more efficient.
– Poor or memory intensive plugins. One by one disable plugins and test loading time and see if you see a difference. If you do, may be that plugin can be re-written to be more efficient.
– your server is slow (e.g., “process hang”, overload, you get a lot of visitors, other problems, etc.); generally, every inexpensive host out there is slow.
– I don’t know if you use CloudFlare or not but if you do I would suggest deactivating it and seeing if it helps. Also sometimes a good purge of the cache on CloudFlare can help.
– Lots of images can cause slowness. Also images loaded without compression.
– Lots of external content (facebook/ gravatar/ google adds, etc.) and redirects in general tends to slow sites down.Test your site at (free online testing):
http://tools.pingdom.com/fpt/
http://www.webpagetest.org/
http://network-tools.com/
https://gtmetrix.com/leverage-browser-caching.html
https://developers.google.com/speed/pagespeed/insights/Also, review these resources:
– http://www.wptavern.com/determining-which-plugins-are-slowing-your-site-down
– http://wordpress.stackexchange.com/questions/656/is-there-a-way-to-measure-server-resource-cpu-usage-by-wp-plugins/
– https://ww.wp.xz.cn/plugins/plugins-speed-test/
– try installing the Query Monitor plugin and seeing how long the queries are taking.
– http://www.wptavern.com/my-performance-woes
– http://codex.ww.wp.xz.cn/WordPress_Optimization
– http://codex.ww.wp.xz.cn/High_Traffic_Tips_For_WordPress
– http://codex.ww.wp.xz.cn/WordPress_Optimization/Caching
– http://codex.ww.wp.xz.cn/WordPress_Optimization/WordPress_PerformanceHi ara,
Thanks for this. I’ve looked at all of this that I can, and whilst the speed of the site is indeed poor, more worrying are the error messages we’ve been seeing. (links below)
I should also point out that I’m on a Managed WordPress setup through goDaddy so it’s a shared environment I’d imagine. However GoDaddy say all is well – I don’t have access to see what the intance is doing resource wise unfortunately (and I haven’t found a plugin that shows me that info).
My entire point with all this is that everything was fine, and the only thing I haven’t tried is removing SSL; I’ve restored the plugins, themes, config files etc all to a good month prior to see if that helps. It doesn’t.
Dropping the connection is indicative of an overloaded shared server, as well as “Whilst the site is speedier when no plugins are included, we go back to the same issue when I add plugins back in one by one.” You can’t really do anything about that.
Running out of php memory can possibly be fixed, depending on how much access GD gives you: https://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
The WordPress team has provided a list of recommended hosting providers. For more details and other recommendations, please search through the forums or via Google (or your preferred search engine).
Yeah, I understand but I’m starting to wonder if this is related to the WordPress update recently as others have experienced the same issues in the same hosting company.
I’ve also tried this (php memory change) without success.
There are no major bugs with 4.6; https://ww.wp.xz.cn/support/topic/read-this-first-wordpress-46-master-list?replies=5 GD may not allow extra memory overrides; it’s managed hosting, so typically you have less control over the hosting.
Of course but it’s very suspicious that I’ve seen at least 5 other posts stating the same issue since the upgrade, and using GoDaddy… Explain that?
I’m going to end up finding somebody to have a look who knows what’s going on as I’m reaching my limit.
Well, the common denominator is GoDaddy, not WordPress.
If you like, consider looking for a reputable person on http://jobs.wordpress.net/ or http://directory.codepoet.com or http://upwork.com to help. (FYI, it’s not a good idea to respond to work offers from random forum users who have read about your issues.)
I’ve seen at least 5 other posts stating the same issue since the upgrade, and using GoDaddy… Explain that?
This is not a WP core issue.
It’s highly likely that the problem is with your hosting provider – GoDaddy.
Mark, thanks and I completely agree. It discursively is both GoDaddy and WordPress in this instance though although i agree it night be just GD.
I will use those sites.
I have thought of moving hosts but I’m worried that if it is something in the database just restoring to another host will replicate the issue…
Further to this issue I installed Query Monitor…I have one query that is consisting taking from 0.5s up to 2s..
SELECT option_name, option_value
FROM wp_5jans88f69_options
WHERE autoload = ‘yes’I’ve looked at the table and there seems.to be nothing I can do. The index is there and not fragmented.
I also have http requests that are giving “429 too many requests” responses.
GET
https://themeisle.com/
?post_type=notification
&payload=eyJjaGFubmVsIjozNiwia2V5IjoiNzFhMjg2MjgyNzlmNmQ1NSJ9This seems to relate to the Product Review plugin.
Thoughts on the above, specifically the queries?
SELECT option_name, option_value
FROM wp_5jans88f69_options
WHERE autoload = ‘yes’That doesn’t say exactly what the option is; you’re only finding that it is autoload, as many options are.
I also have http requests that are giving “429 too many requests” responses….
Thats typical of a commercial, low quality theme that is very database-intensive.
That said, the “payload” part sounds suspicious. Deactivate that plugin and see if you still get too many requests.
And, you have nearly 3 seconds of server lag having to do with an https redirect: https://gtmetrix.com/reports/mobiletechtalk.co.uk/iw6bsGag Look at the waterfall tab. It’s either GD’s slow way of implementing SSLs or a mistake on your part.
Hi MArk,
Yes I suspected SSL. All I did was literally “buy” an SSL certificate. I’ve seen the htaccess file has been updated to redirect…but that’s it.
Any ideas what I should be looking at here on the SSL front?
As for the Product Review plugin – I’ll check that now.
You need to correctly implement an SSL with .htaccess, site options and within the database; it’s not easy to do it correctly. Read https://make.ww.wp.xz.cn/support/user-manual/web-publishing/https-for-wordpress/
Mark,
Disabled plugin = no more HTTPS 429 issues which is to be expected I suppose.
The HTTPS redirect is a weird one.
The https redirect is either GD’s slow way of implementing SSLs or a lack of you correctly implementing an SSL with .htaccess, site options and within the database.
The topic ‘Slow site and Connection Errors’ is closed to new replies.