Slow query causes server to crash
-
Front End PM Ver 10.1.5
mysql Ver 15.1 Distrib 10.3.7-MariaDB, for Linux (x86_64) using readline 5.1
PHP 7.2.7
wordpress 5.0.3I have a very large user site that uses page caching.
Once I posted the article update cache, the server load rose sharply.
I noticed that there are many slow queries below.
SELECT COUNT(*) FROM wp_fep_messages INNER JOIN wp_fep_participants ON ( wp_fep_messages.mgs_id = wp_fep_participants.mgs_id ) WHERE 1=1 AND wp_fep_messages.mgs_parent = 0 AND wp_fep_messages.mgs_type = 'message' AND wp_fep_messages.mgs_status = 'publish' AND ((wp_fep_participants.mgs_participant = 351985 AND wp_fep_participants.mgs_deleted = 0));
Too many such queries make the server unaffordable.
Once I close the plugin, the site won’t have this type of problem.The previous old version of the plugin seems to have no such problem.
- The topic ‘Slow query causes server to crash’ is closed to new replies.