So, my website has been running fine for months even with s2Member running. However, for the past couple of days I have noticed my site going extremely slow, and then I eventually got a 524 error. I contacted my host and they said they noticed high amounts of requests to the wp-login.php page. Thinking this could be an attack, I put CloudFlare into ‘Under Attack Mode’, I also disabled all plugins, which combined allowed my to get back on my site.
I first put it into maintenance mode and proceeded to activate my plugins one by one. I also use Litespeed Cache so I purged the cache after every plugin activation. Now, everything worked fine and I noticed very little CPU usage, and my website was loading as it should. However, I had intentionally left s2Member until last and after activating it again, the CPU usage jumped to below 5% to over 90%.
Not quite sure what you need to see the problem, but it’s frustrating me. Why over the last 2 days has it started using so much CPU.