• Resolved jasonyoungmagfast

    (@jasonyoungmagfast)


    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 changing if (!is_admin()) { to if (!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)
  • Plugin Author WPAutoLogin

    (@wpautologin)

    Hello there! Thank you for reporting. This is an instance of an old error. I though it was only occurring when that many users are submitted to the client-side JavaScript-frontend. It seems that this also can cause some issues in the PHP backend then. I think I know a way to fix this. I will push a minor release later this week. Please tell me if that fixes the issue!

    You can follow the progress of this bug resolution over at GitHub: https://github.com/MrApplejuice/wp-autologin-links/issues/22

    Plugin Author WPAutoLogin

    (@wpautologin)

    Hey @jasonyoungmagfast

    I just released version 1.11.3 which should finally fix the issue you are described by limiting the number of database operations on big websites. Feel free to check if it worked!

    Regards,
    Paul K.

    Plugin Author WPAutoLogin

    (@wpautologin)

    I will assume that this is fixed. I explicitly tested this issue so if there are any more issues, feel free to reach out again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin consumed all memory and crash the server’ is closed to new replies.