-
AuthorPosts
-
May 8, 2020 at 5:18 pm #1211090
This may be a silly question or it may be something, but I’ve been pulling out my hair for the last two weeks. I manage two hosting accounts with GoDaddy. Each has two sites. One account has two websites with simple themes, but higher traffic. The other account has two websites, both with Enfold, but with less traffic (maybe 25 visitors a day on average). The account with Enfold sites has been pegging the meter for resources the last two weeks or so. The other account is doing fine. All of the sites use about 80% of the same plugins.
For the Enfold sites, just logging into the admin panel in the middle of the night can bring the two sites to their knees. Not running backup or doing any uploads/downloads. Just logging into admin. Once a site has frozen, both are locked and inaccessible for about 10-20 minutes. I’ve watched the memory and I/O from cPanel during a login (on another computer) and just logging in throws them both into the red.
I’m looking at a dozen different ways to lighten the load or find the problem, but while searching these forums for advice (and seeing some others with similar issues), I ran GTMetrix. In the waterfall, over half of the requests have significant “blocked” time (that the non-Enfold sites don’t have). Of the 124 requests, well over half have anything from 198ms to 1.97sec of blocking and they’re all Enfold-related. Any idea what that’s all about?
Also, I was logged into one of the accounts a minute ago and the on-dashboard resource widget kept bouncing the CPU between 45% and 92% every second or two, even though I was just sitting there doing nothing. Any thoughts on that?
May 9, 2020 at 6:06 am #1211350Hey amz,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardMay 9, 2020 at 6:47 am #1211354This reply has been marked as private.May 10, 2020 at 6:43 am #1211586Hi,
Thanks for that. I see that you are running security plugins, maybe those could be involved in the problem. What happens if you disable them temporarily?
You could also try to enable the Delete old CSS and JS files under Enfold->Performance to see if that makes any difference.
Sidebar; it’s appearing below the main content on my end on mobile. How can we reproduce the problem?
Best regards,
RikardMay 10, 2020 at 9:17 am #1211609Hi, Rikard,
Giving the Delete old CSS/JS button a try. I will try disabling the security plugins, but I’ve got another pair of higher-trafficked, greater content sites (same host company, same plan, different account) that don’t use Enfold and they’ve used those plugins (and more, like the backup, etc) for some time without the same issues. I’m playing detective and seeing “what’s different & the same between the two accounts” to narrow things down. Those plugins are common to all sites. Wht isn’t common is Enfold. Not saying it is bad code. Maybe it is a bad setting, which is why I gave you the logins. There’s got to be a reason why GTMetrix waterfall is showing 65+ entries with “blocked” time of up to 2 full seconds. I’m also getting a boatload of I/O & PMEM faults shown in the cPanel Resources report. And these only happen when someone tries to log into one of the admin panels (or tries to switch between admin panel sections). I even tried disabling the various stats plugins, but I think they’re more the victims (they display slowly) than the culprits. Could there be other calls or bits of code (similar to the admin-ajax.php issue some people have?) that are causing this? Could Enfold want something from the server or browser that they don’t want to give, so it is timing out?
And about my original question… Can you OR ANYONE enlighten me about the “blocked” result in a GTMetrix waterfall chart? That’s what leads me to believe that one of the players in the game (Enfold, the browser, the hosting server) might not be playing nice with the others.
- This reply was modified 4 years, 6 months ago by amz. Reason: Added discovery about page behavior on mobile
May 19, 2020 at 3:18 am #1214150Hi, Rikard,
Any additional thoughts on the issue above?
As I mentioned, Enfold is the one thing common to the sites that are bogging down. Are there calls or bits of code particular to Enfold that could be causing these timeouts?
Also, as mentioned above, how do “blocked” results in GTMetrix relate to the operation of Enfold?
Thanks!
May 21, 2020 at 2:55 pm #1215012Hi,
According to the GTmetrix documentation, these are the factors that could contribute to blocking time.
– Waiting for an available connection (You’ve hit HTTP/1.x’s maximum connections per host, or HTTP/2’s maximum concurrent streams).
– Downloading/executing JavaScript or CSS (although browsers are getting smarter for minimizing this).
– SSL connection time (normally included in Connection time).
– HTTP Authentication (the extra request required to set up authentication).Based on the info above, the blocking time is probably due to the css/js loading and execution. To get rid of the issue or to decrease the blocking time, try to compress the stylesheets and scrips using the theme’s default Performance > File Compression settings, or by installing a third party plugin such as Autoptimize or BWP Minify.
// https://wordpress.org/plugins/autoptimize/
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.