WordPress.org

Ready to get started?Download WordPress

Forums

[plugin email users] Email users causes mysql hang (3 posts)

  1. jugoretz
    Member
    Posted 2 years ago #

    I'm not sure if this is specific in some way to our install, but I thought I'd share because it caused me so much pain before we fixed the problem.

    We've been using the plugin "Email Users" on many of the sites in our fairly large network for a couple of years. It's always worked very well, even though it's officially not tested on a multisite install. It's been a great plugin, very useful for us.

    Then sometime a couple of weeks ago, probably about the time we passed the 2000-user mark as the new semester began, we started having mysql failures several times a day. Intermittently, at odd times, mysql CPU usage would jump way up--as far as 205%, so it would stop responding until restarted from the command line.

    I tried a lot of different troubleshooting steps, looked at the mysql slow queries log, and found that most of those times the cause was a query to the wp-usermeta table. But other times queries to that same table were going through quickly with no problem. But I could not figure out (my skills are not strong enough) anything beyond that.

    Finally on Wednesday we had someone notice that every time she tried to email all students in her class using the Email Users plugin, that triggered the problem (we only noticed because she tried the email, mysql hung, I restarted mysql, she tried again, and it hung again.)

    I deleted that plugin, nobody is using it anymore, and the problem is completely solved. No more issues and the site is fast and responsive and stable again.

    Could it be that the plugin has some issue with very large (2k or so) numbers of users? I know it isn't promised to work with multisite anyway.

  2. tosbourn
    Member
    Posted 2 years ago #

    I have noticed the exact same behaviour on a single site with around 5000 members.

    So I am not sure this is an issue limited to multisite installs.

  3. amandafrench
    Member
    Posted 2 years ago #

    Just to say that Email Users began giving us this trouble too on a multisite install with about 2500 users.

Topic Closed

This topic has been closed to new replies.

About this Topic