Hi!
I’m using Newspaper 9.2.2 + WPBakery Page Builder 5.6 + Mega Addons For Visual Composer Free 2.2,
It would seem that when I use the Backend with al lot of elements of WPBakery Page Builder 5.6 (card element, 4 tabs, text block, accordion, etc., my server goes in crash (100% CPU, 1GB memory full, lot of number process and immission), mainly when I save the page with the changes.
Is it possible to limit CPU resource usage up to 75% and even memory up to 75%, so the website doesn’t crash?.
Is it a problem with the admin-ajax.php file while working in the backend?
I trust in your solution!
Hi,
It could be that WPBakery causes the crashes, it is quite heavy on resource usage. It should work fine with these requirements – https://tagdiv.com/newspaper-theme-requirements/
For memory we recommend 256M if possible, this would be enough for most websites. Please check the guide carefully, if needed ask the hosting provider to increase the values of the parameters mentioned in it.
Thanks
I have these settings in particular:
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
php_value memory_limit 768M
php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 50M
php_value upload_max_filesize 50M
Do you believe that if a Windows computer is infected with some sort of virus/malware, and I speak in particular of the Chrome browser, it can crash a server while editing some pages?
1) There is some PHP or Plugin code that says not to saturate the whole CPU and RAM memory of a server to avoid future blocks without changing hosting?
2) Are you aware if the latest versions if the latest versions of Newspaper and WPBakery Page Builder have improved in memory management?
3) What can you tell me to identify with certainty what all these resources consume?
Thanks!
Those look fine, with those resources there should be no crashes.
You could try if possible with a different browser, or a different computer, see if the same happens.
I did found some guides that mention common causes for this to happen, and some suggestions for it that you could check
– https://hostadvice.com/how-to/how-to-reduce-cpu-usage-by-limiting-wordpress-heartbeat-api/
– https://onlinemediamasters.com/slow-wordpress-admin-panel/
– https://wordpress.org/support/topic/how-to-fix-wordpress-high-cpu-usage/
– https://www.geckoandfly.com/7512/7-methods-to-reduce-wordpress-cpu-usage-without-upgrading-web-hosting-plan/