Plugin consumed all memory and crash the server
-
After updating this plugin to the latest version, we met such issue:
With a fresh start server, the site works normally, and then after browsing a few pages randomly, the site became slow and eventually crashed due to apache2 consumed all memory.
After some digging, I temporarily fixed it by changingif (!is_admin()) {
toif (!is_admin() && false) {
on line 606 of autologin-links.php – the old version of the code.
There are about 64k users on the site, that’s probably the reason it crashes the server.
The server runs with 4vCPUs and 7G RAM, with apache2 + php7.3.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin consumed all memory and crash the server’ is closed to new replies.