After installing it, it has been taking a lot of the CPU on my shared-plan for Siteground, which forced our site to go offline and made us loose sales. I would like to know how to properly set up the plugin to avoid this from happening?
Thank you
]]>Also we observed editing wp_blogs table (from old domain to new domain) makes this high CPU usage. If we again revert back the values to old domain the CPU usage drops to around 20% instantly.
Please let us know what may be the cause of this.
]]>WordPress is currently on the latest update 5.9.2, as it was still up to date in January.
we already tried to see if it was a combination of plugins, but whenever amazonlinks kicks in it detonates all the features.
if you need more logs, let me know which ones and I can provide them.
all my prints from my server acp:
https://i.imgur.com/CWbVOeI.png`
]]>When I checked the high CPU usage using the htop command, it shows lsphp and MySQL are using a lot of cpu.
What is index.phto_avoid_overwrite_important_env
??
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
393350 mysql 20 0 3693084 1.4g 6540 S 227.8 18.6 5422:03 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --log-error=server.mydomain.tld.err --pid-file=/usr/local/mysql/data/mysqld.pid --socket=/usr/local/mysql/data/mysql.sock
4154604 admin 20 0 359308 145868 78260 S 50.0 1.8 0:14.42 lsphp:ains/mydomain.tld/private_html/index.phto_avoid_overwrite_important_env
4154608 admin 20 0 359708 144828 78260 R 50.0 1.8 0:09.97 lsphp:ains/mydomain.tld/private_html/index.phto_avoid_overwrite_important_env
4154610 admin 20 0 359528 145836 78260 R 50.0 1.8 0:11.18 lsphp:ains/mydomain.tld/private_html/index.phto_avoid_overwrite_important_env
4155190 root 20 0 43256 30404 2920 D 33.3 0.4 0:03.34 lfd - checking directories
4155254 admin 20 0 234728 36820 22008 R 27.8 0.5 0:00.06 lsphp:ains/mydomain.tld/private_html/index.phto_avoid_overwrite_important_env
]]>Since I’ve updated my sites to version 2.1.5.1 there are huge spikes in the CPU usage during the generate process.
I’ve noticed that at some point of the process the plugin start generating a lot of queries for a DB schema update, over and over again the same update. I believe that for each new page added in wp_simply_static_pages such update request is being sent.
I have another site that is still using version 2.1.4.2 and there is no such problem.
I’m adding a small portion of the process list as a reference.
+-------+-------+------+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ID | USER | TIME | STATE | INFO |
+-------+-------+------+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 23148 | eeb86 | 3001 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 22965 | eeb86 | 3001 | Waiting for table level lock | UPDATE <code>wp_simply_static_pages</code> SET <code>content_hash</code> = 'e6d716de8f35ba6daf55d57e7fe0ed8d8e50f1f7', <code>last_modified_at</code> = '2021-11-04 12:04:21' WHERE <code>id</code> = '12989' |
| 23201 | eeb86 | 2994 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23197 | eeb86 | 2994 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23219 | eeb86 | 2992 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23226 | eeb86 | 2991 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23243 | eeb86 | 2989 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23257 | eeb86 | 2987 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23254 | eeb86 | 2987 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23271 | eeb86 | 2985 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
| 23300 | eeb86 | 2983 | Waiting for table metadata lock | ALTER TABLE wp_simply_static_pages CHANGE COLUMN <code>id</code> id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT |
]]>I am using WP optimize plugin, But when ever I used that plugin to compress the images, My mysql server CPU usage is going to 100% and Site is going to unresponsive and throwing 504 errors,
I am using an exteranal mysql server with 8GB of RAM and 8 core CPU centos server
]]>Error establishing a database connection
error on my site, i checked all the plugins, when i deactivate woocommerce site doesnt work at all. i see when i visit the site cpu usage is 99%. my optimization score is fine. i also contacted hosting company they say its not about their servers or my hosting package.can you please help ?
]]>I also had the same problem with Wocommerce admin plugin version 2.4.1, when opening the oder detail pages and product detail page cause high CPU usage for MySQL process.
Now I have removed the Wocommerce admin plugin and downgraded WooCommerce to version 4.4.2, everything is back to normal.
Has anyone had the same problem as me?
]]>Over the last few months, out of nowhere, with no new themes/plugins installed I have noticed my website keeps crashing/freezing.
Once looking on the cPANEL i noticed that the CPU Usage is regularly maxing out at 100% while the Disk Usage is also quite high.
I am no expert when it comes to web design but I believe I know the basics. So I have done my research and followed the usual things such as installing the Fast Velocity Minify plugin.
I followed everything on this website also: https://www.ecenica.com/support/answer/fix-high-cpu-load-wordpress/
All plugins that my website don’t need, I have disabled and deleted while all current ones are up to date.
I have spoken with my host, who has said they believe they have done everything they can do there end (they have been very helpful) and have never seen anything like this.
The rest of my website (forum and emails) run smoothly most of the time. It seems to be something within WordPress that is causing the problems.
Any help would be much appreciated
]]>