-
AuthorPosts
-
November 30, 2021 at 10:21 pm #1331043
Hello,
I have just located a problem on one of my sites with Enfold.
I installed the latest version of Enfold thinking it would fix the problem, all plugins were disabled to test, with another theme everything works fine. Enfold is the problem.
Everything is up to date, theme, plugin and wordpress and there is 500mb of memory for WP, I also tried to put php 8.0
But when I activate Enfold, all the server resources are used and end up crashing the server!
What can I do to fix the problem?
December 1, 2021 at 10:05 am #1331100Hey objectifweb,
Thank you for the inquiry.
Where can we check the issue? Would you mind posting the content of the error logs?
You might want to disable the Performance > File Compression settings temporarily to prevent the theme from creating entries in the database, which contain the content of every scripts and stylesheets in the site.
You could also disable the new post css file feature, which also creates entries in the database. Just add this code in the functions.php file.
/** * Filter to skip css file generation. * You can add logic to skip for certain pages/posts only. * * @since 4.8.6.1 * @param boolean $create * @return boolean true | false or anything else to skip generation of css file */ function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
Best regards,
IsmaelDecember 1, 2021 at 10:49 am #1331113Hello Ismael,
I can’t show it to you for the moment because if I activate the theme, it’s not only the site that crashes but all the sites on the server, moreover for the moment, my client has activated his theme again without telling me and for the moment the site is running well.
I checked the compression settings and they are disabled for the moment but it is not me who disabled it.
If it happens again, I will look for the error log file and come to present it to you.
Thanks for your help, if there is a problem, I will post the rest here
Patrick
December 1, 2021 at 12:57 pm #1331150Hi Ismael,
The problem continues, here are the logs but there is nothing in them, when I put the site in “public”, the server crashes with a 503 message for the whole server, when I put the wordpress in maintenance mode, the site works.– [01/Dec/2021:00:01:11 +0100] “HEAD / HTTP/1.1” 301 – “-” “python-requests/2.21.0”
213.49.199.23 – – [01/Dec/2021:00:01:18 +0100] “GET / HTTP/1.1” 301 – “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8”
213.49.199.23 – – [01/Dec/2021:00:01:23 +0100] “GET / HTTP/1.1” 503 657 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8”
213.49.199.23 – – [01/Dec/2021:00:01:29 +0100] “HEAD /blog HTTP/1.1” 301 – “-” “python-requests/2.21.0”
213.49.199.23 – – [01/Dec/2021:00:01:34 +0100] “GET /blog HTTP/1.1” 301 – “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8”
213.49.199.23 – – [01/Dec/2021:00:01:41 +0100] “GET /blog/ HTTP/1.1” 503 657 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8”
66.249.70.63 – – [01/Dec/2021:00:01:58 +0100] “GET /salle-du-cinema/ HTTP/1.1” 200 12566 “-” “Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
114.119.144.165 – – [01/Dec/2021:00:03:05 +0100] “GET /sport-a-lecole-je-cours-pour-ma-forme-bic-112010/ HTTP/1.1” 403 199 “-” “Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)”
40.77.167.63 – – [01/Dec/2021:00:04:08 +0100] “GET /vente-de-terrains-a-batir-par-soumissions/ HTTP/1.1” 200 13390 “-” “Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)”December 1, 2021 at 1:01 pm #1331152Sorry, the last lines log errors
[Tue Nov 30 20:28:17 2021] [proxy_fcgi:error] [pid 22589] [client 109.89.79.150:0] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/
[Tue Nov 30 20:28:17 2021] [proxy_fcgi:error] [pid 22589] (104)Connection reset by peer: [client 109.89.79.150:0] AH01075: Error dispatching request to : , referer http://actugedinne.be/
[Tue Nov 30 20:28:17 2021] [proxy_fcgi:error] [pid 22588] [client 127.0.0.1:35032] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:28:17 2021] [proxy_fcgi:error] [pid 22588] (104)Connection reset by peer: [client 127.0.0.1:35032] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:28:17 2021] [proxy_fcgi:error] [pid 22589] [client 127.0.0.1:35038] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:28:17 2021] [proxy_fcgi:error] [pid 22589] (104)Connection reset by peer: [client 127.0.0.1:35038] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:28:27 2021] [access_compat:error] [pid 26495] [client 114.119.148.94:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/robots.txt
[Tue Nov 30 20:28:39 2021] [proxy_fcgi:error] [pid 26494] [client 74.125.208.71:0] AH01067: Failed to read FastCGI header
[Tue Nov 30 20:28:39 2021] [proxy_fcgi:error] [pid 26494] (104)Connection reset by peer: [client 74.125.208.71:0] AH01075: Error dispatching request to :
[Tue Nov 30 20:29:01 2021] [proxy_fcgi:error] [pid 26494] [client 127.0.0.1:36140] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:29:01 2021] [proxy_fcgi:error] [pid 26494] (104)Connection reset by peer: [client 127.0.0.1:36140] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:29:15 2021] [proxy_fcgi:error] [pid 26495] [client 127.0.0.1:37778] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:29:15 2021] [proxy_fcgi:error] [pid 26495] (104)Connection reset by peer: [client 127.0.0.1:37778] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:29:28 2021] [proxy_fcgi:error] [pid 26495] [client 127.0.0.1:38362] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:29:28 2021] [proxy_fcgi:error] [pid 26495] (104)Connection reset by peer: [client 127.0.0.1:38362] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:30:00 2021] [proxy_fcgi:error] [pid 26495] [client 127.0.0.1:39456] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:30:00 2021] [proxy_fcgi:error] [pid 26495] (104)Connection reset by peer: [client 127.0.0.1:39456] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:30:12 2021] [proxy_fcgi:error] [pid 26494] [client 127.0.0.1:39922] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:30:12 2021] [proxy_fcgi:error] [pid 26494] (104)Connection reset by peer: [client 127.0.0.1:39922] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:30:37 2021] [proxy_fcgi:error] [pid 26494] [client 127.0.0.1:40568] AH01067: Failed to read FastCGI header, referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 20:30:37 2021] [proxy_fcgi:error] [pid 26494] (104)Connection reset by peer: [client 127.0.0.1:40568] AH01075: Error dispatching request to : , referer http://actugedinne.be/wp-content/uploads/2021/04/tourgedinne_Trim.mp4
[Tue Nov 30 22:01:45 2021] [access_compat:error] [pid 26495] [client 170.233.109.58:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/, referer http://actugedinne.be/
[Tue Nov 30 22:01:57 2021] [access_compat:error] [pid 26495] [client 170.233.109.58:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/, referer http://actugedinne.be/
[Tue Nov 30 22:03:04 2021] [access_compat:error] [pid 26495] [client 114.223.79.0:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/, referer http://actugedinne.be/
[Tue Nov 30 22:03:05 2021] [access_compat:error] [pid 26494] [client 114.223.79.0:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/, referer http://actugedinne.be/
[Tue Nov 30 22:07:29 2021] [access_compat:error] [pid 26494] [client 61.147.15.67:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/
[Tue Nov 30 22:10:33 2021] [access_compat:error] [pid 26494] [client 61.147.15.67:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/
[Tue Nov 30 22:13:46 2021] [access_compat:error] [pid 26495] [client 61.147.15.67:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/
[Tue Nov 30 22:16:35 2021] [access_compat:error] [pid 26494] [client 61.147.15.67:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/
[Tue Nov 30 23:14:48 2021] [access_compat:error] [pid 31829] [client 114.119.144.127:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/wp-content/uploads/2011/11
[Tue Nov 30 23:25:56 2021] [access_compat:error] [pid 31830] [client 195.72.144.185:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/, referer http://actugedinne.be
[Tue Nov 30 23:26:33 2021] [access_compat:error] [pid 31830] [client 114.119.144.116:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/wp-content/uploads/2016/08/PV-de-la-sxc3xa9ance-du-25-mai-2016.pdf
[Tue Nov 30 23:38:44 2021] [access_compat:error] [pid 31830] [client 114.119.132.23:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/exposition-des-artistes-et-artisans-a-la-tannerie-les-26-et-27-septembre
[Tue Nov 30 23:51:08 2021] [access_compat:error] [pid 31830] [client 114.119.144.116:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/emploi-imaje-recrute-des-puericulteurs-des-puericultrices-pour-les-creches-de-gedinne-beauraing-bievre-et-vresse
[Wed Dec 01 00:03:05 2021] [access_compat:error] [pid 31830] [client 114.119.144.165:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/sport-a-lecole-je-cours-pour-ma-forme-bic-112010December 1, 2021 at 2:33 pm #1331169Hi,
Thank you for the update.
Looks like you posted the Apache error logs, and there seems to be an issue with mp4 videos. Where did you add this video? (see private field)
Did you also enable WordPress debugging and error logs? Please post the info here so that we can check the actual PHP or WordPress error.
// https://wordpress.org/support/article/debugging-in-wordpress/
You can add this in the wp-config.php file to set the installation to debug mode and enable the error logs.
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true );
Best regards,
IsmaelDecember 1, 2021 at 3:13 pm #1331175Thank you Ismael,
The MP4 video is not on the server anymore, I asked the client to delete all the big files.
With the configuration you asked me, here is the debug.log of wordpress after the crash of wordpress in a few minutes
Error logs: https://pastebin.com/MpkkeDy2
December 2, 2021 at 10:30 am #1331268Hi,
Thank you for the info.
Based on the errors above, there seems to be an issue with the wp-maintenance-mode plugin and some of the theme files are missing. One of the users is also hitting its maximum connection limit.
Let us walk through the errors one at a time.
[01-Dec-2021 12:44:16 UTC] PHP Notice: Undefined index: social_instagram in /home/www/actugedinne.be/wordpress/wp-content/plugins/wp-maintenance-mode/views/settings.php on line 516
The error or warning above states that the plugin is trying to access an undefined index named social_instagram. Disabling the plugin temporarily or completely removing it should prevent the issue from occurring.
[01-Dec-2021 13:01:04 UTC] PHP Warning: require_once(includes/helper-privacy.php): failed to open stream: No such file or directory in /home/www/actugedinne.be/wordpress/wp-content/themes/enfold/functions.php on line 187
It says here that the includes/helper-privacy.php and the includes/admin/register-dynamic-styles.php files in the enfold theme directory do not exist. Please make sure that the theme is updated to version 4.8.7.2.
[01-Dec-2021 13:05:19 UTC] PHP Warning: mysqli_real_connect(): (HY000/1226): User ‘p5646_19’ has exceeded the ‘max_user_connections’ resource (current value: 20) in /home/www/actugedinne.be/wordpress/wp-includes/wp-db.php on line 1653
I am not really sure what is causing this error but it looks like the user (see private field) has exceeded the maximum MySQL database connections per user. You may need to contact your hosting provider and ask them about this error.
Best regards,
IsmaelDecember 2, 2021 at 10:59 am #1331273Hello Ismael,
Thank you for your analysis, I go over each point with you.
For the plugin wp maintenance mode, it was installed yesterday, well after the failure of the theme, to put the site offline, when I put it online, it crashes after a few minutes, if I rename the directory enfold temporarily, the site comes back online, so the problem is the theme not the plugin The failure was already existing before I install this plugin.
For the PHP Warning error : require_once(includes/helper-privacy.php)
I completely uninstalled the theme on wordpress and I installed the latest version
For the last error, PHP Warning: mysqli_real_connect(): (HY000/1226) : user ‘p5646_19’ has exceeded the resource ‘max_user_connections’ (current value : 20)
It’s not a user, it’s just a warning, so normally it doesn’t block the server, it’s the enfold theme that makes too many requests?
I asked my host, for him the server is running fine and he asked me to check with you the specifications needed to run enfold on their server
Best regards
PatrickDecember 3, 2021 at 6:55 am #1331393Hi,
Thank you for following up.
to check with you the specifications needed to run enfold on their server
The theme should work fine on any servers with at least 1 virtual CPU and 1 GB of RAM or less. But it may vary based on the traffic received by the website on a daily basis. A lot of the Enfold users subscribe to the most basic server plans and the site runs well without having this issue. Since you are using a shared server or the server is shared by a lot of sites, it is possible that other sites are contributing to that crash. It is also possible that one of the plugins installed in the site is causing the issue.
Did you ask your hosting provider why the following errors occur?
[Tue Nov 30 23:51:08 2021] [access_compat:error] [pid 31830] [client 114.119.144.116:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/emploi-imaje-recrute-des-puericulteurs-des-puericultrices-pour-les-creches-de-gedinne-beauraing-bievre-et-vresse
[Wed Dec 01 00:03:05 2021] [access_compat:error] [pid 31830] [client 114.119.144.165:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/sport-a-lecole-je-cours-pour-ma-forme-bic-112010
The following articles might help.
// https://bobcares.com/blog/client-denied-by-server-configuration-wordpress/
Best regards,
IsmaelDecember 3, 2021 at 7:24 am #1331396Thanks Ismael, I’ll already look into it with the host and come back with the results.
I don’t think there is a plugin problem, I have disabled all of them and the problem persists. When I disable Enfold, the problem disappears. When I activate Enfold, after a few seconds, the server becomes inaccessible
Patrick
December 6, 2021 at 8:14 pm #1331755Hi Ismael,
http://actugedinne.be/config-php.php
With this you can verify that the server has everything it needs to run Enfold?
Another question, it seems that Layerslide wp is provided along with the theme but without the updates, this plugin was not a security issue?
December 10, 2021 at 12:02 pm #1332292Hi,
Sorry for the delay. The PHP configurations looks fine, but we would recommend updating to PHP 8.0 or later versions.
What did the hosting provider tell you about the “client denied by server configuration” error? Unfortunately, we are not familiar with it, so we may not be able to help you further. Please keep in touch with your hosting provider.
Can we have access to the site? Please post the login details in the private field.
Best regards,
IsmaelDecember 10, 2021 at 8:47 pm #1332374Hello Ismael,
Tonight I saw that the theme has been updated and so I installed it, with all the cleaning I did, the plugins I added, I just released the site by removing the maintenance mode and for now, the site seems to work normally, so I will continue to monitor, thank you for your help
Patrick
-
AuthorPosts
- You must be logged in to reply to this topic.